'Counting means from each row
I am using Jupyter notebook to get this data:
df = ascii.read ('http://www.astrouw.edu.pl/cgi-asas/asas_cgi_get_data?110545-5433.5,asas3')
colums 2-6 are magnitudes. I would like to remove min and max of each 5 possibilities in a row and count mean of remaining three magnitudes.
How would I do that? And how can I rename the columns?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
