Skip to content

Commit ad06563

Browse files
committed
Update
1 parent c0ebe19 commit ad06563

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/generic.py

+3
Original file line numberDiff line numberDiff line change
@@ -7454,6 +7454,7 @@ def ffill(
74547454
ctr = sys.getrefcount(self)
74557455
ref_count = REF_COUNT
74567456
if isinstance(self, ABCSeries) and hasattr(self, "_cacher"):
7457+
# see https://github.com/pandas-dev/pandas/pull/56060#discussion_r1399245221
74577458
ref_count += 1
74587459
if ctr <= ref_count:
74597460
warnings.warn(
@@ -7636,6 +7637,7 @@ def bfill(
76367637
ctr = sys.getrefcount(self)
76377638
ref_count = REF_COUNT
76387639
if isinstance(self, ABCSeries) and hasattr(self, "_cacher"):
7640+
# see https://github.com/pandas-dev/pandas/pull/56060#discussion_r1399245221
76397641
ref_count += 1
76407642
if ctr <= ref_count:
76417643
warnings.warn(
@@ -8242,6 +8244,7 @@ def interpolate(
82428244
ctr = sys.getrefcount(self)
82438245
ref_count = REF_COUNT
82448246
if isinstance(self, ABCSeries) and hasattr(self, "_cacher"):
8247+
# see https://github.com/pandas-dev/pandas/pull/56060#discussion_r1399245221
82458248
ref_count += 1
82468249
if ctr <= ref_count:
82478250
warnings.warn(

0 commit comments

Comments
 (0)