-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big-endian issue with pandas 2.1.0 #3464
Comments
Fairly easy to reproduce in pure pandas import numpy as np
import pandas as pd
x = np.array([0.5, 0.6, 0.7], dtype=np.dtype('>f4'))
y = np.array([0.5, 0.6, 0.7], dtype=np.dtype('>f4'))
df = pd.DataFrame({"x": x, "y": y})
list(df.groupby("x")) Not sure if this should be expected to work or if seaborn is somehow doing something wrong here but based on this probably should be raised upstream. |
Thanks for looking! This new snippet fails in both versions of pandas while the first one using seaborn only fails for the newest pandas. This is very strange. On pandas side, this looks like a known issue pandas-dev/pandas#53234 |
AFAICT there's no action for seaborn to take here; whether pandas is able to support this is up to them, but if they're not able to support it, I don't think it's seaborn's business to be changing the endinanness of user input data. |
Hello Seaborn devs and thanks for your software!
There is an issue with plotting and pandas 2.1.0 :
Doing this
Returns the following error
Unroll for traceback
While it works perfectly well when reverting to pandas 2.0.0
I tried to have a look in their changelog and there is indeed some changes on dtypes but I'm not sure what the issue might be.
Also, it might be on pandas side?
The text was updated successfully, but these errors were encountered: