I have a condition like this:
!(log(RevolvingUtilizationOfUnsecuredLines) > 3)
I want to assign all values in the Dataseries based on this condition.
Something like:
df.loc[np.log(df.RevolvingUtilizationOfUnsecuredLines) > 3, 'WeirdRevolvingUtilization'] = 0
I can't seem to find anything using custom functions like a Log or anything, any ideas?