You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandas have several index types, e.g., pandas.Int64Index, pandas DatetimeIndex, pandas.CategoricalIndex.
in a schema definition one should be able to use pandas index types as "index markers" and not need to wrap the in pandabear.Index type.
# current behaviour if this types where supportedclassMySchema(DataframeModel):
date: Index[pd.DatetimeIndex]
...
# nicer:classMySchema(DataframeModel):
date: pd.DatetimeIndex
...
The text was updated successfully, but these errors were encountered:
Pandas have several index types, e.g.,
pandas.Int64Index
,pandas DatetimeIndex
,pandas.CategoricalIndex
.in a schema definition one should be able to use pandas index types as "index markers" and not need to wrap the in
pandabear.Index
type.The text was updated successfully, but these errors were encountered: