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

ValueError: Usecols do not match columns, columns expected but not found: ['Write your confession here:'] #1

Open
FineWhale opened this issue Mar 16, 2022 · 0 comments

Comments

@FineWhale
Copy link

Traceback (most recent call last):
File "D:\igmenfess\Auto-Instagram-Confessions-main\main.py", line 13, in
p = pd.read_csv(url_1, usecols= ['Write your confession here:'])
File "D:\paiton\lib\site-packages\pandas\util_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "D:\paiton\lib\site-packages\pandas\io\parsers\readers.py", line 680, in read_csv
return _read(filepath_or_buffer, kwds)
File "D:\paiton\lib\site-packages\pandas\io\parsers\readers.py", line 575, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "D:\paiton\lib\site-packages\pandas\io\parsers\readers.py", line 933, in init
self._engine = self._make_engine(f, self.engine)
File "D:\paiton\lib\site-packages\pandas\io\parsers\readers.py", line 1231, in _make_engine
return mapping[engine](f, **self.options)
File "D:\paiton\lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 131, in init
self._validate_usecols_names(usecols, self.orig_names)
File "D:\paiton\lib\site-packages\pandas\io\parsers\base_parser.py", line 913, in _validate_usecols_names
raise ValueError(
ValueError: Usecols do not match columns, columns expected but not found: ['Write your confession here:']

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