The Python Oracle

Drop columns whose name contains a specific string from pandas DataFrame

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: Cool Puzzler LoFi

--

Chapters
00:00 Question
00:36 Accepted answer (Score 116)
00:59 Answer 2 (Score 302)
01:13 Answer 3 (Score 110)
02:07 Answer 4 (Score 35)
02:21 Thank you

--

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

Answer 2 links:
[str.startswith]: https://pandas.pydata.org/pandas-docs/st...

--

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

--

Tags
#python #pandas #dataframe

#avk47