Skip to content

feat: stabilize Cell class#984

Merged
lars-reimann merged 23 commits intomainfrom
finalize-cells
Jan 15, 2025
Merged

feat: stabilize Cell class#984
lars-reimann merged 23 commits intomainfrom
finalize-cells

Conversation

@lars-reimann
Copy link
Member

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

Closes partially #977

Summary of Changes

  • Add method Cell.constant to create a cell with a constant value from a Python literal
  • Add method Cell.date to create a cell with a date
  • Add method Cell.time to create a cell with a time
  • Add method Cell.datetime to create a cell with a datetime
  • Add method Cell.duration to create a cell with a duration
  • Add method Cell.cast to cast a cell to another type
  • Improve type hints for cell operations

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 60 0 0 1.63s
✅ PYTHON mypy 60 0 3.63s
✅ PYTHON ruff 60 0 0 0.29s
✅ 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 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.16%. Comparing base (dc4640b) to head (a70c635).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #984      +/-   ##
==========================================
+ Coverage   95.09%   95.16%   +0.07%     
==========================================
  Files         125      127       +2     
  Lines        7719     7790      +71     
==========================================
+ Hits         7340     7413      +73     
+ Misses        379      377       -2     

☔ 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 96be911 into main Jan 15, 2025
9 checks passed
@lars-reimann lars-reimann deleted the finalize-cells branch January 15, 2025 17:14
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