argopy.ArgoIndex.copy#
- ArgoIndex.copy(deep: bool = True) Self#
Returns a copy of this
ArgoIndexinstanceA copy is a new instance based on similar parameters (e.g.
hostandindex_file).A deep copy ensure complete independence between the original and the copied index. If the index was loaded, a new view is returned with the copied index, but search parameters and results are lost.
A shallow copy preserves the index array, search parameters and results.