Description
The following new issues are detected when type checked with mypy==0.931
python/pyspark/pandas/base.py:879: error: "Sequence[Any]" has no attribute "tolist" [attr-defined] python/pyspark/sql/tests/test_pandas_udf_typehints_with_future_annotations.py:268: error: Incompatible return value type (got "floating[Any]", expected "float") [return-value] python/pyspark/sql/tests/test_pandas_udf_typehints.py:265: error: Incompatible return value type (got "floating[Any]", expected "float") [return-value]