FileNotFoundError: [Errno 2] File /home/jupyter/.fastai/data/rossmann/train.csv does not exist: '/home/jupyter/.fastai/data/rossmann/train.csv'

There is no data and model in .fastai folder

PATH=Config().data_path()/Path(‘rossmann/’)
table_names = [‘train’, ‘store’, ‘store_states’, ‘state_names’, ‘googletrend’, ‘weather’, ‘test’]
tables = [pd.read_csv(PATH/f’{fname}.csv’, low_memory=False) for fname in table_names]
train, store, store_states, state_names, googletrend, weather, test = tables
len(train),len(test)

FileNotFoundError Traceback (most recent call last)
in
1 PATH=Config().data_path()/Path(‘rossmann/’)
2 table_names = [‘train’, ‘store’, ‘store_states’, ‘state_names’, ‘googletrend’, ‘weather’, ‘test’]
----> 3 tables = [pd.read_csv(PATH/f’{fname}.csv’, low_memory=False) for fname in table_names]
4 train, store, store_states, state_names, googletrend, weather, test = tables
5 len(train),len(test)

in (.0)
1 PATH=Config().data_path()/Path(‘rossmann/’)
2 table_names = [‘train’, ‘store’, ‘store_states’, ‘state_names’, ‘googletrend’, ‘weather’, ‘test’]
----> 3 tables = [pd.read_csv(PATH/f’{fname}.csv’, low_memory=False) for fname in table_names]
4 train, store, store_states, state_names, googletrend, weather, test = tables
5 len(train),len(test)

/opt/conda/lib/python3.7/site-packages/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
674 )
675
–> 676 return _read(filepath_or_buffer, kwds)
677
678 parser_f.name = name

/opt/conda/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
446
447 # Create the parser.
–> 448 parser = TextFileReader(fp_or_buf, **kwds)
449
450 if chunksize or iterator:

/opt/conda/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
878 self.options[“has_index_names”] = kwds[“has_index_names”]
879
–> 880 self._make_engine(self.engine)
881
882 def close(self):

/opt/conda/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1112 def _make_engine(self, engine=“c”):
1113 if engine == “c”:
-> 1114 self._engine = CParserWrapper(self.f, **self.options)
1115 else:
1116 if engine == “python”:

/opt/conda/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1889 kwds[“usecols”] = self.usecols
1890
-> 1891 self._reader = parsers.TextReader(src, **kwds)
1892 self.unnamed_cols = self._reader.unnamed_cols
1893

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.cinit()

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source()

FileNotFoundError: [Errno 2] File /home/jupyter/.fastai/data/rossmann/train.csv does not exist: ‘/home/jupyter/.fastai/data/rossmann/train.csv’

1 Like

Same issue here.