Challenge
Let's replace the negative values in the 'empinch' and 'invsth' columns with zeros using the .where() method.
Compito
Swipe to start coding
- Select the
'empinch'and'invsth'columns. - Apply the
.where()method to chosen columns. - Set the condition what values must be replaced (these must be negative values). Remember, values that don't satisfy this condition will be replaced.
- Set the parameter what values must be used instead of replaced ones.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 5
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Riassuma questo capitolo
Explain code
Explain why doesn't solve task
Fantastico!
Completion tasso migliorato a 2.56
Challenge
Scorri per mostrare il menu
Let's replace the negative values in the 'empinch' and 'invsth' columns with zeros using the .where() method.
Compito
Swipe to start coding
- Select the
'empinch'and'invsth'columns. - Apply the
.where()method to chosen columns. - Set the condition what values must be replaced (these must be negative values). Remember, values that don't satisfy this condition will be replaced.
- Set the parameter what values must be used instead of replaced ones.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 5
single