I'm struggling on removing the index column from the dataframe.
Usually when I read a csv file, I can set the index = False or index_col = 0, and that removes the index column. But I can't do that when reading html for some reason. Any ideas? I've also tried reset_index(drop=True). I don't want to set any of the columns to an index.
path = 'https://en.wikipedia.org/wiki/List_of_postal_codes_of_Canada:_M'
canada = pd.read_html(path)
cn_table=canada[0]