Cleaning data with pandas
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...
utkrshtdev.hashnode.dev1 min read