Initial commit
This commit is contained in:
parent
d4028fca11
commit
a578239c4f
32 changed files with 2559 additions and 0 deletions
9
Demo/scripts/my_spark_job.py
Normal file
9
Demo/scripts/my_spark_job.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import stackit_spark
|
||||
import time
|
||||
import pandas as pd
|
||||
|
||||
spark = stackit_spark.get_spark()
|
||||
data = pd.DataFrame({"number": [10]})
|
||||
df = spark.createDataFrame(data)
|
||||
time.sleep(30)
|
||||
df.show()
|
||||
Loading…
Add table
Add a link
Reference in a new issue