Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary of Changes - MVP of EDA analysis through the VS Code extension - Working - Table viewing of pipeline extracted data - Column reodering - Column resizing - Window resizing with table adapting - Selecting Columns - Selecting Rows - Column header context menu to select, and unselect columns - Sidebar content: Table name and Row count - Sidebar resizing and table realigning - Profiling drop down with just sample text - Id/Row number column - Displaying of large data through dynamically loaded rows - Loading indications and proper presentation as a window of VS Code - Multiple exploration windows at same time and reordering them in vscode - returning to a running exploration if selecting same placeholder again ### To start 1. Have a pipeline with an imported table, like having this stub in directory: ``` package a class Table { @impure( [ ImpurityReason.Other ] ) static fun from_csv_file(name: String) -> table: Table } @impure( [ ImpurityReason.Other ] ) @PythonCall("from safeds.data.tabular.containers import Table") fun __import_Table() ``` and then this pipeline, while having the relevant CSVs stored in proper locations (can get from Kaggle, change paths accordingly): ``` package a pipeline mainpipeline { __import_Table(); val i = 0; val i2 = i + i + 3; val i3 = "abc"; val i4 = true; val i5 = -1.2491891891; val Titanic23 = Table.from_csv_file("/home/jonas/titanic.csv"); // pfad val Cerea25l = Table.from_csv_file("/home/jonas/cereal.csv"); // pfad val Netflix23 = Table.from_csv_file("/home/jonas/netflix_titles.csv"); // pfad val Tweets123 = Table.from_csv_file("/home/jonas/tweets.csv"); // pfad } ``` 2. Right click on table variable and select "Explore Table" 3. If the selected placeholder was valid the table will show in a new window after loading Other way: - Press "ctrl + shift + p" (for vscode commands) and start the EDA command, the one from right click that works if your cursor is in right position is "EDA: Explore Table" --------- Co-authored-by: WinPlay02 <winplay02_gh@woberlaender.de> Co-authored-by: Lars Reimann <mail@larsreimann.com> Co-authored-by: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com>
- Loading branch information