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
ENH: Updating a dataframe counting the cells that will be updated. #6891
Comments
It's unclear how this information should be returned to the user. Can you suggest an example of how the usage would work? Offhand, I think the user should just compare the two DataFrames to get that information. The little-used |
I suppose could add an argument like but seems a very narrow use case |
@ccsv Can you give a bit more detail about your use case? |
@jreback @cpcloud @danielballan |
This would add a lot of complexity to the internals for, arguably, little gain. If we were to do this, I'd suggest adding a separate method that takes in two DataFrames and returns a description of the differences between them. It's unlikely that we'd produce anything more memory efficient anyways. |
a cookbook entry would be nice for this |
Counting the cells that were updated when an update is performed to a dataframe.
Currently there are no commands to count the number of cells being updated so you can put it in a log or something when
df.update(df2)
is performed.See:
http://stackoverflow.com/questions/23102757/python-pandas-updating-dataframe-and-counting-the-number-of-cells-updated
The text was updated successfully, but these errors were encountered: