pandas has a 'replace' function that allows to replace one value with another, but it seems to me not the best option if I have a column with numbers that are represented as strings and I want to convert to integers, is there a better way to do it? ('replac'e will only work for the whole dataframe...)
df.replace('0', int(0))
is too long to implement. is there something more specific?