Describe the bug
In the context of CSV file, any capitalised column headers need to be wrapped with double quotation, but when it comes to .drop(col_name), the double quotation is not needed all of a sudden.
To Reproduce
df.drop('"ID_For_Students"') -> This should work but it didn't
df.drop('ID_For_Students') -> This worked instead
Expected behavior
df.drop('"ID_For_Students"') -> This should be the correct & standardised syntax for CSV file column headers with capitalisation.
Additional context
N/A
Describe the bug
In the context of CSV file, any capitalised column headers need to be wrapped with double quotation, but when it comes to
.drop(col_name), the double quotation is not needed all of a sudden.To Reproduce
df.drop('"ID_For_Students"')-> This should work but it didn'tdf.drop('ID_For_Students')-> This worked insteadExpected behavior
df.drop('"ID_For_Students"')-> This should be the correct & standardised syntax for CSV file column headers with capitalisation.Additional context
N/A