Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added ability to Table.add_row and Table.add_rows to allow new rows with different schemas #342

Conversation

Marsmaennchen221
Copy link
Contributor

Closes #127.

Summary of Changes

feat: Added ability to Table.add_row and Table.add_rows to allow new rows with different schemas
feat: Added the method Row.sort_columns to sort the columns in a row
feat: Added new static method Schema.merge_multiple_schemas to merge multiple schemas into one
feat: Changed Table.from_rows to accept different schemas

Additional Context

Waiting for #322 for updates with ColumnTypes

Marsmaennchen221 and others added 3 commits June 2, 2023 11:56
…e multiple schemas into one

feat: Added ability to `Table.add_row` and `Table.add_rows` to allow new rows with different schemas
feat: Added the method `Row.sort_columns` to sort the columns in a row
…_row-and-add_rows-should-not-raise-if-schemata-differ

� Conflicts:
�	tests/safeds/data/tabular/containers/_table/test_from_rows.py
@Marsmaennchen221 Marsmaennchen221 linked an issue Jun 2, 2023 that may be closed by this pull request
@lars-reimann
Copy link
Member

lars-reimann commented Jun 2, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 8 0 0 1.25s
✅ PYTHON mypy 8 0 2.35s
✅ PYTHON ruff 8 0 0 0.04s
✅ REPOSITORY git_diff yes no 0.0s

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

@alex-senger alex-senger closed this Jul 7, 2023
@lars-reimann lars-reimann deleted the 127-add_row-and-add_rows-should-not-raise-if-schemata-differ branch May 20, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add_row and add_rows should not raise if schemata differ
4 participants