write specific columns to csv pandas

Solutions on MaxInterview for write specific columns to csv pandas by the best coders in the world

showing results for - "write specific columns to csv pandas"
Amy
12 Oct 2016
1df[['col1', 'col3']].to_csv('some_file.csv')
2