Skip to content

Commit e086214

Browse files
authored
Merge pull request #185 from JPFrancoia/master
Adding a note about collisions for sanitize_dataframe_columns_names.
2 parents 17c3ca6 + 93f9732 commit e086214

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

awswrangler/catalog.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,11 @@ def sanitize_dataframe_columns_names(df: pd.DataFrame) -> pd.DataFrame:
679679
- Remove non alphanumeric characters
680680
- Convert CamelCase to snake_case
681681
682+
Note
683+
----
684+
After transformation, some column names might not be unique anymore.
685+
Example: the columns ["A", "a"] will be sanitized to ["a", "a"]
686+
682687
Parameters
683688
----------
684689
df : pandas.DataFrame

0 commit comments

Comments
 (0)