I read somewhere that Pandas was first developed for the financial world, at least not especially for natural sciences (physics, biology and so on), so is there any similar data analysis Python package more “natural sciences oriented“?
I have just started using Pandas and I have already encountered two problems I couldn’t solve without using other packages or homemade solution:
- How to manage uncertainties?
- How to define easily the units of my data?
Maybe there are other issues but I lack experience to be more precise. For the moment, I think about the uncertainties package to solve the first point but I am not sure it will work fine with Pandas and will not decrease the computation speed. Actually, I am not looking for a way of computing with uncertainties, just a simple way of storing uncertainties along with my imported data. For the second point, I didn't find a better solution than creating a dictionary apart from my DataFrame to manage the units associated to each data.
If you have ever experienced the same issues, how did you solve it or which other package(s) do you use for data manipulation/storing/analysis in Python in natural sciences?
Tableclass in astropy. $\endgroup$
Table(but I found the units part).
NDDataseems to manage that but I'm unsure about the differences between these classes. If you don't mind turning your comment into an answer with a 2-lines example, I would willingly accept it! $\endgroup$