def loc(self) -> InterfaceGetItem['Frame']: '''Label-based selection where labels not specified will define a new container containing those labels filled with the fill value. ''' def func(key: GetItemKeyType) -> 'Batch': return self._batch_apply( lambda c: InterfaceFillValue(c, fill_value=self._fill_value, axis=self._axis).loc[key] ) return InterfaceGetItem(func)
def bloc(self) -> InterfaceGetItem['Batch']: return InterfaceGetItem(self._extract_bloc)
def loc(self) -> InterfaceGetItem['Frame']: '''Label-based selection where labels not specified will define a new container containing those labels filled with the fill value. ''' if self._container._NDIM == 1: return InterfaceGetItem(self._extract_loc1d) return InterfaceGetItem(self._extract_loc2d_compound)
def iloc(self) -> InterfaceGetItem['Frame']: return InterfaceGetItem(self._extract_iloc) #type: ignore
def iloc(self) -> InterfaceGetItem['Bus']: return InterfaceGetItem(self._extract_iloc)
def loc(self) -> InterfaceGetItem['Yarn']: return InterfaceGetItem(self._extract_loc)
def iloc(self) -> InterfaceGetItem[TContainer]: return InterfaceGetItem(self._extract_iloc) #type: ignore