tskit icon indicating copy to clipboard operation
tskit copied to clipboard

Update tracked_samples to natively use numpy array.

Open jeromekelleher opened this issue 7 years ago • 1 comments

#391 changed the TreeSequence.samples method to return a numpy array. Change the .trees() method to use a numpy array without first changing to a python list. Needs an update to the low level C API.

jeromekelleher avatar Feb 02 '18 13:02 jeromekelleher

Also remove the conversion to list() in the Python code.

jeromekelleher avatar Feb 12 '20 17:02 jeromekelleher