I have a process inside a PythonCaller that converts a long pandas dataframe into a wide dataframe that when output, has around 200 columns. The dataframes are transformed back into an fme feature for output. Now I need to expose all 200 column names but need to avoid doing this manually. Is there any way to do this from within the PythonCaller?
Page 1 / 1
If you could write a CSV file (e.g. from your Python script) with all the attribute names, then you can import this list into the AttributeExposer.
If you could write a CSV file (e.g. from your Python script) with all the attribute names, then you can import this list into the AttributeExposer.
Thank you @david_r