Sending files between operators

naveen_bharadwa
naveen_bharadwa New Altair Community Member
edited November 5 in Community Q&A

I am new to RapidMiner and was wondering if there is a way send files from one operator to another instead of Pandas dataframes?

Tagged:

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    I'm not sure I understand what you want to do. Send flat files? There are different data loaders for flat files, databases, HDFS, etc.

  • naveen_bharadwa
    naveen_bharadwa New Altair Community Member

    So, I want to read a text file using one operator, read a file for example, and then send files in a loop to process each one separately(Text processing,i.e, stemming, tokenize, etc.). The way I understand, the operators can communicate only using Pandas Dataframe objects. 

    If I have written a python script on the Python script operator which would take a file as an input, I'm unable to pass the file from read file operator.

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    Only the Execute Python operator works Panda Dataframes. Other RapidMiner operators do not depend on Pandas, they have their own internal file handling.