Skip to content
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: ArrayManager changes Series.to_frame() from view to copy #42512

Closed
jbrockmendel opened this issue Jul 12, 2021 · 1 comment
Closed

BUG: ArrayManager changes Series.to_frame() from view to copy #42512

jbrockmendel opened this issue Jul 12, 2021 · 1 comment

Comments

@jbrockmendel
Copy link
Member

ser = pd.Series(range(5))
df = ser.to_frame()

ser._mgr.arrays[0][0] = 10

>>> df.iloc[0, 0]
0   # <-- ArrayManager
10  # <-- BlockManager

cc @jorisvandenbossche

@jbrockmendel jbrockmendel added Bug Needs Triage Issue that has not been reviewed by a pandas team member Copy / view semantics and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Jul 12, 2021
@rhshadrach
Copy link
Member

The ArrayManager is now deprecated. Closing.

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

No branches or pull requests

2 participants