3
I have this code:
dados_train = pd.read_csv('arquivo.csv', delimiter=",")
y = ((dados_train.pop('col_name1') - dados_train.pop('col_name2')) + (dados_train.pop('col_name2')
When I try to run just like this:
y = (dados_train.pop('col_name1') - dados_train.pop('col_name2')
Works!
But when I try:
y = ((dados_train.pop('col_name1') - dados_train.pop('col_name2')) + (dados_train.pop('col_name2')
Makes a mistake!
Why does this happen? Someone would know a solution?
Thanks for the help William! It worked!
– Patricia Padula Lopes
Nothing, no doubt, make yourself at home.
– Guilherme França de Oliveira