Skip to content

Documentation bug in pandas.api.types.is_scalar #28998

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

Closed
moi90 opened this issue Oct 15, 2019 · 0 comments · Fixed by #29004
Closed

Documentation bug in pandas.api.types.is_scalar #28998

moi90 opened this issue Oct 15, 2019 · 0 comments · Fixed by #29004

Comments

@moi90
Copy link
Contributor

moi90 commented Oct 15, 2019

Example

The first example is:

>>> dt = pd.datetime.datetime(2018, 10, 3)
>>> pd.is_scalar(dt)
True

Problem description

is_scalar is not a member of pd:

AttributeError: module 'pandas' has no attribute 'is_scalar'

Expected

pd.api.types.is_scalar(...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant