ALTER TABLE table_name
DROP COLUMN column_name
ALTER TABLE "table_name" DROP COLUMN "column_name";
ALTER TABLE my_schema.my_table DROP COLUMN my_column;
ALTER TABLE <TableName>
DROP COLUMN <ColumnName>;
ALTER TABLE table_name
DROP COLUMN column_name;
Code language: SQL (Structured Query Language) (sql)
Deletes a column from a table.
Example: Removes the first_name column from the users table.
ALTER TABLE users
DROP COLUMN first_name
result.drop(['web-scraper-start-url', 'jfy', 'jfy-href'], axis=1, inplace=True)