Releases: pyjanitor-devs/pyjanitor
v0.32.23
Version v0.32.23
This release includes dependency updates to improve stability and maintain compatibility with upstream projects. No new features or breaking changes have been introduced.
New Features
No new features in this release.
Bug Fixes
No bug fixes in this release.
Deprecations
No deprecations in this release.
Dependency Updates
- Updated prefix-dev/setup-pixi GitHub Action from v0.9.4 to v0.9.5 to ensure the latest improvements and fixes are included in CI workflows. (5cda02, dependabot[bot])
- Upgraded pygments from 2.15.0 to 2.20.0 in development requirements for improved syntax highlighting and bug fixes. (567945, dependabot[bot])
v0.32.22
Version v0.32.22
This release includes an update to the code coverage reporting workflow, ensuring compatibility with the latest version of the Codecov GitHub Action.
New Features
No new features were added in this release.
Bug Fixes
No bug fixes were included in this release.
Deprecations
No deprecations were introduced in this release.
Other Changes
- Updated the Codecov GitHub Action from version 5 to 6 to improve CI reliability and maintain up-to-date coverage reporting. (406076) (dependabot[bot])
v0.32.21
Version v0.32.21
This release focuses on performance improvements and code refactoring for the pivot_longer function, enhancing its efficiency and maintainability when working with pandas DataFrames.
New Features
- Improved performance and refactored the
pivot_longerfunction for pandas, including more efficient data checks and use of indexing instead of concatenation. (003f24) (Samuel Oranyeli)
Bug Fixes
- Fixed issues in
pivot_longerby removing unnecessary rows and updating code based on code review feedback. (003f24) (Samuel Oranyeli)
Deprecations
- No deprecations in this release.
v0.32.20
Version v0.32.20
This release introduces improvements to the handling of groupby operations, including the migration of by methods to groupby objects and the addition of deprecation warnings for outdated functions. Documentation examples have also been updated to reflect these changes.
New Features
- Moved
bymethods to groupby objects, streamlining groupby operations and improving API consistency. Updated documentation examples accordingly. (01aabb) (Samuel Oranyeli, co-authored by Eric Ma)
Bug Fixes
No bug fixes in this release.
Deprecations
- Added warnings for deprecated functions related to groupby operations, guiding users towards the updated API. (01aabb) (Samuel Oranyeli, co-authored by Eric Ma)
v0.32.19
Version v0.32.19
This release introduces enhanced DataFrame manipulation capabilities, focusing on improved column referencing for more flexible and expressive data operations.
New Features
- Added support for using
pd.colto reference columns in DataFrame operations where possible, enabling more concise and readable code. (1042bb) (Samuel Oranyeli)
Bug Fixes
No bug fixes in this release.
Deprecations
No deprecations in this release.
v0.32.18
Version v0.32.18
This release introduces a new method to enhance the functionality of groupby objects, making it easier to assign new columns within grouped data operations.
New Features
- Added an assign method to the groupby object, allowing users to add or modify columns within each group in a more convenient and expressive way. (229595) (Samuel Oranyeli)
Bug Fixes
No bug fixes in this release.
Deprecations
No deprecations in this release.
v0.32.17
Version v0.32.17
This release introduces important updates regarding the usage of the mutate function, including new warning notes and a formal deprecation notice. Users are encouraged to review the warnings and plan for migration away from deprecated features.
New Features
- Added warning notes to inform users about upcoming changes and deprecated functionality. (c979aa) (samukweku)
- Added additional warning notes for improved user guidance. (96a856) (samukweku)
- Added further warning notes to enhance documentation and user awareness. (6bee23) (samukweku)
- Included more warning notes to ensure users are adequately informed. (57e48c) (samukweku)
Bug Fixes
None in this release.
Deprecations
- Deprecated the mutate function; users are advised to transition to alternative approaches. (303f08) (samukweku)
v0.32.16
Version v0.32.16
This release introduces a robust new data scaling function based on the Median Absolute Deviation (MAD), enhancing the library's ability to handle outliers in data preprocessing. Additional documentation and test coverage improvements have also been made.
New Features
- Added a robust MAD-based scaler function, scale_mad, for outlier-resistant data normalization, along with comprehensive tests. (368a24) (ShachiMistry)
- Introduced the scale_mad function with detailed documentation and test cases. (e81b7a) (Cursor Agent, co-authored by Eric Ma)
Bug Fixes
- Updated the expected output in scale_mad doctests to match pandas display formatting. (82874f) (Eric Ma)
Deprecations
- No deprecations in this release.
v0.32.15
Version v0.32.15
This release introduces new utilities for comparing DataFrame columns, along with significant performance improvements and enhanced test stability. Several bug fixes improve the robustness of DataFrame operations, especially around type handling in row binding.
New Features
- Added utilities for comparing columns across multiple DataFrames, making it easier to identify differences and similarities in DataFrame structures. (458671) (Cursor Agent)
Bug Fixes
- Fixed the usage of the return_ parameter in compare_df_cols to ensure correct return values. (a18dd3) (Cursor Agent)
- Adjusted test expectations for compare_df_cols to align with updated behavior. (e97c4a) (Cursor Agent)
- Relaxed and fixed dtype checks in rbind tests to allow for expected type variance and prevent false negatives. (6f1196, b1c168, 14b02b) (Cursor Agent)
- Improved assertion of rbind mismatch values for more direct and reliable test outcomes. (faeba4) (Cursor Agent)
- Made compare_df_cols doctests stable to ensure consistent test results across environments. (0ca8d1) (Cursor Agent)
Performance Improvements
- Optimized compare_df_cols by replacing repeated DataFrame merges with a single concat operation, significantly reducing memory allocations and improving performance when comparing many DataFrames. (766e54) (Eric Ma)
Deprecations
- No deprecations in this release.
v0.32.14
Version v0.32.14
This release focuses on maintenance and improvements to the release process, ensuring smoother version management and cleanup of obsolete files. No new user-facing features were introduced in this version.
New Features
No new features were added in this release.
Bug Fixes
- Fixed the CI release step to correctly parse the new version number by using the
uv version --bump --dry-run --shortcommand, preventing invalid file paths during release automation. (f2d366) (Eric Ma)
Deprecations
- Removed obsolete version marker files for previous releases (0.32.10, 0.32.11, 0.32.12, and 0.32.13) as they are no longer needed for internal version tracking. (200028) (Eric Ma)