{"id":27069340,"url":"https://github.com/jonolav95/advent_of_code_2022","last_synced_at":"2026-05-06T22:05:01.348Z","repository":{"id":64635925,"uuid":"573012952","full_name":"JonOlav95/advent_of_code_2022","owner":"JonOlav95","description":"Using Python with Pandas and Numpy (www.adventofcode.com).","archived":false,"fork":false,"pushed_at":"2023-01-03T21:35:34.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T21:34:09.036Z","etag":null,"topics":["numpy","pandas"],"latest_commit_sha":null,"homepage":"","language":"Python","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/JonOlav95.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}},"created_at":"2022-12-01T14:11:51.000Z","updated_at":"2023-01-31T21:27:51.000Z","dependencies_parsed_at":"2023-02-01T10:15:16.418Z","dependency_job_id":null,"html_url":"https://github.com/JonOlav95/advent_of_code_2022","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JonOlav95/advent_of_code_2022","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonOlav95%2Fadvent_of_code_2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonOlav95%2Fadvent_of_code_2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonOlav95%2Fadvent_of_code_2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonOlav95%2Fadvent_of_code_2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonOlav95","download_url":"https://codeload.github.com/JonOlav95/advent_of_code_2022/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonOlav95%2Fadvent_of_code_2022/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["numpy","pandas"],"created_at":"2025-04-05T21:31:19.495Z","updated_at":"2026-05-06T22:05:01.311Z","avatar_url":"https://github.com/JonOlav95.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of code 2022\nUsing Python with Pandas and Numpy.\n\nwww.adventofcode.com\n\n\n\n# Notes \nNotes for improvements/optimization later on.\n\n### Day 1\nInteresting to solve using Pandas. But it is far more readable to iterate through each line without Pythons built in file reader. \n\n### Day 2\nCurrent solution is more or less \"hardcoded\". There is probably a much cleaner solution to be found\nby looking at the numeric relationship between `A, B, C`. \n\n### Day 3\nClean solution utilizing `apply` with Pandas.\n\nThough ``\"\".join(list(set.intersection(*map(set, list(x)))))`` is verbose and has room for simplification.\n\n### Day 4\nReadable and simple with Numpy, but can be vectorized.\n\n### Day 5\nGrotesque code, but there is probably no way around it without editing the input beforehand.\n\n### Day 6\nTry to remove the range loop.\n\n### Day 7\nNo usage of Pandas and Numpy expect for file reading. I'm yet to find a way to utilize either of them when\nworking with Trees and recursion.\n\n### Day 8\nTry to remove the range loop. Vectorization.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonolav95%2Fadvent_of_code_2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonolav95%2Fadvent_of_code_2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonolav95%2Fadvent_of_code_2022/lists"}