Fichier de renommée Python
import os
os.rename('guru99.txt','career.guru99.txt')
Cirex
import os
os.rename('guru99.txt','career.guru99.txt')
import os
os.rename('old_name.txt','new_name.txt')
df = df.rename(columns={"Engine HP": "HP", "Engine Cylinders": "Cylinders", "Transmission Type": "Transmission", "Driven_Wheels": "Drive Mode","highway MPG": "MPG-H", "city mpg": "MPG-C", "MSRP": "Price" })
df.head(5)