Skip to content

Commit

Permalink
Removing deprecated types apache#4
Browse files Browse the repository at this point in the history
  • Loading branch information
aimtsou authored Mar 1, 2023
1 parent 27f3df3 commit b7439c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions python/pyspark/pandas/tests/test_typedef.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,19 +321,15 @@ def test_as_spark_type_pandas_on_spark_dtype(self):
np.int16: (np.int16, ShortType()),
np.int32: (np.int32, IntegerType()),
np.int64: (np.int64, LongType()),
np.int: (np.int64, LongType()),
int: (np.int64, LongType()),
# floating
np.float32: (np.float32, FloatType()),
np.float: (np.float64, DoubleType()),
np.float64: (np.float64, DoubleType()),
float: (np.float64, DoubleType()),
# string
np.str: (np.unicode_, StringType()),
np.unicode_: (np.unicode_, StringType()),
str: (np.unicode_, StringType()),
# bool
np.bool: (np.bool, BooleanType()),
bool: (np.bool, BooleanType()),
# datetime
np.datetime64: (np.datetime64, TimestampType()),
Expand Down

0 comments on commit b7439c9

Please sign in to comment.