SciRuby / iruby

Official gem repository: Ruby kernel for Jupyter/IPython Notebook
https://github.com/SciRuby/iruby
MIT License
901 stars 29 forks source link

Show last row and last column with table method and maxrows and maxcols #281

Closed ankane closed 3 years ago

ankane commented 3 years ago

Hi, when iRuby shows tables that exceed maxrows or maxcolumns, the last row and column aren't shown (the code uses the range ...-1). This PR changes it to include them.

kojix2 commented 3 years ago

Thank you for the pull request. I have confirmed that the last line is shown with Rover.

Before image

After image

I will merge this.

ankane commented 3 years ago

Awesome, thanks as always @kojix2!