-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mob next [ci-skip] [ci skip] [skip ci]
lastFile:src/skore/project.py
- Loading branch information
1 parent
e5c1489
commit 6fcb488
Showing
2 changed files
with
39 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import pandas as pd | ||
from skore.project import DataFrameItem | ||
|
||
|
||
def test_dataframe_item(): | ||
df = pd.DataFrame([[1, 2, 3], [4, 5, 6]]) | ||
item = DataFrameItem(df) | ||
|
||
assert item.raw == df | ||
assert item.transformed == None |