Open trueToastedCode opened 1 year ago
This would be the Python equivalent
import pandas as pd df.Datetime = pd.to_datetime(df.Datetime, format='%Y-%m-%d %H:%M:%S') df.set_index('Datetime', inplace=True)
btw i also have another DataFrame I need to join based the index of Datetime....
another_df = pd.to_datetime(another_df.Datetime, format='%Y-%m-%d %H:%M:%S') another_df.set_index('Datetime', inplace=True) df = df.join(another_df)
This would be the Python equivalent
btw i also have another DataFrame I need to join based the index of Datetime....