pvanalytics.quality.time.spacing#

pvanalytics.quality.time.spacing(times, freq)#

Check that the spacing between times conforms to freq.

Parameters
  • times (DatetimeIndex) –

  • freq (string or Timedelta) – Expected frequency of times.

Returns

True when the difference between one time and the time before it conforms to freq.

Return type

Series

Notes

Copyright (c) 2019 SolarArbiter. See the file LICENSES/SOLARFORECASTARBITER_LICENSE at the top level directory of this distribution and at https://github.com/pvlib/pvanalytics/blob/master/LICENSES/SOLARFORECASTARBITER_LICENSE for more information.