Skip to content

feat: improved operations on cells#985

Merged
lars-reimann merged 57 commits intomainfrom
string-cell
Jan 19, 2025
Merged

feat: improved operations on cells#985
lars-reimann merged 57 commits intomainfrom
string-cell

Conversation

@lars-reimann
Copy link
Member

@lars-reimann lars-reimann commented Jan 19, 2025

Closes partially #977

Summary of Changes

  • Operations are now wrapped into the classes
    • DatetimeOperations (formerly TemporalCell)
    • DurationOperations
    • MathOperations
    • StringOperations (formerly StringCell)
  • Stabilize operations on datetime/date/time
  • Stabilize operations on durations

They do are not really containers, just a namespace for computations.
… `TemporalOperations`

They are not subclasses of `Cell`, which might be implied by the name.
@lars-reimann lars-reimann requested a review from a team as a code owner January 19, 2025 15:47
@lars-reimann lars-reimann changed the title feat: improved temporal operations feat: improved operations on cells Jan 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 110 0 0 1.79s
✅ PYTHON mypy 110 0 3.64s
✅ PYTHON ruff 110 0 0 0.3s
✅ REPOSITORY git_diff yes no 0.28s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@codecov
Copy link

codecov bot commented Jan 19, 2025

Codecov Report

Attention: Patch coverage is 97.93814% with 12 lines in your changes missing coverage. Please review.

Project coverage is 95.16%. Comparing base (96be911) to head (9af7503).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
...feds/data/tabular/query/_lazy_string_operations.py 87.32% 9 Missing ⚠️
...ation/_convert_and_check_datetime_format_module.py 94.82% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main     #985    +/-   ##
========================================
  Coverage   95.16%   95.16%            
========================================
  Files         127      135     +8     
  Lines        7790     8047   +257     
========================================
+ Hits         7413     7658   +245     
- Misses        377      389    +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lars-reimann lars-reimann merged commit 7396c94 into main Jan 19, 2025
9 checks passed
@lars-reimann lars-reimann deleted the string-cell branch January 19, 2025 16:58
lars-reimann pushed a commit that referenced this pull request Feb 26, 2025
## [0.30.0](v0.29.0...v0.30.0) (2025-02-26)

### Features

* add more mathematical operations ([#986](#986)) ([2539a20](2539a20)), closes [#977](#977)
* add more string operations ([#993](#993)) ([9bc5673](9bc5673)), closes [#977](#977)
* consistent `selector` parameters ([#983](#983)) ([dc4640b](dc4640b))
* improved operations on cells ([#985](#985)) ([7396c94](7396c94)), closes [#977](#977)
* make `data` parameter of `Table` and `Column` required ([#978](#978)) ([29fdefa](29fdefa))
* stabilize `Cell` class ([#984](#984)) ([96be911](96be911)), closes [#977](#977)
* stabilize `Column` ([#981](#981)) ([38dc89c](38dc89c)), closes [#754](#754) [#977](#977)
* stabilize `Row` class ([#980](#980)) ([ca1ce3d](ca1ce3d)), closes [#977](#977)
* stabilize `Table` class ([#979](#979)) ([db85617](db85617)), closes [#875](#875) [#877](#877) [#977](#977) [#754](#754)
* transform multiple columns of `Table` at once ([#982](#982)) ([2db9069](2db9069))
@lars-reimann
Copy link
Member Author

🎉 This PR is included in version 0.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants