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

to_csv doesn't work if folder doesn't exist #91

Open
angela-li opened this issue Feb 14, 2020 · 0 comments
Open

to_csv doesn't work if folder doesn't exist #91

angela-li opened this issue Feb 14, 2020 · 0 comments

Comments

@angela-li
Copy link
Member

In the demo, the to_csv() function in cell 16 will return an error because the function does not create the "models" folder if it does not already exist. (it's a pandas issue: pandas-dev/pandas#24306)

Perhaps convert the data type from a pandas dataframe to a matrix & write to csv? Or check if folder exists, if not create it. Or in the demo notebook, include a note that says "Please create a models directory if you don't have one".

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