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

Update pandas read_csv quoting values in multiple feeds #1023

Merged
merged 5 commits into from
Feb 21, 2024

Conversation

0xRet
Copy link
Contributor

@0xRet 0xRet commented Feb 20, 2024

I had multiple feeds failing while using pandas read_csv: Failed: Argument 'quoting' has incorrect type (expected int, got bool)

According to pandas docs the quoting field expects integers:
https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html

I have change the value to 1 (QUOTE_ALL) on Feodo, Urlhaus and MalwareBazaar, and let it to default (0) on sslblacklist feeds.

Copy link
Collaborator

@tomchop tomchop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@tomchop tomchop merged commit 0608262 into yeti-platform:main Feb 21, 2024
2 checks passed
@tomchop tomchop added the bug label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants