Pandas `groupby.aggregate` On `df.index.duplicated()`
Scenario. Assume a pd.DataFrame, loaded from an external source where one row is a line from a sensor. The index is a DateTimeIndex with some rows having df.index.duplicated()==T
Solution 1:
Check with describe
df.groupby(level=0).describe()
Post a Comment for "Pandas `groupby.aggregate` On `df.index.duplicated()`"