Show DTypes

Show DTypes#

By default, the columns dtypes are shown only for Polars dataframes. If you prefer, you can change the value of show_dtypes to either True or False to always or never show the index (the default value being "auto").

import itables

itables.init_notebook_mode()

You can change this behavior globally with e.g.

itables.options.show_dtypes = True

or locally by passing an argument show_dtypes to the show function:

itables.show(itables.sample_dfs.get_countries(), show_dtypes=True)
Loading ITables v2.6.0.dev0 from the init_notebook_mode cell... (need help?)