@@ -2021,7 +2021,7 @@ def apply(
20212021 more details.
20222022 """
20232023 self ._todo .append (
2024- (lambda instance : getattr ( instance , " _apply" ) , (func , axis , subset ), kwargs )
2024+ (lambda instance : instance . _apply , (func , axis , subset ), kwargs )
20252025 )
20262026 return self
20272027
@@ -2128,7 +2128,7 @@ def apply_index(
21282128 """
21292129 self ._todo .append (
21302130 (
2131- lambda instance : getattr ( instance , " _apply_index" ) ,
2131+ lambda instance : instance . _apply_index ,
21322132 (func , axis , level , "apply" ),
21332133 kwargs ,
21342134 )
@@ -2157,7 +2157,7 @@ def map_index(
21572157 ) -> Styler :
21582158 self ._todo .append (
21592159 (
2160- lambda instance : getattr ( instance , " _apply_index" ) ,
2160+ lambda instance : instance . _apply_index ,
21612161 (func , axis , level , "map" ),
21622162 kwargs ,
21632163 )
@@ -2231,7 +2231,7 @@ def map(self, func: Callable, subset: Subset | None = None, **kwargs) -> Styler:
22312231 more details.
22322232 """
22332233 self ._todo .append (
2234- (lambda instance : getattr ( instance , " _map" ) , (func , subset ), kwargs )
2234+ (lambda instance : instance . _map , (func , subset ), kwargs )
22352235 )
22362236 return self
22372237
0 commit comments