8000 BUG: inconsistent concat casting EA vs non-EA by jbrockmendel · Pull Request #38843 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: inconsistent concat casting EA vs non-EA #38843

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

Merged
merged 9 commits into from
Jan 1, 2021
Prev Previous commit
Next Next commit
fix dtype=None case
  • Loading branch information
jbrockmendel committed Dec 31, 2020
commit 073dfd2d658073c72a710ac3807b0ba407dd1d67
3 changes: 2 additions & 1 deletion pandas/tests/indexing/test_partial.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ def test_loc_setitem_expanding_empty(self, dtype):
df.loc[3] = value

exp = DataFrame([[6, 7]], index=[3], columns=["A", "B"], dtype=dtype)
exp = exp.astype(dtype)
if dtype is not None:
exp = exp.astype(dtype)
tm.assert_frame_equal(df, exp)

def test_series_partial_set(self):
Expand Down
0