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

expand result.values(...) -function #20

Open
rubenbaetens opened this issue Feb 12, 2013 · 2 comments
Open

expand result.values(...) -function #20

rubenbaetens opened this issue Feb 12, 2013 · 2 comments

Comments

@rubenbaetens
Copy link
Contributor

The current result.values( ) function returns the retrieved results as a list. Maybe it is desirable to include an option 'type' to retrieve the results as a numpy array making certain scripts much more readable and shorter.

eg.

  • result.values( ) returns as a list
  • result.values( 'np' ) returns as a numpy array
@saroele
Copy link
Owner

saroele commented Feb 12, 2013

We could also make a result.array() method. I was also thinking to make the transition to a pandas dataframe more built-in with a result.dataframe() method. Maybe differentiating in the methods is better than using an argument to differentiate what one single method returns?

@rubenbaetens
Copy link
Contributor Author

in such way of thinking, also a function result.sum() might be favourable.

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

2 participants