You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
when I use the command obj = smps.io.smps_from_txt(r'file name')
Expected behavior
I believe that this is what I should be doing to get the file to load in
Desktop (please complete the following information):
OS: Windows 11
used py -m pip install py-smps --pre to install py-smps
Python Environment (please complete the following information)
using visual studio code
Below is the error I receive:
Traceback (most recent call last):
File "c:\Users\aydan\hello\smpsPlayground.py", line 8, in
obj = smps.io.smps_from_txt(r"C:\Users\aydan\hello\SMPS_3082002329005_20240413_155758.csv")
File "C:\Users\aydan\hello.venv\lib\site-packages\smps\io.py", line 90, in smps_from_txt
ts = pd.read_table(
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 1405, in read_table
return _read(filepath_or_buffer, kwds)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 620, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 1620, in init
self._engine = self._make_engine(f, self.engine)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 1898, in _make_engine
return mapping[engine](f, **self.options)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 93, in init
self._reader = parsers.TextReader(src, **kwds)
File "parsers.pyx", line 581, in pandas._libs.parsers.TextReader.cinit
pandas.errors.EmptyDataError: No columns to parse from file
The text was updated successfully, but these errors were encountered:
Describe the bug
I am having trouble getting my
SMPS_3082002329005_20240413_155758.csv
file to load with AIM 12
To Reproduce
when I use the command
obj = smps.io.smps_from_txt(r'file name')
Expected behavior
I believe that this is what I should be doing to get the file to load in
Desktop (please complete the following information):
used py -m pip install py-smps --pre
to install py-smpsPython Environment (please complete the following information)
Below is the error I receive:
Traceback (most recent call last):
File "c:\Users\aydan\hello\smpsPlayground.py", line 8, in
obj = smps.io.smps_from_txt(r"C:\Users\aydan\hello\SMPS_3082002329005_20240413_155758.csv")
File "C:\Users\aydan\hello.venv\lib\site-packages\smps\io.py", line 90, in smps_from_txt
ts = pd.read_table(
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 1405, in read_table
return _read(filepath_or_buffer, kwds)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 620, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 1620, in init
self._engine = self._make_engine(f, self.engine)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\readers.py", line 1898, in _make_engine
return mapping[engine](f, **self.options)
File "C:\Users\aydan\hello.venv\lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 93, in init
self._reader = parsers.TextReader(src, **kwds)
File "parsers.pyx", line 581, in pandas._libs.parsers.TextReader.cinit
pandas.errors.EmptyDataError: No columns to parse from file
The text was updated successfully, but these errors were encountered: