open-contracting / notebooks-ocds

A collection of notebooks for analysing OCDS data stored in Kingfisher.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

setup.py: set data_table configuration #36

Closed duncandewhurst closed 3 years ago

duncandewhurst commented 3 years ago

Configuration options: https://github.com/googlecolab/colabtools/blob/32ca0f694c416890fb7f9376ffa08b95ddd6de7f/google/colab/data_table.py#L89

Set include_index = False for easier copy-pasting to Google Docs and set max_columns = 50 so that dataframes with many columns are still rendered as data tables, e.g.

from google.colab.data_table import DataTable
DataTable.max_columns = 50
duncandewhurst commented 3 years ago

Closed by https://github.com/open-contracting/notebooks-ocds/pull/37