-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi There!
I'm trying to load the data as list of sequences as show below
from pycspade.helpers import spade, print_result
spade([[1, 1,[ 2]],
[1, 2, [1]],
[2, 1, [2]]])
I get the following error
TypeError Traceback (most recent call last)
in ()
1 spade([[1, 1,[ 2]],
2 [1, 2, [1]],
----> 3 [2, 1, [2]]])~\AppData\Local\Continuum\anaconda3\lib\site-packages\pycspade\helpers.py in spade(filename, data, support, maxsize, maxlen, mingap, maxgap, memsize, numpart, maxwin, bfstype, tid_lists, parse)
123 raise Exception('You must provide either filename or data')
124
--> 125 if filename and not os.path.isfile(filename):
126 raise Exception('File {} does not exist'.format(filename))
127~\AppData\Local\Continuum\anaconda3\lib\genericpath.py in isfile(path)
28 """Test whether a path is a regular file"""
29 try:
---> 30 st = os.stat(path)
31 except OSError:
32 return FalseTypeError: stat: path should be string, bytes, os.PathLike or integer, not list
I'm using :
- python 3.6.4
- windows 10
- running on Jupyter noetbook