pyspark.pandas.MultiIndex.is_all_dates¶
-
property
MultiIndex.
is_all_dates
¶ is_all_dates always returns False for MultiIndex
Examples
>>> from datetime import datetime
>>> idx = ps.MultiIndex.from_tuples( ... [(datetime(2019, 1, 1, 0, 0, 0), datetime(2019, 1, 1, 0, 0, 0)), ... (datetime(2019, 1, 1, 0, 0, 0), datetime(2019, 1, 1, 0, 0, 0))]) >>> idx MultiIndex([('2019-01-01', '2019-01-01'), ('2019-01-01', '2019-01-01')], )
>>> idx.is_all_dates False