MCPcopy
hub / github.com/pandas-dev/pandas / _create_mi_with_dt64tz_level

Function _create_mi_with_dt64tz_level

pandas/conftest.py:677–685  ·  view source on GitHub ↗

MultiIndex with a level that is a tzaware DatetimeIndex.

()

Source from the content-addressed store, hash-verified

675
676
677def _create_mi_with_dt64tz_level():
678 """
679 MultiIndex with a level that is a tzaware DatetimeIndex.
680 """
681 # GH#8367 round trip with pickle
682 return MultiIndex.from_product(
683 [[1, 2], ["a", "b"], date_range("20130101", periods=3, tz="US/Eastern")],
684 names=["one", "two", "three"],
685 )
686
687
688indices_dict = {

Callers 1

conftest.pyFile · 0.85

Calls 2

date_rangeFunction · 0.90
from_productMethod · 0.80

Tested by

no test coverage detected