Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

DASH - Calling a python function using a form button

Hy, guys !

I have a python function that returns one random row from a dataframe. How do a call that function using a button created by app.dash and save the return from the function in another variable ?