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

CLN: move update to BlockManager method (and just call from frame) #3025

Closed
jreback opened this issue Mar 12, 2013 · 6 comments
Closed

CLN: move update to BlockManager method (and just call from frame) #3025

jreback opened this issue Mar 12, 2013 · 6 comments
Labels
Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code

Comments

@jreback
Copy link
Contributor

jreback commented Mar 12, 2013

promotes consistency, see #3021, #3016, #9065

@jbrockmendel
Copy link
Member

Can this be closed as Sufficiently Stale? If not, -1 on moving anything in to internals.

@jbrockmendel
Copy link
Member

@jreback closeable?

@jreback
Copy link
Contributor Author

jreback commented Oct 25, 2018

no .update should be moved to internals l for sure
it’s pretty much the only method outside

@TrigonaMinima
Copy link

@jreback could you guide me here. If I understand this correctly, the required changes are in pandas/core/frame.py and pandas/core/internals/manager.py. Will there be any other files where the modification will be required? I guess test files too.

@jbrockmendel
Copy link
Member

The presence of filter_func in DataFrame.update means we have to operate column-wise instead of block-wise when it is present. We could also have a blockwise implementation as a Manager method, but i dont think its worth the duplication.

The Series.update signature doesn't match DataFrame.update. Would be nice to get those aligned.

@mroeschke mroeschke removed this from the Someday milestone Oct 13, 2022
@jbrockmendel
Copy link
Member

Closing as infeasible for reasons described above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code
Projects
None yet
Development

No branches or pull requests

5 participants