Have Uploaded two csv files using dcc.upload component. Now, how to work with two files? I need to access the columns to see if they match and return that

I have used code from dash website where upload component is explained (dcc.Upload | Dash for Python Documentation | Plotly). I am uploading two csv files and both uploads and the table is created. My next step is to use the two csv files and compare the columns using cramerV logic to check if they are similar or not. Since, i am new to dash, I don’t know how to proceed.
I am struggling with :

  1. How to keep the two csv into separate variables ?
  2. Then ,How to use the call back to pass the columns of the two csv’s to match.

If someone knows how to solve these, I would really appreciate the help!