There is a CSV file with a lot of columns. I want to extract the columns with the text "People Sensible Heating Rate" and export it to a csv file named "People Sensible Heating Rate" using PANDAS. [closed]

asked 2018-07-17 06:07:07 -0500

Siv gravatar image

There is a CSV file with a lot of columns. I want to extract the columns with the text "People Sensible Heating Rate" and export it to a csv file named "People Sensible Heating Rate" using PANDAS.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by Julien Marrec
close date 2018-07-17 08:03:52.923933

Comments

1

I'm closing this question.

Be careful not to fall into a "please do my homework" type of situation, nor to confuse unmet hours with Stack Overflow. Here this is purely a Python/Pandas situation and has nothing to do with energy modeling specifically. There are many similar questions on Stack overflow, such as this one

To answer your question quickly though: you can use df.filter(like='People Sensible Heating Rate').

Julien Marrec gravatar image Julien Marrec  ( 2018-07-17 08:04:34 -0500 )edit

haha okay. Thank you.

Siv gravatar image Siv  ( 2018-07-17 08:55:43 -0500 )edit