Skip to content

Glossary: ML Beyond the Basics

dtype and parse_dates (pd.read_csv)

Also written: dtype, parse_dates

Arguments to `pd.read_csv`: `dtype` forces a column type (such as text, so zip prefix `096` keeps its zero), and `parse_dates` converts columns into real dates.

Where the book teaches it

Related terms

NaTCategorical (pd.Categorical)