Closed aniforatos closed 3 months ago
Welp, I figured it out!
A couple of things:
The code looks like this:
df = pd.read_sql(self.get_query(), con=self.conn)
gui = pandasgui.show(df, user_feedback=self.instructions, settings={"block": False})
pgdf = gui.store.data["df"]
self.add_filters(pgdf)
gui.app.exec_()
Hello,
I would like to programmatically pass filter expressions to pandasgui so that they can be populated on the UI when I launch it.
I apologize if this is already do-able, I have been unable to find much documentation surrounding this feature.
I would like this filter to appear as soon as the window is launched so I dont have to keep re-typing it every time I launch the UI:![image](https://github.com/adamerose/PandasGUI/assets/72170975/05a1d40e-01ec-4513-a25c-2bcc84b9a044)