dropna (pyleoclim.utils.tsutils.dropna)¶
- pyleoclim.utils.tsutils.dropna(ys, ts, verbose=False)[source]¶
Remove entries of ys or ts that bear NaNs
- Parameters
ys (array) – A time series, NaNs allowed
ts (array) – The time axis of the time series, NaNs allowed
verbose (bool) – If True, will print a warning message
- Returns
ys (array) – The time series without nans
ts (array) – The time axis of the time series without nans