{"id":16519773,"url":"https://github.com/zonca/pandas-astro-example","last_synced_at":"2026-05-09T05:02:04.249Z","repository":{"id":138272764,"uuid":"154724819","full_name":"zonca/pandas-astro-example","owner":"zonca","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-27T00:28:08.000Z","size":337,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T22:29:26.406Z","etag":null,"topics":["astrophysics","binder","binder-ready","numpy","pandas"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zonca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-25T19:16:50.000Z","updated_at":"2018-10-28T08:31:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dd73cec-92ef-4b0a-9dbe-4b73b83d485a","html_url":"https://github.com/zonca/pandas-astro-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zonca/pandas-astro-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fpandas-astro-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fpandas-astro-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fpandas-astro-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fpandas-astro-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonca","download_url":"https://codeload.github.com/zonca/pandas-astro-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonca%2Fpandas-astro-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astrophysics","binder","binder-ready","numpy","pandas"],"created_at":"2024-10-11T16:48:15.978Z","updated_at":"2026-05-09T05:02:04.226Z","avatar_url":"https://github.com/zonca.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"Advanced Pandas topics with an example in Astrophysics\n======================================================\n\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/zonca/pandas-astro-example/master?filepath=astro_example.ipynb)\n\n**Click on the `Launch Binder` icon** to execute the Notebook interactively in a session provided by [Binder](https://mybinder.org/).\n\nIn this example we will work with observations of the Cosmic Microwave Background from the [Planck satellite](https://en.wikipedia.org/wiki/Planck_(spacecraft)) using advanced functionalities of `pandas` and `numpy` and we will create plots with `matplotlib`.\n\nIn section 1 we will read a map created by the Planck satellite and we will familiarize with HDF5 format and working with hierarchical indexing in `pandas`. We will also visualize sky maps in `matplotlib` using a curvilinear projection.\n\nIn section 2 we will use `numpy` to create a simulation of how Planck scans the sky thoughout a year of observations and we will plot scanning rings in different reference frames. We will also create a interactive widget with `ipywidgets`.\n\nIn section 3 we will use the scanning coordinates created in section 2 to simulate an observation of the map used in setion 1. We will add white noise and then learn how to use `pandas` groupby with hierarchical index to aggregate the data into a sky map. We will finally compare the simulated noisy map with the original map and study its features.\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png\" /\u003e\u003c/a\u003e\u003cbr /\u003eThis work is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003eCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fpandas-astro-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonca%2Fpandas-astro-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonca%2Fpandas-astro-example/lists"}