I am creating a library management system using tkinter and used pandas to read the data of books. I am wondering how will I be able to create a interactive table where a user can select a row and when they pressed a button I can make a command and do something with that row of data. Here is the dataframe I am working with:
TITLE AUTHOR PUBLICATION_DATE IDENTIFICATION_NO. BOOK_ITEM SUBJECT_CATEGORY
0 NaN NaN NaN NaN NaN NaN
1 Bar Review Materials in Commercial Law Jorge V. Marivite 1998.0 001/Ge003/1998 5.0 Generalities
2 Rubdob ng Tag-Init Nick Joaquin 2017.0 002/Ge004/2017 4.0 Generalities
3 A Research Primer Consuelo G. Sevilla 1990.0 003/Ge005/1990 3.0 Generalities
4 Data Networks Uyless D. Black 1989.0 004/Ge006/1989 2.0 Generalities
.. ... ... ... ... ... ...
505 World History Gregorio F. Zaide 1994.0 962/Gh507/1994 2.0 Geography and History
506 Another Report About Magellan's Circumnavigati... Fernando Oliveira 2002.0 963/Gh508/2002 2.0 Geography and History
507 Journey to Majayjay Paul P. de la Gironiece 1983.0 964/Gh509/1983 7.0 Geography and History
508 The Malayan Connection Zeus A. Salazar 1998.0 965/Gh510/1998 5.0 Geography and History
509 Jose Rizal: Life, Works and Writings of a Geni... Gregorio F. Zaide 2014.0 966/Gh511/2014 3.0 Geography and History