Locate by label position

This transform allows you to access the values of all columns based on the specified index value of the row.

tags: [“EDA”]

Parameters

The table gives a brief description about each parameter in Is In 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 access values of all columns based on the index value of the row. (Required: True, Multiple: False)

Output Dataset:

The file name with which the output dataset is created. This file contains the values of all columns bsaed on the specified index value. (Required: True, Multiple: False)

value_1:

The index value of the row. (Required: True, Multiple: True, Datatypes: [“LONG”], Options: [“CONSTANT”], Datasets: [“df”])

Projects/templates_docs/templates_UI_images/locatebylabelposition_input.png

How to use it in Notebook

The following is the code snippet you must use in the Jupyter Notebook editor to run the Locate by label position transform:

template=TemplateV2.get_template_by('Locate by label position')

recipe_Locate_by_label_position= project.addRecipe([car_data, employee_data, temperature_data, only_numeric], name='Locate by label position')

transform=Transform()
transform.templateId = template.id
transform.name='Locate by label position'
transform.variables = {
'input_dataset':'car',
'output_dataset':'car_loc',
'value_1':0}
recipe_Locate_by_label_position.add_transform(transform)
recipe_Locate_by_label_position.run()

How to use it in RC UI

The output after running the Locate by label position transform on the dataset appears as below:

Projects/templates_docs/templates_UI_images/locatebylabelposition_output.png

Requirements

pandas