Skip to content

Automatic PR for 0195da70-b4ab-43e3-a4fc-045d7f3e8717 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 0195da70-b4ab-43e3-a4fc-045d7f3e8717-base
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions pandas/tests/copy_view/test_interp_fillna.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,7 @@ def test_fillna_inplace_reference(using_copy_on_write):


def test_fillna_interval_inplace_reference(using_copy_on_write):
# Set dtype explicitly to avoid implicit cast when setting nan
ser = Series(
interval_range(start=0, end=5), name="a", dtype="interval[float64, right]"
)
ser = Series(interval_range(start=0, end=5), name="a")
ser.iloc[1] = np.nan

ser_orig = ser.copy()
Expand Down Expand Up @@ -341,4 +338,4 @@ def test_fillna_inplace_ea_noop_shares_memory(
else:
assert not np.shares_memory(get_array(df, "b"), get_array(view, "b"))
df.iloc[0, 1] = 100
tm.assert_frame_equal(df_orig, view)
tm.assert_frame_equal(df_orig, view)