-
Notifications
You must be signed in to change notification settings - Fork 811
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mage-ai:master' into mcollin_prob
- Loading branch information
Showing
23 changed files
with
375 additions
and
189 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Clean | ||
|
||
### 3. Cleaning data | ||
After building a data cleaning pipeline from the UI, | ||
you can clean your data anywhere you can execute Python code: | ||
|
||
```python | ||
import mage_ai | ||
from mage_ai.sample_datasets import load_dataset | ||
|
||
|
||
df = load_dataset('titanic_survival.csv') | ||
|
||
# Option 1: Clean with pipeline uuid | ||
df_cleaned = mage_ai.clean(df, pipeline_uuid='uuid_of_cleaning_pipeline') | ||
|
||
# Option 2: Clean with pipeline config directory path | ||
df_cleaned = mage_ai.clean(df, pipeline_config_path='/path_to_pipeline_config_dir') | ||
``` |
Oops, something went wrong.