Skip to content

Commit 5618104

Browse files
committed
Fixed namespace issue
1 parent d1a92fa commit 5618104

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/frame/methods/test_update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@ def test_update_preserve_mixed_dtypes(self):
233233
# GH#44104
234234
dtype1 = pd.Int64Dtype()
235235
dtype2 = pd.StringDtype()
236-
df = pd.DataFrame({"a": [1, 2, 3], "b": ["x", "y", "z"]})
236+
df = DataFrame({"a": [1, 2, 3], "b": ["x", "y", "z"]})
237237
df = df.astype({"a": dtype1, "b": dtype2})
238238

239-
other = pd.DataFrame({"a": [4, 5], "b": ["a", "b"]})
239+
other = DataFrame({"a": [4, 5], "b": ["a", "b"]})
240240
other = other.astype({"a": dtype1, "b": dtype2})
241241

242-
expected = pd.DataFrame({"a": [4, 5, 3], "b": ["a", "b", "z"]})
242+
expected = DataFrame({"a": [4, 5, 3], "b": ["a", "b", "z"]})
243243
expected = expected.astype({"a": dtype1, "b": dtype2})
244244

245245
df.update(other)

0 commit comments

Comments
 (0)