When deleting a column in a DataFrame I use:
del df[\'column_name\']
And this works great. Why can\'t I use the following?
The dot syntax works in JavaScript, but not in Python.
del df['column_name']
del df.column_name