RajEev Kr
0
Q:

read csv uisng pandas

import pandas as pd

df = pd.read_csv (r'Path where the CSV file is stored\File name.csv')
print (df)
5
import pandas as pd #import pandas
#syntax: pd.read_csv('file_location/file_name.csv')
data = pd.read_csv('filelocation/fileName.csv') #reading data from csv 
4
pd.read_csv('data.csv')  # doctest: +SKIP
5
you should be in the same dir as .py file 

df = pd.read_csv('your_file_name.csv')
1

New to Communities?

Join the community