Skip to content
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

"data.descri" -> Unknown error, see logs #77

Open
adamwiggins opened this issue Feb 3, 2016 · 1 comment
Open

"data.descri" -> Unknown error, see logs #77

adamwiggins opened this issue Feb 3, 2016 · 1 comment

Comments

@adamwiggins
Copy link
Contributor

Steps to reproduce:

  1. welcome notebook
  2. change "data.head()" to "data.descri"

screen shot 2016-02-03 at 22 25 24

Dev console output:

ERR pypyjsErrormessage: "'descri'"name: "KeyError"stack: (...)trace: "Traceback (most recent call last):↵  File "<string>", line 1, in <module>↵  File "/lib/pypyjs/lib_pypy/livebook.py", line 186, in execute↵    checkpoint(cell,val,local)↵  File "/lib/pypyjs/lib_pypy/livebook.py", line 140, in checkpoint↵    val2 = ["html", val.to_js()]↵  File "/lib/pypyjs/lib_pypy/pandas.py", line 177, in to_js↵    d1 = [self.data[self.column][i] for i in self.idx]↵KeyError: 'descri'↵"__proto__: Error
    at http://livebook-staging.inkandswitch.com/pypyjs/pypyjs.js:959:26
    at http://livebook-staging.inkandswitch.com/pypyjs/pypyjs.js:1017:2
    at Object.0 (http://livebook-staging.inkandswitch.com/js/worker.js:111:7)
    at __webpack_require__ (http://livebook-staging.inkandswitch.com/js/worker.js:20:30)
    at 0 (http://livebook-staging.inkandswitch.com/js/worker.js:40:18)
    at http://livebook-staging.inkandswitch.com/js/worker.js:43:10
@adamwiggins
Copy link
Contributor Author

Should mention that expected result is something like "AttributeError: 'DataFrame' object has no attribute 'descri'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant