Skip to content
#

alignment

Here are 374 public repositories matching this topic...

jreback
jreback commented Oct 11, 2020

create a mi

In [13]: mi = pd.MultiIndex.from_product([[1,2,3], list('abc'), pd.date_range('20200101', periods=2, tz='UTC')], names=['int', 'string', 'dt'])                            

You can already get .dtypes, but is slightly cumbersome. I would propose adding Multidex.dtypes (we already have MultiIndex.dtype but its always object). I think this is worth the convenience api.

Improve this page

Add a description, image, and links to the alignment topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the alignment topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.