Updating the Data table based on the row index

I am aiming at creating a data table in the web app. MY data frame originally contains about 58 rows .But I want only one row to be displayed, for which, I am creating a drop down.The values of the drop downs correspond to the row index of the data frame. In the call back function, I am slicing the data frame (a particular row based on the drop down value) and then converting that series object to data frame. I am attempting to pass this data frame to to the table component. But I am not sure as to which is the property I want to update. specifying ‘data’ or ‘row’ as the component property, in dash.dependencies.Output threw an error. Help would be much appreciated.