{"id":17000010,"url":"https://github.com/ludvigolsen/utipy","last_synced_at":"2025-03-22T15:31:12.485Z","repository":{"id":47875542,"uuid":"86618270","full_name":"LudvigOlsen/utipy","owner":"LudvigOlsen","description":"Python utilities, e.g. for pandas","archived":false,"fork":false,"pushed_at":"2024-04-25T19:48:30.000Z","size":244,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T20:04:00.661Z","etag":null,"topics":["cross-validation","machine-learning","pandas","partition","polynomials","python","utilities"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LudvigOlsen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2017-03-29T18:52:52.000Z","updated_at":"2024-04-26T20:04:00.662Z","dependencies_parsed_at":"2024-10-14T04:10:56.931Z","dependency_job_id":"92082425-65c6-4c21-b56f-d527c59fba7b","html_url":"https://github.com/LudvigOlsen/utipy","commit_stats":{"total_commits":159,"total_committers":2,"mean_commits":79.5,"dds":0.4025157232704403,"last_synced_commit":"627912bb9ae247db2df232a4b5c9ca464167ff2e"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LudvigOlsen%2Futipy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LudvigOlsen%2Futipy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LudvigOlsen%2Futipy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LudvigOlsen%2Futipy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LudvigOlsen","download_url":"https://codeload.github.com/LudvigOlsen/utipy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244978587,"owners_count":20541880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cross-validation","machine-learning","pandas","partition","polynomials","python","utilities"],"created_at":"2024-10-14T04:10:48.002Z","updated_at":"2025-03-22T15:31:11.968Z","avatar_url":"https://github.com/LudvigOlsen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"utipy\n--------\n\nUtility functions for python.\n\nAlpha stage. Subject to change. \n\n\u003e https://pypi.python.org/pypi/utipy/     \n\n\nInstall from PyPI:\n\n```shell\npip install utipy\n```\n\nInstall from GitHub:\n\n```shell\npython -m pip install git+https://github.com/ludvigolsen/utipy\n```\n\nUpdate this package but not dependencies:\n\n```shell\npython -m pip install --force-reinstall --no-deps git+https://github.com/ludvigolsen/utipy\n```\n\n\n### Pandas operations\n\n| Function                | Description |\n|:------------------------|:------------|\n| `makes_up()`            | Is a Series made up of a specific value (more than / less than / equal to a threshold) ? |\n| `drop()`                | Drop rows / columns of dataframe based on the percentile appearance of a specified value |\n| `polynomializer()`      | Add polynomials to numeric columns, i.e. v1, v1^2, v1^3, ... |\n| `resemble()`            | Generate a Series resembling another Series |\n| `move_column_inplace()` | Move a column to a specified index |\n\n### Data grouping\n\n| Function      | Description |\n|:--------------|:------------|\n| `group()`     | Create grouping factors with different methods |\n| `partition()` | Create balanced partitions for train/test      |\n| `fold()`      | Create balanced folds for cross-validation     |\n\n### Array operations\n\n| Function             | Description |\n|:---------------------|:------------|\n| `blend()`            | Blend two arrays of same length  |\n| `windowed_reverse()` | Reverse array within windows     |\n| `window()`           | Split array into rolling windows |\n| `nan_stats()`, `print_nan_stats()` | Get NaN statistics |\n\n### Time operations\n\n| Class        | Description |\n|:-------------|:------------|\n| `StepTimer`  | Time a step of code in a `with` context |\n| `Timestamps` | Record and keep track of timepoints     |\n\n### Path operations\n\n| Class/Function   | Description |\n|:-----------------|:------------|\n| `IOPaths`        | Keep track of in-/out paths with checks, directory creation, and a print summary |\n| `mk_dir()`       | Create directory if it doesn't exist, with messaging of the created path         |\n| `rm_dir()`       | Remove directory if it exists, with messaging of the deleted path                | \n\n### String operations\n\n| Function      | Description |\n|:--------------|:------------|\n| `letter_strings()` | Generate n letter strings (aa, ab, ac, ...) |\n\n### Other utilities\n\n| Class/Function      | Description |\n|:--------------------|:------------|\n| `Messenger`         | Simplify messaging (print/log) with verbosity and indentation  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludvigolsen%2Futipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fludvigolsen%2Futipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludvigolsen%2Futipy/lists"}