12311k

Untitled

Feb 16th, 2020
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import pandas as pd
  2. df = pd.read_csv('music_log.csv')
  3.  
  4. new_names = ['user_id','total_play_seconds','artist_name','genre_name','track_name']
  5. df.set_axis(new_names, axis = 'columns', inplace = True)
Add Comment
Please, Sign In to add comment