8000 CLN: move maybe_casted_values from pandas/core/frame.py to pandas/core/dtype/cast.py by arw2019 · Pull Request #36985 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

CLN: move maybe_casted_values from pandas/core/frame.py to pandas/core/dtype/cast.py #36985

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

Merged
merged 9 commits into from
Oct 10, 2020
Prev Previous commit
Next Next commit
feedback: fix docstring formatting
  • Loading branch information
arw2019 committed Oct 10, 2020
commit fc28afa01148783b89afa6ac1795760a89488f63
2 changes: 2 additions & 0 deletions pandas/core/dtypes/cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,12 @@ def changeit():
def maybe_casted_values(index, codes=None):
"""
Convert an index, given directly or as a pair (level, code), to a 1D array.

Parameters
----------
index : Index
codes : sequence of integers (optional)

Returns
-------
ExtensionArray or ndarray
Expand Down
0