New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributionError in Jupyter Notebook on Windows #788
Comments
python 3.8 The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.) so, just modify the |
Hi, I'm getting the same error, is there a fix for this other than modifying the source file? |
any updates |
see also |
but fix above helps The function time.clock() has been removed, after having been deprecated since Python 3.3: use time.perf_counter() or time.process_time() instead, depending on your requirements, to have well-defined behavior. (Contributed by Matthias Bussonnier in bpo-36895.) so, just modify the display.py source file in package of pixiedust can fix this error. |
Expected behavior
I am experimenting with pixiedust 1.1.8 in Jupyter Notebook on Windows 10, which I suppose should run fine.
Actual behavior
However, I instead get the following:
\nAttributeError: module 'time' has no attribute 'clock'\n
Could someone advise on what could be the issue, please?
Here is my code
import pandas as pd
import pixiedust
df = {"age":[50,12,34,53,22,44], "height":[4.5,5.0,6.0,5.5,4.7,5.9], "name":['peter','mike','john','james','frank','paul']}
dataset = pd.DataFrame(df)
display(dataset)
The text was updated successfully, but these errors were encountered: