Last updated 2 years ago
Rename columns by passing a renames dict.
renames
column_value_dict
A dict representing each existing column to be renamed and its corresponding new name.
ds = rasgo.get.dataset(dataset_id) ds2 = ds.rename(renames={ 'DS_WEATHER_ICON': 'Weather', 'DS_DAILY_HIGH_TEMP': 'High_Temp', 'DS_DAILY_LOW_TEMP': 'Low_Temp' }) ds2.preview()