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

The default interactive display in terminal #1789

Closed
NachiGithub opened this issue Apr 10, 2019 · 3 comments
Closed

The default interactive display in terminal #1789

NachiGithub opened this issue Apr 10, 2019 · 3 comments
Assignees
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Milestone

Comments

@NachiGithub
Copy link

  • Did you find a bug in datatable, or maybe the bug found you?
    I was excited to see the interactive mode turned off by default (in the latest commit). So, I wanted to test it out. So, I compiled from master branch today (on a Mac). Then ran the following code:
DT = dt.Frame(A=range(5))
DT

I was expecting it to print the following, without pausing in the end:

Out[3]:      A
--  --
 0   0
 1   1
 2   2
 3   3
 4   4
[5 rows x 1 column]

instead it prints the following:

Out[3]:      A
--  --
 0   0
 1   1
 2   2
 3   3
 4   4
[5 rows x 1 column]
Press q to quit  ↑←↓→ to move  wasd to page  t to toggle types  g to jump

And waits for keyboard input. The version string shows 0.8.0 at the moment.

print(dt.__version__)
0.8.0

The interactive options seems to be set to False:

dt.options.display
Out[4]: 
dt.options.display.
    interactive_hint = 1
    interactive = 0

Any suggestion to turn off the interactive mode? The DT.view(interactive=False) works, but that's a bit much to type every time.

Thanks!

@st-pasha
Copy link
Contributor

Which environment is this? A Jupyter notebook? If so then what version?

@NachiGithub
Copy link
Author

NachiGithub commented Apr 10, 2019

I am using a PyCharm IDE. It's running in an ipython shell. This is what I see at start up:

Python 3.7.0 (default, Jun 28 2018, 07:39:16) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.4.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 7.4.0
Python 3.7.0 (default, Jun 28 2018, 07:39:16) 
[Clang 4.0.1 (tags/RELEASE_401/final)] on darwin

@st-pasha st-pasha self-assigned this Apr 10, 2019
@st-pasha st-pasha added the bug Any bugs / errors in datatable; however for severe bugs use [segfault] label label Apr 10, 2019
@st-pasha st-pasha added this to the Release 0.9.0 milestone Apr 10, 2019
@NachiGithub
Copy link
Author

Awesome! Works great now. What speed! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Projects
None yet
Development

No branches or pull requests

2 participants