forked from streamlit/streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Modin and Snowpark Pandas (streamlit#8506)
## Describe your changes Adds support for Modin Dataframe & Series and Snowpark Pandas Dataframe & Series by only showing the first 10k rows instead of loading all the data into memory. This also does a big refactoring of the testing logic for unevaluated data objects. Instead of testing uneveluated objects for every individual command, we focus on testing it on the bases of `convert_anything_to_df` and make sure that all the relevant command use this method. This also removes all of the e2e tests related to unevaluated dataframes since there isn't really any value to test those mock implementation visually. --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license. --------- Co-authored-by: Jonathan Shi <[email protected]>
- Loading branch information
1 parent
7b9f046
commit 43e7a7c
Showing
58 changed files
with
989 additions
and
1,014 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.72 KB
(200%)
...linux/st_data_editor_input_data_test/st_data_editor-input_data_32[chromium].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.55 KB
(210%)
.../linux/st_data_editor_input_data_test/st_data_editor-input_data_32[firefox].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.05 KB
(160%)
..._/linux/st_data_editor_input_data_test/st_data_editor-input_data_32[webkit].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-3.61 KB
...linux/st_data_editor_input_data_test/st_data_editor-input_data_33[chromium].png
Binary file not shown.
Binary file removed
BIN
-5.08 KB
.../linux/st_data_editor_input_data_test/st_data_editor-input_data_33[firefox].png
Binary file not shown.
Binary file removed
BIN
-3.35 KB
..._/linux/st_data_editor_input_data_test/st_data_editor-input_data_33[webkit].png
Binary file not shown.
Binary file removed
BIN
-7.33 KB
...linux/st_data_editor_input_data_test/st_data_editor-input_data_34[chromium].png
Binary file not shown.
Binary file removed
BIN
-10.6 KB
.../linux/st_data_editor_input_data_test/st_data_editor-input_data_34[firefox].png
Binary file not shown.
Binary file removed
BIN
-5.4 KB
..._/linux/st_data_editor_input_data_test/st_data_editor-input_data_34[webkit].png
Binary file not shown.
Binary file removed
BIN
-3.31 KB
...s__/linux/st_dataframe_input_data_test/st_dataframe-input_data_32[chromium].png
Binary file not shown.
Binary file removed
BIN
-4.84 KB
...ts__/linux/st_dataframe_input_data_test/st_dataframe-input_data_32[firefox].png
Binary file not shown.
Binary file removed
BIN
-3.07 KB
...ots__/linux/st_dataframe_input_data_test/st_dataframe-input_data_32[webkit].png
Binary file not shown.
Binary file removed
BIN
-3.31 KB
...s__/linux/st_dataframe_input_data_test/st_dataframe-input_data_33[chromium].png
Binary file not shown.
Binary file removed
BIN
-4.84 KB
...ts__/linux/st_dataframe_input_data_test/st_dataframe-input_data_33[firefox].png
Binary file not shown.
Binary file removed
BIN
-3.07 KB
...ots__/linux/st_dataframe_input_data_test/st_dataframe-input_data_33[webkit].png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.