drop column 1

drop column

result.drop(['web-scraper-start-url', 'jfy', 'jfy-href'], axis=1, inplace=True)

Here is what the above code is Doing:
1. We’re using the pandas read_html function to read the table from the URL.
2. We’re using the pandas concat function to concatenate the tables into one dataframe.
3. We’re using the pandas drop function to drop the columns we don’t need.

Similar Posts