Filter Dataset Greater Than
This transform allows you to filter the values that are greater than the given value in a dataset.
tags: [“EDA”]
Parameters
The table gives a brief description about each parameter in Filter Dataset Greater than transform.
- Name:
By default, the transform name is populated. You can also add a custom name for the transform.
- Input Dataset:
The file name of the input dataset. You can select the dataset that was uploaded from the drop-down list to filter values that are greater the given value. (Required: True, Multiple: False)
- Output Dataset:
The file name with which the output dataset is created after filtering the values that are greater than the given value. (Required: True, Multiple: False)
- Column:
The name of the column on which this transform must be performed. (Required: True, Multiple: False, Datatypes: [“STRING”], Options: [“FIELDS”], Datasets: [“df”])
- Value:
The value with which each element in the column must be compared and filter the elements that are greater than to this given value. (Required: True, Multiple: False, Datatypes: [“FLOAT”], Options: [“CONSTANT”])
Below is the screenshot with sample input data for this transform
The output after running the Filter Dataset Greater Than transform on the dataset appears as below:
How to use it in Notebook
template=TemplateV2.get_template_by('Filter Dataset Greater Than')
recipe_Filter_Dataset_Greater_Than= project.addRecipe([car_data, employee_data, temperature_data, only_numeric], name='Filter Dataset Greater Than')
transform=Transform()
transform.templateId = template.id
transform.name='Filter Dataset Greater Than'
transform.variables = {
'input_dataset':'only_numeric',
'output_dataset':'ftgt',
'column':"Age",
'value':20}
recipe_Filter_Dataset_Greater_Than.add_transform(transform)
recipe_Filter_Dataset_Greater_Than.run()
Requirements
pandas