sfu-db / dataprep

Open-source low code data preparation library in python. Collect, clean and visualization your data in python with a few lines of code.
http://dataprep.ai
MIT License
2.01k stars 204 forks source link

Javascript error #778

Closed jefwang9 closed 2 years ago

jefwang9 commented 2 years ago

Describe the bug After installing dataprep, when I ran the code like this: from dataprep.eda import plot import pandas as pd

df = pd.read_csv("faculty_table.csv") plot(df)

It shows: Javascript error adding output! ReferenceError: Can't find variable: Bokeh See your browser Javascript console for more details.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Or:

paste your code here

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

jinglinpeng commented 2 years ago

Hi @jefwang9 , it seems the error happened in Bokeh. Could you provide more information so I can reproduce the error? E.g., the dataset, the OS, the platform, dataprep version and a screenshot of the error.

jefwang9 commented 2 years ago

Issue fixed after changing the version of pandas. Thanks.

dovahcrow commented 2 years ago

Hi @jefwang9 may I ask if you can post the working pandas version here? This might help other users with the same issue.