pandas.cut crashes on all zero input #8309
Labels
Duplicate Report
Duplicate issue or pull request
Error Reporting
Incorrect or improved errors from pandas
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
xref #7751
result:
On the other hand, pandas.cut works on non-unique inputs other than zero. The culprit are the following lines of code in tile.py:
When
mn
andmx
are zero, the adjustment isn't made.The text was updated successfully, but these errors were encountered: