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
importnumpyasnpimportpandasaspddata=pd.DataFrame({"a":[0,0,0,1,1,2]})
bins=np.r_[-np.inf,[1,2,3,4],np.inf]
categories=pd.cut(data["a"],bins)
# outputs below should be identical - but they are not with pandas 1.5.0display(data.groupby(categories,dropna=True).count())
display(data.groupby(categories,dropna=False).count())
The text was updated successfully, but these errors were encountered:
this is all due to pandas-dev/pandas#48645
and is already fixed in
pandas 1.6.dev
that's where is breaks with pandas
1.5.0
:cooltools/cooltools/api/dotfinder.py
Line 897 in a5341aa
if curious check minimal reproducible example:
The text was updated successfully, but these errors were encountered: