![]() ![]() | | |- element: double (containsNull = true) | |- element: double (containsNull = true) ![]() ![]() show () Click to see expected script output. withColumn ( 'fft', spark_fft_array ( 'nx_value' )) result. udf ( fft_arrays, schema ) result = vectors. printSchema () schema = StructType () def fft_arrays ( x ): tran = np. withColumn ( "nx_value", col ( "nxcals_value" )). select ( 'nxcals_value' ) vectors = data. Import numpy as np import as F from .builders import DataQuery from import col from import ArrayType from import DoubleType from import StructField from import StructType data = DataQuery. Working with snapshots and variable lists ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |