While playing around with pandas I started wondering about the output.
> df = pd.DataFrame({'col_1':[1,2,3], 'col_2':['a','b','c']})
> df.dtypes
col_1 int64
col_2 object
dtype: object
The df.dtypes
call gives three rows.
- The first row shows that
col_1
has an "integer" type. - The second row shows that
col_2
has an "object" type, which is a string. - The third row mentions
dtype: object
... but what is this referring to?