You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mangle_dupe_cols - default is True
So ideally it should have handled duplicate columns, but in case if the columns are case sensitive it fails as below.
AnalysisException: Reference 'Sheet.col' is ambiguous, could be: Sheet.col, Sheet.col.
Either the docs for read_excel/mangle_dupe_cols has to be updated about this or it has to be handled.
The text was updated successfully, but these errors were encountered:
saikrishnapujari102087
changed the title
read_excel has one parameter - mangle_dupe_cols to handle duplicate columns but fails if the duplicate columns are case sensitive.
read_excel's parameter - mangle_dupe_cols is used to handle duplicate columns but fails if the duplicate columns are case sensitive.
Jan 17, 2022
mangle_dupe_cols - default is True
So ideally it should have handled duplicate columns, but in case if the columns are case sensitive it fails as below.
AnalysisException: Reference '
Sheet.col
' is ambiguous, could be: Sheet.col, Sheet.col.Where two columns are Col and cOL
In the best practices, there is a mention of not to use case sensitive columns - https://koalas.readthedocs.io/en/latest/user_guide/best_practices.html#do-not-use-duplicated-column-names
Either the docs for read_excel/mangle_dupe_cols has to be updated about this or it has to be handled.
The text was updated successfully, but these errors were encountered: