pvlib.clearsky.detect_clearsky returns ‘ValueError: index can’t contain negative values’
I am using pvlib.clearsky.detect_clearsky to detect if it’s clear sky, I am sure the inputs are series data with time, but it returns ‘ValueError: index can’t contain negative values’.