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

Reading from CSV error - TypeError: expected string or bytes-like object #41

Open
yuva670 opened this issue Oct 21, 2020 · 0 comments
Open

Comments

@yuva670
Copy link

yuva670 commented Oct 21, 2020

Traceback (most recent call last):
File "csv_parse.py", line 14, in
parsed_text = CommonRegex({row[2]})
File "/Users/mviraktamath/.pyenv/versions/3.8.6/lib/python3.8/site-packages/commonregex.py", line 53, in init
setattr(self, key, method())
File "/Users/mviraktamath/.pyenv/versions/3.8.6/lib/python3.8/site-packages/commonregex.py", line 39, in regex_method
return [x.strip() for x in self.regex.findall(text or self.obj.text)]
TypeError: expected string or bytes-like object

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