We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25d1f8 commit 4d40722Copy full SHA for 4d40722
pandas/core/internals/blocks.py
@@ -1198,6 +1198,11 @@ def _interpolate_with_fill(
1198
values = self.values if inplace else self.values.copy()
1199
fill_value = self._try_coerce_args(fill_value)
1200
1201
+ # We have to distinguish two cases:
1202
+ # 1. When kwargs `max_gap` or `limit_area` are used: They are not
1203
+ # supported by `missing.interpolate_2d()`. Using these kwargs only
1204
+ # works by applying the fill along a certain axis.
1205
+ # 2. All other cases: Then, `missing.interpolate_2d()` can be used.
1206
if (max_gap is not None) or (limit_area is not None):
1207
1208
def func(x):
0 commit comments