Adds a new reindex: bool argument to RDMs.sort_by(), default True, which resets the index after sorting.
@JasperVanDenBosch suggested that it also throw a depricationwarning, but I'm not sure what the policy is on this.
Fixes #358.
Some issues
If the RDMs has a pattern_descriptor named "reindex", this will upset the function. I'm not sure what to do about this, other than change the signature of sort_by().
Adds a new
reindex: bool
argument toRDMs.sort_by()
, defaultTrue
, which resets the index after sorting.@JasperVanDenBosch suggested that it also throw a depricationwarning, but I'm not sure what the policy is on this.
Fixes #358.
Some issues
If the RDMs has a
pattern_descriptor
named "reindex", this will upset the function. I'm not sure what to do about this, other than change the signature ofsort_by()
.