isotopylog.EDistribution.drop¶
-
EDistribution.drop(index)¶ Method for dropping entries from the existing list of k values. Useful if an
EDistributioninstance contains repeat or spurrious entries that should be dropped.Parameters: index (int or slice) – The index of the ed.kdslist to be dropped. Must be either an integer or a slice.Examples
Removing a given element from an existing EDistribution, ed:
#say, drop element zero ed.drop(0)