Python Persistent Variable In Function Tableau