Reference Pandas dataframe in dash file

I have a jupyter notebook .ipynb that includes the code I wrote to generate some data and a pandas dataframe.


I need to deploy a web app that renders the location data and allows users to perform some basic analysis. I think Dash Framework offers everything that I need!

My question is how do I reference the pandas dataframe in file.

I need my application code ( file) to reference the pandas dataframe from the python notebook file and parse the location data to display on a map/create visualization.

Hi @keval

You could write the pandas dataframe to .csv from your notebook and then read in the .csv in your file Plotly has a few examples in the gallery - you can click source code to view the file for each of these examples.

Thanks, @bcd - I think that’ll work for me.