Files
drift/data_loader/utils.py
T
Mark Aron Szulyovszky 8dd2d88740 chore(Linter): reformatted code with black (#211)
* chore(Linter): reformatted code with black

* Create black.yaml
2022-02-17 19:22:17 +01:00

6 lines
130 B
Python

import pandas as pd
def deduplicate_indexes(df: pd.DataFrame) -> pd.DataFrame:
return df[~df.index.duplicated(keep="last")]