示例#1
0
 def factorize(
         self,
         sort: bool = True,
         na_sentinel: Optional[int] = -1) -> Tuple["MultiIndex", pd.Index]:
     return MissingPandasLikeMultiIndex.factorize(self,
                                                  sort=sort,
                                                  na_sentinel=na_sentinel)
示例#2
0
 def map(
     self,
     mapper: Union[dict, Callable[[Any], Any], pd.Series] = None,
     na_action: Optional[str] = None,
 ) -> "Index":
     return MissingPandasLikeMultiIndex.map(self, mapper, na_action)
示例#3
0
 def __iter__(self) -> Iterator:
     return MissingPandasLikeMultiIndex.__iter__(self)
示例#4
0
文件: multi.py 项目: aaalan321/spark
 def __iter__(self):
     return MissingPandasLikeMultiIndex.__iter__(self)