You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 'ipython' console, after 'Out[line_number]' prompt it inserts a newline character. It is useful to have it when working with dataframes, for example. Without it the column names are shifted and are not aligned with the column's contents. For example, in ipython (sorry, github removes tabs before A, B and C):
Out[30]:
A B C
2000-01-01 -1.224884 -0.067964 0.775464
2000-01-02 0.969770 -0.009765 -0.824894
2000-01-03 0.723846 1.403708 -0.736835
2000-01-04 -0.556043 -0.496447 0.089299
But in vim-ipython:
Out[30]: A B C
2000-01-01 -1.224884 -0.067964 0.775464
2000-01-02 0.969770 -0.009765 -0.824894
2000-01-03 0.723846 1.403708 -0.736835
2000-01-04 -0.556043 -0.496447 0.089299
It is very easy to modify in the code, add '\n' in this line, in vim_ipython.py:
status_prompt_out = vim_variable('g:ipy_status_out', 'Out[%(line)d]: \n')
Thank you,
Sergii
The text was updated successfully, but these errors were encountered:
In 'ipython' console, after 'Out[line_number]' prompt it inserts a newline character. It is useful to have it when working with dataframes, for example. Without it the column names are shifted and are not aligned with the column's contents. For example, in ipython (sorry, github removes tabs before A, B and C):
Out[30]:
A B C
2000-01-01 -1.224884 -0.067964 0.775464
2000-01-02 0.969770 -0.009765 -0.824894
2000-01-03 0.723846 1.403708 -0.736835
2000-01-04 -0.556043 -0.496447 0.089299
But in vim-ipython:
Out[30]: A B C
2000-01-01 -1.224884 -0.067964 0.775464
2000-01-02 0.969770 -0.009765 -0.824894
2000-01-03 0.723846 1.403708 -0.736835
2000-01-04 -0.556043 -0.496447 0.089299
It is very easy to modify in the code, add '\n' in this line, in vim_ipython.py:
status_prompt_out = vim_variable('g:ipy_status_out', 'Out[%(line)d]: \n')
Thank you,
Sergii
The text was updated successfully, but these errors were encountered: