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: add schema conversions when adding new rows to a table and schema conversion when creating a new table #432

Merged
merged 66 commits into from
Jul 12, 2023

Commits on May 26, 2023

  1. _data_type function

    PhilipGutberlet committed May 26, 2023
    Configuration menu
    Copy the full SHA
    6fc5289 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Configuration menu
    Copy the full SHA
    f94a226 View commit details
    Browse the repository at this point in the history
  2. feat: Added new static method Schema.merge_multiple_schemas to merg…

    …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
    Marsmaennchen221 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    cd7d745 View commit details
    Browse the repository at this point in the history
  3. test: Corrected tests for different schemas

    Co-authored-by: alex-senger <[email protected]>
    Marsmaennchen221 and alex-senger committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    faea224 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fbf0411 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' of https://github.com/Safe-DS/Stdlib into 127-add…

    …_row-and-add_rows-should-not-raise-if-schemata-differ
    
    � Conflicts:
    �	tests/safeds/data/tabular/containers/_table/test_from_rows.py
    Marsmaennchen221 committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    87f9b47 View commit details
    Browse the repository at this point in the history
  6. feat: Added abstract constructor to ColumnType

    refactor: Sytisfied the linters
    
    Co-authored-by: alex-senger <[email protected]>
    Marsmaennchen221 and alex-senger committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    c7774d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80ee415 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    88bb00b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ffbf2d6 View commit details
    Browse the repository at this point in the history
  10. Changes by hussi

    PhilipGutberlet committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    cbd7722 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Merge branch 'main' into 322-detected-the-true-columntypes-when-initi…

    …alizing-column-or-table
    daniaHu committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    0bc211b View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Merge branch 'main' into 322-detected-the-true-columntypes-when-initi…

    …alizing-column-or-table
    daniaHu committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    ff6025b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aae7b81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f54fdd5 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/322-detected-the-true-columntype…

    …s-when-initializing-column-or-table' into 322-detected-the-true-columntypes-when-initializing-column-or-table
    
    # Conflicts:
    #	src/safeds/data/tabular/typing/_column_type.py
    #	tests/safeds/data/tabular/typing/test_column_type.py
    daniaHu committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    fafce09 View commit details
    Browse the repository at this point in the history
  5. changes rolled back, couldn't find a way to work with pd.DataFrame an…

    …d still get correct schema by Columns with numbers and missing values
    daniaHu committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    655bee0 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. fix: fix wrong datatype error

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    923cad0 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/127-add_row-and-add_rows-should-…

    …not-raise-if-schemata-differ' into 404-merge-issues-322-and-127
    
    # Conflicts:
    #	src/safeds/data/tabular/containers/_table.py
    #	tests/safeds/data/tabular/containers/_table/test_add_row.py
    #	tests/safeds/data/tabular/containers/_table/test_add_rows.py
    alex-senger committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e725fd8 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/322-detected-the-true-columntype…

    …s-when-initializing-column-or-table' into 404-merge-issues-322-and-127
    
    # Conflicts:
    #	tests/safeds/data/tabular/typing/test_schema.py
    alex-senger committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    cf5cfa3 View commit details
    Browse the repository at this point in the history
  4. fix: fix merge problems

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    2431d02 View commit details
    Browse the repository at this point in the history
  5. fix: fix add_rows

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    4844788 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2023

  1. Configuration menu
    Copy the full SHA
    d3ba722 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2023

  1. Configuration menu
    Copy the full SHA
    69d0fb4 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    30e8c1f View commit details
    Browse the repository at this point in the history
  2. fix: fix table transformer error handling

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    7de0f45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7af83da View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of https://github.com/Safe-DS/Stdlib into 404-mer…

    …ge-issues-322-and-127
    
    # Conflicts:
    #	src/safeds/data/tabular/containers/_column.py
    #	src/safeds/data/tabular/containers/_row.py
    #	src/safeds/data/tabular/containers/_table.py
    alex-senger committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    9d71c12 View commit details
    Browse the repository at this point in the history
  5. fix: fix test_row parameterize

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    ec62ba3 View commit details
    Browse the repository at this point in the history
  6. fix: add typehints

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    fafad3a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9d3818e View commit details
    Browse the repository at this point in the history
  8. fix: fix error handling and typehint

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    0f474c9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5567929 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6437a90 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9d44318 View commit details
    Browse the repository at this point in the history
  12. fix: trying our best to make the linter happy

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    7949af1 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    878c82b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4903ae4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    90a9948 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    66585a6 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    109b2a7 View commit details
    Browse the repository at this point in the history
  18. fix: fix _data_type

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    b4881f6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7d89395 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e9c1201 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c74e2d4 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. test: add tests for sort_columns

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6267075 View commit details
    Browse the repository at this point in the history
  2. test: add test for unsupported data types

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    9d72cd0 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of https://github.com/Safe-DS/Stdlib into 404-mer…

    …ge-issues-322-and-127
    
    # Conflicts:
    #	src/safeds/data/tabular/containers/_table.py
    #	src/safeds/data/tabular/transformation/_one_hot_encoder.py
    alex-senger committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    9c7bc9e View commit details
    Browse the repository at this point in the history
  4. fix: remove unnecessary code

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    8386ac2 View commit details
    Browse the repository at this point in the history
  5. fix: remove duplicate code

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    a52a12b View commit details
    Browse the repository at this point in the history
  6. fix: remove unnecessary code

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    672b6b1 View commit details
    Browse the repository at this point in the history
  7. test: Add test for CodeCov

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6ed0990 View commit details
    Browse the repository at this point in the history
  8. fix: Fix Typehint and add match to raises

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    531e7d6 View commit details
    Browse the repository at this point in the history
  9. test: remove test because it makes the Linter fail

    Co-authored-by: sibre28 <[email protected]>
    alex-senger and sibre28 committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    18f27ea View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ecb8796 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    95526cb View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Alexander <[email protected]>
    alex-senger and Marsmaennchen221 authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    50e15fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50be3f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    171de13 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c16312 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4c8f2a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Apply suggestions from code review

    Co-authored-by: Alexander <[email protected]>
    alex-senger and Marsmaennchen221 authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    80c35d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c944492 View commit details
    Browse the repository at this point in the history
  3. test: add import

    alex-senger committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    c2b2679 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    918f4b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    551e396 View commit details
    Browse the repository at this point in the history