Skip to content
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into ArrowStringArray.…
…astype
  • Loading branch information
simonjayhawkins committed May 31, 2021
commit c16e2eccab6e5c0d31f04443839cb258dd4ad1c8
2 changes: 0 additions & 2 deletions pandas/tests/arrays/string_/test_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ def test_astype_nullable_int(dtype):

def test_astype_float(dtype, any_float_allowed_nullable_dtype):
# Don't compare arrays (37974)

ser = pd.Series(["1.1", pd.NA, "3.3"], dtype=dtype)

result = ser.astype(any_float_allowed_nullable_dtype)
expected = pd.Series([1.1, np.nan, 3.3], dtype=any_float_allowed_nullable_dtype)
tm.assert_series_equal(result, expected)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.