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

Memory Error loading Europe-Full.tsv data #1

Open
anisotropi4 opened this issue Jan 4, 2023 · 0 comments
Open

Memory Error loading Europe-Full.tsv data #1

anisotropi4 opened this issue Jan 4, 2023 · 0 comments

Comments

@anisotropi4
Copy link

When loading the Europe-Full.tsv data I get the following error MemoryError and the script crashes

 Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "road_data_processing.ipynb", line 4, in <module>
    df = pd.read_csv('data/Europe-Full.tsv', sep='\t',header=None)
  ...
  File "pandas/_libs/parsers.pyx", line 808, in pandas._libs.parsers.TextReader.read_low_memory
  File "pandas/_libs/parsers.pyx", line 890, in pandas._libs.parsers.TextReader._read_rows
  File "pandas/_libs/parsers.pyx", line 1037, in pandas._libs.parsers.TextReader._convert_column_data
  File "pandas/_libs/parsers.pyx", line 1083, in pandas._libs.parsers.TextReader._convert_tokens
  File "pandas/_libs/parsers.pyx", line 1233, in pandas._libs.parsers.TextReader._convert_with_dtype
  File "pandas/_libs/parsers.pyx", line 1246, in pandas._libs.parsers.TextReader._string_convert
MemoryError
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