Open caseylam opened 11 months ago
Thanks for letting me know about these issues. I will look into them as soon as I can, but in the meantime, you might want to switch to the Foundations of Astronomical Data Science, a curriculum based on the material in this repo and maintained by The Carpentries:
Thanks for making these tutorials! I am learning how to analyze Gaia data and use ADQL, and the notebooks have been very helpful.
Running the 03_motion.ipynb notebook through colab, when I try to run the line
results_df.describe()
it would return the errorUnitConversionError: '' (dimensionless) and 'deg' (angle) are not convertible
(full stack trace below).This problem was fixed by adding
.value
to theskycoord_gd1
objects when adding them toresults_df
in the preceding lines:It might be that astropy and/or pandas changed something about how they did their units? After making this change, everything seems to run fine.
Full stacktrace from the error described above: