set_times
- set_times(gpt, times)
Creates a new
Geopointswith all the times ingptreplaced 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
timesis a single time all the times are replaced with it. Iftimesis a list or ndarray and is shorter than the geopoints count then only the first times that have a corresponding value intimesare changed.