We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Discovered while debugging the try/excepts in groupby:
cat = pd.Categorical(['a', 'b', 'c', 'b'], ordered=False) ser = pd.Series(cat) df = ser.to_frame() >>> np.min(cat) # <-- correctly raises >>> np.min(ser) # <-- correctly raises >>> np.min(df) # <-- incorrectly returns Series(['a'])