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

Add argument to control duplicates in append #57

Merged
merged 2 commits into from
Feb 11, 2022

Conversation

r-stiller
Copy link

@r-stiller r-stiller commented Aug 31, 2021

Adds the remove_duplicates argument to collection.append() to control how duplicates within the old and the new appended data are handled.
Also added some documentation.

It should be discussed if the remove_duplicates="all" option is useful or not.

It should also be discussed if the default value remove_duplicates=None is the correct one.
To be backwards compatible it needs to be set to remove_duplicates='values'.

This only works for pd.Dataframes with single level index yet.

Adds the remove_duplicates argument to the collection.append() function to control how duplicates within the old and the new appended data are handled.
Also added some documentation.
 
It should be discussed if the remove_duplicates="all" option is useful or not.

It should also be discussed if the default value remove_duplicates=None is the correct one.
To be backwards compatible it needs to be set to remove_duplicates='values'.

This only works for pd.Dataframes with single level index yet.
Delete comments from code since their are already in the function description
@ranaroussi ranaroussi merged commit 67c3c27 into ranaroussi:dev Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants