October 2019
Beginner to intermediate
674 pages
16h 43m
English
read_csv is the go-to method for reading CSV files in pandas. It can also be used to read txt files. The syntax of using read_csv is shown in the following code:
pd.read_csv(filepath, sep=', ', dtype=None, header=None, names=None, skiprows=None, index_col=None, skip_blank_lines=TRUE, na_filter=TRUE)
The parameters of the read_csv method are as follows:
Read now
Unlock full access