Column to use as the row labels of the DataFrame. If a sequence is given, a MultiIndex is used. If you have a malformed file with delimiters at the end of each line, you might consider index_col=False to force pandas to _not_ use the first column as the index (row names)
|Read HTML tables into a |
Here is the right code t export text file result.to_csv(r'pandas.txt', index=None, mode='a') . Mode 'a' is for append text file. So now I can remove repetivtie identical files. There is another capabilities of Pandas to match with code similar by text lines.
And the final code to export dataframe free from repetitive identical lines is df2.to_csv('facebook_groups_members.csv', index=None). Keep in mind that I did not spend much time reading Pandas documentation. It is worth to do it, to do it since you can revolutionize marketing or economic researches since you can download html to data frame, or scrap with scrapy spider tabel site and process it with python to data frame. And then you code stats analysis.