The Python Oracle

Drop columns contains certain strings while reading data : python

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization

--

Chapters
00:00 Question
01:25 Accepted answer (Score 5)
01:59 Answer 2 (Score 4)
02:25 Thank you

--

Full question
https://stackoverflow.com/questions/6011...

Question links:
[select columns based on columns names containing a specific string in pandas]: https://stackoverflow.com/questions/4364...
[drop column based on a string condition]: https://stackoverflow.com/questions/3838...
[AttributeError: 'str' object has no attribute 'str']: https://stackoverflow.com/questions/5419...
[Drop multiple columns that end with certain string in Pandas]: https://stackoverflow.com/questions/4906...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #string #pandas #dataframe

#avk47