Skip to content

Commit

Permalink
Fix pandera plugin examples (#1711)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Jul 24, 2024
1 parent 03395b6 commit d091fbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from flytekit import ImageSpec, task, workflow
from pandera.typing import DataFrame, Series

custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-pandera"])
custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-pandera", "scikit-learn"])

# %% [markdown]
# ## A Simple Data Processing Pipeline
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import accuracy_score

custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-pandera"])
custom_image = ImageSpec(registry="ghcr.io/flyteorg", packages=["flytekitplugins-pandera", "scikit-learn"])

# %% [markdown]
# We also need to import the `pandera` flytekit plugin to enable dataframe runtime type-checking:
Expand Down

0 comments on commit d091fbd

Please sign in to comment.