Spark-TS throws error on the Python Stocks.py example

192 views
Skip to first unread message

abhinanda...@gmail.com

unread,
Dec 15, 2016, 2:24:33 PM12/15/16
to Time Series for Spark (the spark-ts package)
I am using Sprak-TS for my term project and while running the Stocks.py example, I get the following error :
    
Traceback (most recent call last):
  File "/Users/abhinandandubey/Desktop/bda_project/Stocks.py", line 35, in <module>
    freq = BusinessDayFrequency(1, 1, sc)
TypeError: __init__() takes exactly 3 arguments (4 given)
16/12/15 14:17:37 INFO SparkContext: Invoking stop() from shutdown hook

dzra...@gmail.com

unread,
Aug 29, 2017, 11:24:27 AM8/29/17
to Time Series for Spark (the spark-ts package), abhinanda...@gmail.com
Hey,

My name is Rajesh, I having similar issue as below.
Are you able to find resolution by any chance
Message has been deleted

shukla...@gmail.com

unread,
Sep 2, 2017, 6:55:50 AM9/2/17
to Time Series for Spark (the spark-ts package), abhinanda...@gmail.com
How you overcome this isssue? I am using updated file of datatimeindex.py

pisals...@gmail.com

unread,
May 23, 2018, 8:40:48 AM5/23/18
to Time Series for Spark (the spark-ts package)
Remove sc from the function call


On Friday, December 16, 2016 at 12:54:33 AM UTC+5:30, abhinanda...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages