I want to do something like:
if table['STATUS']=='A'or 'P':
table['END_DATE']=end_date
In order to replace the value of END_DATE for those rows that have a S or P in STATUS Which yields the
ValueError: The truth value of an array is ambiguous. Use a.empty, a.any() or a.all().
I get that it is due to the array adressing... This seems to be a petty common issue but I can't seem to find a suitable answer what is the Right constuct to use here? I can't figure it out from the docs...which say to use .any()