How should I build a function from scratch that has the option inplace like the one in pd.rename(inplace=True)?
inplace
pd.rename(inplace=True)
imaging something like this: