Questions tagged [pandastable]

Pandastable provides a table widget for tkinter.

Documentation can be found here.

21 questions
0
votes
1 answer

CustomTkinter grid placement

I'm trying to use customTkinter to display the contents of a MySQL database, but the placement of the table doesn't match the placement I've assigned in the grid. I'm pretty new to GUI Programming, so I'd love your help. Here's my code: import…
0
votes
1 answer

In Python with Tinkter, how can I use a grid to display a PandasTable instead of pack?

I am researching how to use Tkinter ( CustomTkinter ) and I would like to display a pandastable using the Tkinter GRID layout, instead of the PACK layout. The code below will show the table but it is taking up the entire frame. The entire project is…
vscoder
  • 929
  • 1
  • 10
  • 25
0
votes
0 answers

Pandas table - table dissapear after multiple updates by using show() function

Im trying to update table2 when new cell in table1 is selected. first I bind table1 left mouse click as follow: proj.pt_table1.bind('',lambda e: update_table2(e, table2frame, proj)) then update_table2 function handling the table2…
Guy Barda
  • 11
  • 3
0
votes
0 answers

Can't plot from pandastable Data Explorer

I'm trying to use pandastable Data Explorer to plot data. I have a simple data frame generated from the following code: data = [['Jan', 1.2], ['Feb', 0.98], ['Mar', 1.12], ['Apr', 0.54], ['May', 0.99], ['Jun', 1.12]] df_EmployeeTTest =…
Jim Rutter
  • 45
  • 4
0
votes
0 answers

How can I create a new dataframe based off a user's row selection within PandasTable in Tkinter GUI?

Given the following Tkinter GUI with PandasTable, I would like to return the entirety of a row based on the user's selection. Ideally, I'd like to throw it into a new dataframe that I can manipulate and work with. I did find some information…
0
votes
1 answer

Missing Columns in pandastable in tkinter

I am trying to display a dataframe in a frame on my tkinter app. I want to group my values by the first 2 columns and get the sum of all the values per unique pair. While working with the dataframe everything is working as expected. Printed in the…
0
votes
0 answers

Change background or fill color of a cell in pandastable

I am using pandastable to display a pandas dataframe. I would like to set the fill color or the background color of a cell based on the value. Is there a function I can call which takes row index, column index and color? BTW, when I right click on a…
0
votes
0 answers

permission denied pandastable

I have an issue with pandastable: When I want to import pandastable to display data frame in tkinter, I got an error : [Errno 13] Permission denied: '/Users/me/.config/pandastable' Thanks I've already uninstall/install it but it doesn't change…
Axel
  • 11
  • 2
0
votes
0 answers

How to create a table shares a vector but has different groups?

I want to create a table using pandas and pandastable. Table should be like this. How it should be Because of privacy issues I can not share any code or screenshot I did so far. But I am getting something quite similar to this. Timeinstance's are…
0
votes
1 answer

PandasTable: Highlight greatest value per group

I'm new to Python. I have a dataframe and a datatable to show it in a GUI. Step 1: For every couple of unique values in column A and B, I need to search for the maximum value in column 'C' I managed to do it with groupby (see code) In this picture,…
Chakot
  • 39
  • 4
0
votes
1 answer

Hide PandasTable row index

enter image description herefor display purposes, I would like to hide the row identifier's in pandastable, and I can find no documentation on how this may be possible.
jrl
  • 1
  • 2
0
votes
0 answers

Error when display DataFrame with PandasTable

The strange thing is that when I press the Generate button, the Dataframe is not seen, but if I turn the mouse wheel, it appears. I've already tried to find the solution but I haven't found anything similar. The code I share is just the code for the…
0M1N1D0
  • 3
  • 1
0
votes
2 answers

Is there a way to color a row based on a column value in a column in Pandastable

enter c What I want to do is to Change the row colors based on the values in the column TYPE. W =Yellow, E= Red and I= Blue. I am new to pandastable. Any Ideas Code here Table I want to modify def ElogsOpen (): #function to strip logs and…
HASS
  • 1
  • 1
0
votes
0 answers

Why is pandastable not putting value in correct box?

I'm trying to make a leaderboard using tkinter and pandastable however, on the last column the pandastable incorrectly places the values this happens in every rows last column. I have tried to manually put in the numbers but the value is still…
Noah Robb
  • 59
  • 1
  • 7
0
votes
2 answers

How to check if value is in dictionary or why it isn't working?

Currently I'm trying to make a leaderboard and I want to check if the name of the person is already on the board so it doesn't keep adding to the dictionary I've tried checking if it's there by using this line: if ("Name",…
Noah Robb
  • 59
  • 1
  • 7
1
2