0
orderID,pizzaType,size,topping,comment,state (this is the header)

0000001,original,lar,Tuna,Extra ham,Unchecked (data for each header)

0000002,original,lar,Tuna,Extra ham,Unchecked

0000003,original,lar,Tuna,Extra ham,Unchecked

0000004,original,lar,Tuna,Extra ham,Unchecked

0000005,original,lar,Tuna,Extra ham,Unchecked

0000006,original,lar,Tuna,Extra ham,Unchecked

I have this data in my csv and by using pandas i want to select the row with the name state and then by using index change the value in that row. For an example i want to change the state of the order with id 0000005 i image it something like row[5]=checked

Mayank Porwal
  • 31,737
  • 7
  • 30
  • 50
Stoyan
  • 1

0 Answers0