SciRuby / daru

Data Analysis in RUby
BSD 2-Clause "Simplified" License
1.03k stars 139 forks source link

fix table style #489

Closed kojix2 closed 5 years ago

kojix2 commented 5 years ago

Improve the appearance of the table.

I am running IRuby & Daru on Google Colab. Google Colab officially supports Python. But Ruby works.

The dataframe style is not adapted to the table.

<table></table>

image

After adding the dataframe class to the table tag, Daru::DataFrame looks better.

This is as same as Pandas.

<table border="1" class="dataframe"></table>

image

I hope the Google Colab team officially support the IRuby kernel someday. Therefore, I think that such minor change in appearance is more important than expected.

kojix2 commented 5 years ago

I tried it. The notebook example seems to be OK.

https://nbviewer.jupyter.org/gist/kojix2/986aef56aedcbfb59be3283a886457cf

image

Shekharrajak commented 5 years ago

Thanks @kojix2 , It will be merged after the travis error is sovled.