Once again I'm here in this awesome community asking for help. I found some similar questions, but not exactly like that.
I wrote a program in Python with the porpouse to be a didatic tool (as the commercial softwares are so expensive).
My code are already finished and now I'm trying to put it in a simple GUI to my students. (I'm using tkinter, by the way)
The code beneath is a parte of it where I'm calling the tk application for importing data through a import wizard and it stores the data as a pandas dataframe.
import tkinter as tk
from tkinter import filedialog
import pandas as pd
import numpy as np
#import data
ascii_well=filedialog.askopenfilename()
df_test=pd.read_csv(ascii_well, sep="\s+", index_col=0, na_values=-999.25)
print(df_teste)
Out[5]:
a b c
IDX
0 2.1 2.2 30
1 2.2 2.3 150
What I want to put in my GUI is a way to display this DataFrame (if it was easyer to implement, could be an array instead). But i don't want to just diplay the data to the user. I want to implement is a way that the end-user could not only see the data, but also change the values of the dataframe.
For a simple exemple
Let's say the user want to change de value 2.1 (column "a", IDX=0) to 3.
I'm writing my code on spyder, Python 3.
Thanks, guys!!