{"id":15976243,"url":"https://github.com/lc0/notes","last_synced_at":"2026-01-18T08:31:43.080Z","repository":{"id":142090630,"uuid":"299910066","full_name":"lc0/notes","owner":"lc0","description":"Resources that I looked up more than twice","archived":false,"fork":false,"pushed_at":"2024-02-25T11:25:00.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T17:15:09.097Z","etag":null,"topics":["data-science","docs","notes"],"latest_commit_sha":null,"homepage":"","language":null,"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/lc0.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":"2020-09-30T12:22:35.000Z","updated_at":"2024-02-25T11:25:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e55a99ba-2b97-422e-afbf-fa7f77b53ddb","html_url":"https://github.com/lc0/notes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lc0/notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc0%2Fnotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc0%2Fnotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc0%2Fnotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc0%2Fnotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lc0","download_url":"https://codeload.github.com/lc0/notes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lc0%2Fnotes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["data-science","docs","notes"],"created_at":"2024-10-07T22:22:45.928Z","updated_at":"2026-01-18T08:31:43.058Z","avatar_url":"https://github.com/lc0.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes\n\nResources that I looked up more than twice: for myself or to show other people\n\n### [C++ shell](https://cpp.sh/): Running different version C++ in your browser\n- from C++98 to C++23 - build and run in your browser\n  \n### [Altair](https://altair-viz.github.io/): Declarative interactive Visualization in Python based on Vega\n- if data extracted from ex BQ, altair could have hard time plotting it\n    * ex: `TypeError: Object of type 'date' is not JSON serializable`\n    * could be fixed by explicitly converting `df['date'] = pd.to_datetime(df['date'])`\n- filtering before plotting\n    * single value: `.transform_filter(alt.datum.target == 'single-filter')`\n    * multiple values: `.transform_filter({'field': 'target', 'oneOf': ['foo', 'bar']})`\n- in order to convert value to %\n    * `axis=alt.Axis(format='%')`\n    * `alt.Tooltip('share:Q', format='.2%')`\n\n### Google Colab and BigQuery\n- Colab's [data table](https://colab.research.google.com/notebooks/data_table.ipynb) allows to filter and search through pandas dataframe\n    * `%load_ext google.colab.data_table`\n- BigQuery allows to pass params through `%%bigquery --project project df_name --params $PARAMS `\n    * we can also pass a list to filter as `IN` statement; since it's an array we need to `UNNEST(@array_ids)`\n\n### Probability and stats\n- [An Intuitive and visual explanation of Bayes theorem by 3Blue1Brown](https://www.youtube.com/watch?v=HZGCoVF3YvM)\n\n## Misc\n- [Hand-drawn look for colaborative drawing](https://excalidraw.com)\n- [A tool for aligning times across timezones](https://www.worldtimebuddy.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flc0%2Fnotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flc0%2Fnotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flc0%2Fnotes/lists"}