set_times
- set_times(gpt, times)
Creates a new
Geopoints
with all the times ingpt
replaced bytimes
.- Parameters
gpt (
Geopoints
) – input geopointstimes (number or list/ndarray of numbers) – dates to be written into
gpt
- Return type
A time value has to specified as a number in the format of hhmm (without leading zeros).
If
times
is a single time all the times are replaced with it. Iftimes
is a list or ndarray and is shorter than the geopoints count then only the first times that have a corresponding value intimes
are changed.