so I'm having problems converting an object to an int in python. my code is
df['non_renewable'].astype(str).astype(int)
however, when I do this, I get the error code
ValueError: invalid literal for int() with base 10: '100%'
what are some solutions to this error?