Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to import a csv file from a directory #26

Open
harshadudeja opened this issue Nov 13, 2024 · 0 comments
Open

How to import a csv file from a directory #26

harshadudeja opened this issue Nov 13, 2024 · 0 comments

Comments

@harshadudeja
Copy link

I am trying to import my csv file for using secml. However, when i use load(path), im getting
ds=CDataset.load(file_path)
File "C:\Users\EH0025TU\anaconda3\envs\aml\lib\site-packages\secml\core\c_creator.py", line 577, in load
loaded_obj = pck.load(path)
File "C:\Users\EH0025TU\anaconda3\envs\aml\lib\site-packages\secml\utils\pickle_utils.py", line 71, in load
return pickle.load(f_ref, encoding=encoding)
File "C:\Users\EH0025TU\anaconda3\envs\aml\lib\gzip.py", line 307, in peek
return self._buffer.peek(n)
File "C:\Users\EH0025TU\anaconda3\envs\aml\lib_compression.py", line 68, in readinto
data = self.read(len(byte_view))
File "C:\Users\EH0025TU\anaconda3\envs\aml\lib\gzip.py", line 474, in read
if not self._read_gzip_header():
File "C:\Users\EH0025TU\anaconda3\envs\aml\lib\gzip.py", line 422, in _read_gzip_header
raise OSError('Not a gzipped file (%r)' % magic)
OSError: Not a gzipped file (b'0,')
Please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant