astropy-tutorials icon indicating copy to clipboard operation
astropy-tutorials copied to clipboard

Integrate pandas tutorials

Open janerigby opened this issue 7 years ago • 3 comments
trafficstars

@kelle asked me to post an issue, that I've been trying to figure out how to better integrate my "astronomy with pandas" tutorials(https://github.com/janerigby/astro-pandas-tutorials) into the astropy tutorials.

The "Why Pandas" tutorial especially might make sense for integration into the astropy tutorials.

There's a new draft tutorial , https://github.com/janerigby/astro-pandas-tutorials/blob/master/Tables%20-%20Pandas%20and%20Astropy.ipynb , which eventually could show the relative strengths of astropy.tables and pandas for different applications. At present, it shows the places where astropy tables and pandas don't play well together. I'm working on the first issue: astropy.tables.to_pandas() throws an error when trying to convert a multi-dimensional table to pandas, instead of better behavior which would be to drop the offending columns, or expand them into multiple columns. The second issue is about big or little-endian, and I have no idea how to deal with it.

janerigby avatar Sep 27 '18 16:09 janerigby

Draft colab tutorial (started by Vicky Scowcroft) is here: https://colab.research.google.com/drive/1nYBq3XDGbKj0zW8hlaMubzY16hFx3DHy

kelle avatar Oct 02 '18 15:10 kelle

relevant material: http://www.astrowing.eu/data-science/astropy-tables-vs-pandas-dataframes

kelle avatar Dec 03 '18 20:12 kelle

Looping @taldcroft into this issue. Tom, maybe the link I posted above is the one you also found?

kelle avatar Dec 09 '19 18:12 kelle