Skip to content

GUI-demo.ipynb doesn't work when JupyterLab starts #214

@iqlinuxadmin

Description

@iqlinuxadmin

The GUI-demo.ipynb demo isn't working. If I paste all the code into the console from the GUI-demo.ipynb window, it works, but when it opens after I click "Connect to Jupyter" from the "My Interactive Sessions" page, I get an error. It's beyond my JupyterLab skills to diagnose quickly, so maybe someone who put the tutorial together could take a look at this. Here's the error:

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-1-9459b4c08997> in <module>
      6 ## sex male=0 female=1
      7 ## removed all NA
----> 8 penguins_df = pd.read_csv("/home/hpcadmin/jupyter_notebook_data/penguins.csv")
      9 penguins_df.drop(penguins_df.columns[[0]], axis = 1, inplace = True)
     10 # always look at the data

NameError: name 'pd' is not defined

Here's a screenshot of what I see:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions