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

No Exception Handling for Reading a Single Line CSV #265

Open
Lancasterwu opened this issue Mar 14, 2019 · 0 comments
Open

No Exception Handling for Reading a Single Line CSV #265

Lancasterwu opened this issue Mar 14, 2019 · 0 comments
Assignees
Labels

Comments

@Lancasterwu
Copy link
Contributor

Description of the Issue

Add Detailed Comment with More Information

Due to we used function has_header from csv package. If the input CSV file for read_student_file.py is a single line CSV file, has_header will crash since there is no comparison and the function cannot recognize if there is a header or not. An exception handling supposes to work when the user imports a CSV file that only has a single line.

Steps to Reproduce Issue

Try to run any grouping method with a single line CSV file as input file.

Assigned Developers

@Lancasterwu

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

No branches or pull requests

1 participant