Chapter 4 Exercise
unknown
python
a year ago
206 B
3
Indexable
import pandas as pd df = pd.read_csv('/datasets/music_log.csv') df = df.rename( columns = { ' user_id': 'user_id', 'total play': 'total_play', 'Artist': 'artist' } ) print(df.columns)
Editor is loading...
Leave a Comment