Adding Your Data to a Notebook

The notebook reads a table, perform various operations, and then write the output to the table.

Perform the following steps to add your data to a notebook for processing.

    Procedure
  1. Associate the dataset with your workspace.
  2. From the menu, select Data, and then select Import Dataset Into Notebook.
  3. Import Dataset into Notebook

  4. A SELECT DATASETS TO IMPORT INTO NOTEBOOK dialog appears. Select the dataset to import, and then click Import.
  5. SELECT DATASETS TO IMPORT INTO NOTEBOOK

  6. A bit of code is inserted into your notebook. This facilitates the communication between the data source and your notebook. To run this code, press shift+enter or click Run.
  7. Imported code - credit dataset

  8. If you run df_credit (df_the name of the dataset imported into your notebook) in the Python notebook, it shows a preview of the data imported.

    Imported data - credit dataset

    Now, you can run other commands by referring to the comments in the inserted code. The write_output_table is added manually on the same pattern as the generated code for writing the output to a table.