DataFrame.dtypes doesn’t work after astype() in pandas [duplicate]
This question already has answers here: How to change datatype of multiple columns in pandas (3 answers) Closed yesterday. I’ve transformed OrderDate column from its existing object data type into a ‘datetime64[ns]’ with astype method. But after dtypes() I saw it didn’t work. Why? Thanks. `df_raw.OrderDate.astype(‘datetime64[ns]’), `astype done df_raw.dtypes dtypes not changed python pandas methods […]