Astropy: Astropy Units with pandas

Created on 15 Mar 2017  ·  3Comments  ·  Source: astropy/astropy

Is there a method to pass the Units (from astropy import units as u) to a pandas Series or DataFrame?

table units

Most helpful comment

I don't believe that pandas is unit-aware. This is a reason you should be using astropy for your end-to-end analysis. :smile: And @pllim is correct that this would be a pandas feature request.

All 3 comments

AFAIK, pandas is not aware of Astropy units. IMHO this is more of a question for pandas developer. But maybe @taldcroft or @mhvk can correct me if I am wrong.

I don't believe that pandas is unit-aware. This is a reason you should be using astropy for your end-to-end analysis. :smile: And @pllim is correct that this would be a pandas feature request.

OK thanks for the answer

I send a request to the pandas community:
https://github.com/pandas-dev/pandas/issues/15698

could you help me to get some attention to it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

embray picture embray  ·  3Comments

nstarman picture nstarman  ·  3Comments

funbaker picture funbaker  ·  3Comments

Iko-7 picture Iko-7  ·  3Comments

simontorres picture simontorres  ·  3Comments