From b7439c96a63f0b2fe070523f726859edc8101eb8 Mon Sep 17 00:00:00 2001 From: Aimilios Tsouvelekakis Date: Wed, 1 Mar 2023 15:08:37 +0100 Subject: [PATCH] Removing deprecated types #4 --- python/pyspark/pandas/tests/test_typedef.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/pyspark/pandas/tests/test_typedef.py b/python/pyspark/pandas/tests/test_typedef.py index a5f2b2dc2b43d..a210d10b6bf32 100644 --- a/python/pyspark/pandas/tests/test_typedef.py +++ b/python/pyspark/pandas/tests/test_typedef.py @@ -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()),