-
Notifications
You must be signed in to change notification settings - Fork 2
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
Result to a numpy / panda frame? #134
Comments
- add read-only property `lt_array` to `Dataset` that provides the raw distances data as a 1-d numpy array - add example of use to readme - bump deps - add python 3.13 - bump version - resolves #134
- add read-only property `lt_array` to `Dataset` that provides the raw distances data as a 1-d numpy array - add example of use to readme - bump deps - add python 3.13 - temporarily skip tests for Python 3.13 wheel on linux due to numpy import error - bump version - resolves #134
@jjkoehorst with version 1.3.0 you should be able to directly access the distances as a 1-d numpy array
The elements in this array are in lower-triangular order, i.e. correspond to the 2-d indices (row=1,col=0), (row=2,col=0), (row=2,col=1), ...
Hopefully that is helpful, free to re-open this issue if not. |
I could not find it in the documentation but what is the best / most efficient way of transforming the object to a panda or numpy dataframe? Currently writing the file to disk and loading it again but there might be a better way?
Thanks a lot for the extremely fast program!
The text was updated successfully, but these errors were encountered: