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

Support for pandas.Series in LibGMT.put_vector or LibGMT.vectors_to_vfile #94

Closed
leouieda opened this issue Dec 4, 2017 · 0 comments
Closed

Comments

@leouieda
Copy link
Member

leouieda commented Dec 4, 2017

Currently, you can't pass in columns of a pandas Dataframe directly. You have to convert them to numpy arrays. It would be good if this conversion happened in the background.

leouieda added a commit that referenced this issue Dec 19, 2017
Get the underlying numpy array from the pandas.Series.
Group the conversion with C contiguous order check in 
gmt.clib.utils.vectors_to_arrays function.

Fixes #94
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