Currently, if an empty frame (but with the correct cols) is passed to classify, we get: ValueError: The truth value of a GeoDataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()., which is a confusing error that doesn't make it clear what the issue actually is.
This PR also adds a warning to identify if no CEs are identified.
Currently, if an empty frame (but with the correct cols) is passed to
classify
, we get:ValueError: The truth value of a GeoDataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
, which is a confusing error that doesn't make it clear what the issue actually is.This PR also adds a warning to
identify
if no CEs are identified.