Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Carey Brown
  • Frits Walraven

How do I modify and update a cell in excel using python based on a users input

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I know how to make a new dataframe and transfer it to a demo excel file and call it sheet1. I also know how to append new data into a current existing excel file.

What I want to know is how to modify a cell based on input from user and update the information to the existing cell in the excel file. Using the if statements seems like it works but does not update the excel file. I also want to know if there is an easier way around this besides using a lot of else if's. I only want to change one name at a time.

I'd appreciate any help I can get!
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Two software engineers solve most of the world's problems in one K&R sized book
    Bookmark Topic Watch Topic
  • New Topic