We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
is_period_dtype
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
main
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.api.types.is_period_dtype.html#pandas.api.types.is_period_dtype
Suggests the user use isinstance(dtype, pd.Period) instead, when they really need to use Use isinstance(dtype, pd.PeriodDtype)
isinstance(dtype, pd.Period)
Use isinstance(dtype, pd.PeriodDtype)
Update message to reference correct class
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.api.types.is_period_dtype.html#pandas.api.types.is_period_dtype
Documentation problem
Suggests the user use
isinstance(dtype, pd.Period)
instead, when they really need to useUse isinstance(dtype, pd.PeriodDtype)
Suggested fix for documentation
Update message to reference correct class
The text was updated successfully, but these errors were encountered: