babypandas-dev / babypandas

Pandas data-analysis library with a restricted API
MIT License
8 stars 7 forks source link

add a rename method #23

Open rodalbuyeh opened 1 year ago

rodalbuyeh commented 1 year ago

Right now to rename columns we have to do stuff like this... popular_detection = (popular_detection.assign(Count=popular_detection.get('Distance')) .get(['Count'])

Would be easier to have a standard df.rename() method

surajrampure commented 1 year ago

Related: can't use .assign to add a column whose name has a space without using a dictionary.