I am attempting to change column names with the following code:
import pandas as pd
jeopardy = pd.read_csv('/Users/adamshaw/Desktop/Coding/jeopardy_starting/jeopardy.csv')
jeopardy = jeopardy.rename(columns={' Air Date': 'Air_Date',
                                    ' Round': 'Round'}, inplace=True)
print(jeopardy)
I am getting the following output:
>>> None
How do I properly rename the columns?
these are the columns
Show Number    int64 
 Air Date      object
 Round         object
 Category      object
 Value         object
 Question      object
 Answer        object
 
     
    