zvt.utils.pd_utils.index_df

zvt.utils.pd_utils.index_df(df, index='timestamp', inplace=True, drop=False, time_field='timestamp')