Closed jianyangli closed 2 years ago
Hello @jianyangli! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
I also improved _translate_columns
and __contains__
. The change and rationale are in the commit comments. Please let me know if those make sense or perhaps overengineered. Thanks.
This fix allows
DataClass.__setitem__
to set an existing column with an alternative name, rather than adding a new column.