-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ValueError on groupby boxplot #6263
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
Labels
Comments
Tried to repro this with In [1]: df = DataFrame({'velocity': normal(88, 0.5, size=10),
'date': [pd.Timestamp('20070804')] * 5 + [pd.Timestamp('2008-08-09')] * 5})
In [2]: df
Out[2]:
date velocity
0 2007-08-04 87.622146
1 2007-08-04 87.817566
2 2007-08-04 87.878030
3 2007-08-04 87.823837
4 2007-08-04 88.603917
5 2008-08-09 88.038840
6 2008-08-09 88.591845
7 2008-08-09 87.881469
8 2008-08-09 87.510463
9 2008-08-09 87.527890
[10 rows x 2 columns] but that works. Can you post |
Here is
FWIW, the boxplot worked using Seaborn: |
Okay I'll try out an Env with those versions and see if I can reproduce. |
maybe a matplotlib 1.4 change? |
this was fixed by #6659 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I have a pretty simple data frame of two columns, containing dates and velocities
Yet, when I try to make a box plot of velocities grouped by date, I get a ValueError:
I've confirmed that
velocity
are floats anddate
are np.datetime64.The text was updated successfully, but these errors were encountered: