Skip to content

ENH: handling units. #39713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lohraspco opened this issue Feb 10, 2021 · 1 comment
Closed

ENH: handling units. #39713

lohraspco opened this issue Feb 10, 2021 · 1 comment
Labels
Duplicate Report Duplicate issue or pull request

Comments

@lohraspco
Copy link

Is your feature request related to a problem?

I wish we could manage units of measurements in pandas.

Describe the solution you'd like

For example a temperature column may have the unit of Fahrenheit, if we need to convert the units to Centigrade it will be nice to convert it without creating the convertor functions. Here are some ideas:
Series.unit returns the current unit of measurement (e.g., Fahrenheit).
Series.to_unit() returns a series with the unit in parameter (e.g., Series.to_unit('Fahrenheit')).

More complex units can be electricity consumption and electricity demand.

@lohraspco lohraspco added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Feb 10, 2021
@mroeschke
Copy link
Member

Thanks for the report. We are tracking this issue in #10349 so going to close this is favor of that.

@mroeschke mroeschke added Duplicate Report Duplicate issue or pull request and removed Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Report Duplicate issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants