Passing values to tabs

Can I pass a variable, (DataFrame) in the options while selecting the tab.
That it when user clicks the tab the tab is selected with some sort of input. Which is the dataframe created by the main tab?