Goto

Collaborating Authors

 data prep python sdk


Transforms: data prep Python SDK - Azure Machine Learning service

#artificialintelligence

The Python script must define a function called transform() that takes two arguments, df and index. The df argument will be a pandas dataframe that contains the data for the partition and the index argument is a unique identifier of the partition. The transform function can fully edit the passed in dataframe, but must return a dataframe. Any libraries that the Python script imports must exist in the environment where the dataflow is run.