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

fread option to skip certain rows or rows with reading errors #2765

Open
spedygiorgio opened this issue Apr 18, 2018 · 2 comments
Open

fread option to skip certain rows or rows with reading errors #2765

spedygiorgio opened this issue Apr 18, 2018 · 2 comments

Comments

@spedygiorgio
Copy link

Hi, thanks for your great package. Is it possible to add options to fread either to skip certain data rows or to skip rows with decoding error (as in Python pandas read_csv).

@st-pasha
Copy link
Contributor

Do you mean this option:

    error_bad_lines : boolean, default True
        Lines with too many fields (e.g. a csv line with too many commas) will by
        default cause an exception to be raised, and no DataFrame will be returned.
        If False, then these "bad lines" will dropped from the DataFrame that is
        returned.

or some other? Please elaborate on what do you mean by "decoding error".

@spedygiorgio
Copy link
Author

spedygiorgio commented Apr 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants