Skip to content

Commit

Permalink
Removing deprecated types apache#1
Browse files Browse the repository at this point in the history
  • Loading branch information
aimtsou authored Mar 1, 2023
1 parent 69ff948 commit 9a498dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/pyspark/pandas/tests/indexes/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2340,7 +2340,6 @@ def test_astype(self):
psidx = ps.Index(pidx)

self.assert_eq(psidx.astype(int), pidx.astype(int))
self.assert_eq(psidx.astype(np.int), pidx.astype(np.int))
self.assert_eq(psidx.astype(np.int8), pidx.astype(np.int8))
self.assert_eq(psidx.astype(np.int16), pidx.astype(np.int16))
self.assert_eq(psidx.astype(np.int32), pidx.astype(np.int32))
Expand All @@ -2356,7 +2355,6 @@ def test_astype(self):
self.assert_eq(psidx.astype("i"), pidx.astype("i"))
self.assert_eq(psidx.astype("long"), pidx.astype("long"))
self.assert_eq(psidx.astype("short"), pidx.astype("short"))
self.assert_eq(psidx.astype(np.float), pidx.astype(np.float))
self.assert_eq(psidx.astype(np.float32), pidx.astype(np.float32))
self.assert_eq(psidx.astype(np.float64), pidx.astype(np.float64))
self.assert_eq(psidx.astype("float"), pidx.astype("float"))
Expand Down

0 comments on commit 9a498dc

Please sign in to comment.