---
title: "Discussion on \"Cleaning data with pandas\" | Hashnode"
description: "Discussion on \"Cleaning data with pandas\". Let’s import our super tool for data cleaning | data wrangling :\nimport pandas as pd\n\nReading a CSV file in pandas:\ndf = pd.read_csv(\"data/sample-data.csv\")\n\n\nThe df.head() method returns the top 5 rows by default and can accept an argument n to disp..."
url: "https://hashnode.com/posts/cleaning-data-with-pandas/67a64ae74853996103a63cea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cleaning data with pandas](https://utkrshtdev.hashnode.dev/cleaning-data-with-pandas?utm_source=hashnode&utm_medium=feed)

Let’s import our super tool for data cleaning | data wrangling : import pandas as pd Reading a CSV file in pandas: df = pd.read\_csv("data/sample-data.csv") The df.head() method returns the top 5 rows by default and can accept an argument n to disp...

Feb 7, 2025 · 1 min read · utkrshtdev.hashnode.dev  
Read the article

-   [#pandas](https://hashnode.com/tag/pandas)
-   [#eda](https://hashnode.com/tag/eda)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Dheeraj Purohit](https://hashnode.com/@purohitdheeraj)

@purohitdheeraj · India

  
[View profile](https://hashnode.com/@purohitdheeraj)

Build, Learn , Share

I am a web developer interested in building awesome frontends.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
