Home > Back-end >  Giving input such that it reads the exact dataset among the others tkinter
Giving input such that it reads the exact dataset among the others tkinter

Time:12-18

I have a certain number of datasets and I've given numbers to each of them as the names let's consider 20 datasets, so the names are 1.csv, 2.csv and so on.

I'm trying to give an input, here the number(name of the dataset) so that my code reads and works on that dataset. How do I make that possible?

I've done something like giving input and changing it into a string and using pandas read_csv(string ".csv") but the code's not working

Can anyone help out?

CodePudding user response:

pandas read_csv(string ".csv") I have done this and it works, I had to change the integer to string first.

  • Related