Skip to content

Conversation

ma-ilsi
Copy link

@ma-ilsi ma-ilsi commented Nov 9, 2024

pd.DataFrame.append is deprecated and raises an AttributeError:

AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

This change proposes accumulating Series in the duplication detection process and initializing a DataFrame() with them at the end of the duplication loop. Alternatively, it seems maintainers can opt to use _append(), however, I prefer this approach.

This change also fixes misspelled parameters in the call to arStrip():

TypeError: arStrip() got an unexpected keyword argument 'smallDiacs'
TypeError: arStrip() got an unexpected keyword argument 'specialChars'

`pd.DataFrame.append` is now deprecated and raises an `AttributeError`, this change proposes accumulating Series in the duplication detection process and initializing a `DataFrame()` with them at the end of the duplication loop.
Also fixes misspelled `arStrip()` parameters; raises `TypeError`.
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.

1 participant