forked from vaexio/vaex
-
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.
fix: make vaex.ml work with Arrow data (vaexio#1167)
- Loading branch information
1 parent
817ab89
commit ce1397a
Showing
17 changed files
with
208 additions
and
152 deletions.
There are no files selected for viewing
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 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 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 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import pytest | ||
import vaex | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def df_iris_original(): | ||
return vaex.ml.datasets.load_iris() | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def df_iris(df_iris_original, df_factory): | ||
return df_factory(**df_iris_original.to_dict()) | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def df_iris_1e5_original(): | ||
return vaex.ml.datasets.load_iris_1e5() | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def df_iris_1e5(df_iris_1e5_original, df_factory): | ||
return df_factory(**df_iris_1e5_original.to_dict()) | ||
|
||
|
||
|
||
|
||
@pytest.fixture(scope='session') | ||
def df_titanic_original(): | ||
return vaex.ml.datasets.load_titanic() | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def df_titanic(df_titanic_original, df_factory): | ||
return df_factory(**df_titanic_original.to_dict()) | ||
|
||
|
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 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.