Skip to content

refactor: use pandas to store row data#240

Merged
lars-reimann merged 3 commits into
mainfrom
pandas_row
Apr 22, 2023
Merged

refactor: use pandas to store row data#240
lars-reimann merged 3 commits into
mainfrom
pandas_row

Conversation

@lars-reimann
Copy link
Copy Markdown
Member

Summary of Changes

In #214 we changes the implementation of Row so its data was stored in a polars.DataFrame. As explained here, pandas works better for us for now. We might undo this change in the future if the type inference of polars gets improved (or we decide to implement this ourselves).

@lars-reimann lars-reimann requested a review from a team as a code owner April 22, 2023 12:53
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2023

Codecov Report

Merging #240 (9bc8833) into main (2b58c82) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #240   +/-   ##
=======================================
  Coverage   96.74%   96.75%           
=======================================
  Files          44       44           
  Lines        1538     1509   -29     
=======================================
- Hits         1488     1460   -28     
+ Misses         50       49    -1     
Impacted Files Coverage Δ
src/safeds/data/tabular/typing/_column_type.py 100.00% <ø> (ø)
src/safeds/data/tabular/typing/_schema.py 100.00% <ø> (ø)
src/safeds/data/tabular/containers/_row.py 100.00% <100.00%> (ø)
src/safeds/data/tabular/containers/_table.py 95.04% <100.00%> (+0.20%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@lars-reimann
Copy link
Copy Markdown
Member Author

lars-reimann commented Apr 22, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 9 0 0 0.97s
✅ PYTHON mypy 9 0 1.81s
✅ PYTHON ruff 9 0 0 0.05s
✅ REPOSITORY git_diff yes no 0.02s

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

@lars-reimann lars-reimann merged commit f2769f5 into main Apr 22, 2023
@lars-reimann lars-reimann deleted the pandas_row branch April 22, 2023 13:03
@lars-reimann
Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 0.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label May 11, 2023
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