df = pd.read_csv('data.csv')
import pandas as pd
cereal_df = pd.read_csv("/tmp/tmp07wuam09/data/cereal.csv")
cereal_df2 = pd.read_csv("data/cereal.csv")
# Are they the same?
print(pd.DataFrame.equals(cereal_df, cereal_df2))
import pandas as pd
df = pd.read_csv('../examples/example_wp_log_peyton_manning.csv')
df.head()
pd.read_csv('file.csv', delimiter=' ')
import pandas as pd
# Read file and set row number(s) to use as the column name(s)
df = pd.read_csv('file.csv', header = 0)
# Display DataFrame
print(df)
df = pd.read_csv("filename.csv", encoding="some_encoding")
you should be in the same dir as .py file
df = pd.read_csv('your_file_name.csv')
pd.read_csv('data.csv') # doctest: +SKIP
df = pd.read_csv("name.csv")
pandas.read_csv("file.csv")
# Testing adding answer to grepper
df = pd.read_csv(r'your csv file path or directoryfile_name.csv')