ENH: Add a unit conversion method for Pandas Series #41641
Labels
Duplicate Report
Duplicate issue or pull request
Enhancement
Needs Triage
Issue that has not been reviewed by a pandas team member
I wish I could use pandas to do unit conversion between miles/kilometres, inches/centimetres, feet/metres, etc, in a single line of code. I was thinking of something that someone could use like this:
I think this feature could potentially ease the lives of people who have to do a lot of data munging with
pandas
. I don't know if this already exists (pandas
is so vast!) but after having searched on Google and having found nothing, I decided to open an issue. I am aware that you can do this with simple arithmetic operations, but perhaps it'd be nice to have a built-in method that saves you the looking up in conversion tables. Thank you!The text was updated successfully, but these errors were encountered: