Learn Before
Idea

pd.read_csv & csv

There are two common ways to read the csv files.

pd.read_csv() is convenient since it directly change the file into a dataframe, but it cannot deal with the situaltion that the rows have different columns. In such situation, you can change to use csv and read the file line by line, in order to get the whole content.

0

1

Updated 2021-01-24

Tags

Data Science