-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: boxplot does not work when data has datetime column #27846
BUG: boxplot does not work when data has datetime column #27846
Conversation
pandas/plotting/_matplotlib/core.py
Outdated
# GH22799, exclude datatime type for boxplot | ||
include_type = [np.number, "datetime", "datetimetz", "timedelta"] | ||
if self._kind == "box": | ||
include_type.remove("datetime") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does datetimetz work? Or does it need to be excluded here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh, yeah, should exclude datetime-like
... thanks for pointing out! @TomAugspurger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comment on the release not. LGTM otherwise.
Thanks @charlesdong1991! |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff