You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If trying to create a series with a multiindex from two series I get a deprecation warning with pandas 2.1.1
DeprecationWarning: Series._data is deprecated and will be removed in a future version. Use public APIs instead.
Since I am not using _data explicitly it must come from inside of pandas. The only place I have found where this could come from is in the is_all_arraylike function where there is a hasattr(val, "_data") in the cython code.
Expected Behavior
I expect no warning and at least in pandas 2.0.3 this was the case.
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered:
lithomas1
added
Blocker
Blocking issue or pull request for an upcoming release
Warnings
Warnings that appear or should be added to pandas
and removed
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Sep 21, 2023
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
If trying to create a series with a multiindex from two series I get a deprecation warning with pandas 2.1.1
Since I am not using
_data
explicitly it must come from inside of pandas. The only place I have found where this could come from is in theis_all_arraylike
function where there is ahasattr(val, "_data")
in the cython code.Expected Behavior
I expect no warning and at least in pandas 2.0.3 this was the case.
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: