Return the city column of orders as a category, then its dtype
pandas · from dtypes in pandas
df.dtypesstr vs objectInt64categorydatetime64astypepd.NAPutting the kettle on…
Starting up…
Exercise 3
Return the city column of orders as a category, then its dtype.
your answer
stuck? the lesson behind it
dtypes in pandas
One type per column — plus the nullable and categorical ones pandas had to add.