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

AttributeError: 'numpy.ndarray' object has no attribute 'to_csv' #348

Closed
jwc905 opened this issue Jul 13, 2019 · 3 comments
Closed

AttributeError: 'numpy.ndarray' object has no attribute 'to_csv' #348

jwc905 opened this issue Jul 13, 2019 · 3 comments
Assignees
Labels
priority: MEDIUM medium priority

Comments

@jwc905
Copy link

jwc905 commented Jul 13, 2019

The scan parameter docs say that x and y should be a Numpy ndarray and using that the scan works just fine, but when I try to Deploy I get the following error when trying to save the x and y data to csv.:

AttributeError: 'numpy.ndarray' object has no attribute 'to_csv'

And of course, ndarray doesn't have a to_csv method, so I'm confused by the discrepancy. Is a Pandas Dataframe expected? If so what format is expected? I've had trouble getting the scan to accept a Dataframe.

Note: I'm currently using the latest daily-dev release of v0.6.1

@mikkokotila mikkokotila added the priority: MEDIUM medium priority label Jul 15, 2019
@mikkokotila mikkokotila self-assigned this Jul 15, 2019
@mikkokotila
Copy link
Contributor

Thanks for flagging this. It is an internal issue in Deploy I was not aware of. Will look into it.

@mikkokotila
Copy link
Contributor

Please post the full trace for the error you are getting. Thanks.

@mikkokotila mikkokotila added investigation gathering information fixed-daily-dev priority: MEDIUM medium priority and removed priority: MEDIUM medium priority investigation gathering information labels Jul 15, 2019
mikkokotila added a commit that referenced this issue Jul 15, 2019
@mikkokotila
Copy link
Contributor

This is now fixed. Closing here. Thanks again and have a nice new week ahead as well.

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

No branches or pull requests

2 participants