obs1 is the source dataframe “astype” actually copies the dataframe with type data and column data new_data = obs1.astype(obs1.dtypes.to_dict()) new_data = new_date[0:1,:]

Howto's, Observations, and stuff
obs1 is the source dataframe “astype” actually copies the dataframe with type data and column data new_data = obs1.astype(obs1.dtypes.to_dict()) new_data = new_date[0:1,:]