Need guidance. want to select rows to create a new dataframe in Python

Hi all
new to this. My first dash app reads in a dataframe and I can select multiple rows which I can plot very easily ( excellent work to the designers). What I really want to do is have a separate space underneath my β€œraw” dataframe. So when I select rows from the β€œraw” ( data from csv) they populate the empty dataframe below.

thank you for any help.