For reading the multiple datasets using RubiNotebook, follow the steps given below.

  1. Create a workbook. Refer to Creating a Workbook.
  2. Drag and drop the required datasets from the 'Reader section' in the Feature Studio. For example, we select the Employee Attrition, Female Birth, and IPL Records datasets.
  3. Run the datasets.
  4. Drag and drop the RubiNotebook from the 'Pro Code' section under the Model Studio in the Feature Studio.
  5. Select RubiNotebook and in the Properties pane, enter the Jupyter URL and then click Configure.



  6. Consider the following code 


    Code

    Description

    _predecessorName_R_

    It displays the predecessor name connected to the RubiNotebook.

    data = getRPredTaskResults(taskId_R=_predecessorName_R_['Female_Birth'])

    Enter the task name to access the predecessor.

    data

    Prints the data as data dictionary.

    import pandas as pd

    Prompt to display the data in data frame

    new = pd.DataFrame.from_dict(data)

    We save the framed data as new.

    new

    Prints new result.

    returnData = getRPredTaskResults(taskId_R=_predecessorName_R_['Female_Birth'])
    ]]></ac:plain-text-body></ac:structured-macro>
    abc = rReturn(returnData)

    It stores the metadata and results of RubiNotebook tasks.
    Shows all the available columns in the left side pane.

  7. Click on the Save button.

    (info)
    Notes

    • The RubiNotebook allows you to connect multiple datasets; only one can be accessed at a time.
    • To Run the RubiNotebook, Save the workbook and explore the RubiNotebook node.

Your Rating: