Datapane is for people who analyze data in Python and need a way to share their results.
It provides a way to create reports programmatically from components that wrap around the common objects in analyses, such as:
Markdown and text
General files, such as images, PDFs, JSON data, etc.
Datapane reports are flexible and can also contain pages, tabs, drop downs, and more.
Once created, reports can be published on the web, dynamically generated in the cloud, or embedded into your own application, where data can be explored, and visualizations can be used interactively.
import pandas as pdimport altair as altimport datapane as dpdataset = pd.read_csv('https://covid.ourworldindata.org/data/owid-covid-data.csv')df = dataset.groupby(['continent', 'date'])['new_cases_smoothed_per_million'].mean().reset_index()plot = alt.Chart(df).mark_area(opacity=0.4, stroke='black').encode(x='date:T',y=alt.Y('new_cases_smoothed_per_million:Q', stack=None),color=alt.Color('continent:N', scale=alt.Scale(scheme='set1')),tooltip='continent:N').interactive().properties(width='container')dp.Report(dp.Plot(plot),dp.DataTable(df)).save(path='report.html', open=True)
If you want to share your report on the web, Datapane Public provides a free API and hosted platform for publishing and sharing reports. If you have already created an account and are signed in, you can publish your report, including datasets and plots, in a single Python command
dp.Report(dp.Plot(plot),dp.DataTable(df)).publish(name='Covid Report', open=True) # publish & open report in the browser
Once published, you can share your report with your community, class, or friends by sharing the link.
Alternatively, you can embed your published report into social platforms, like Reddit and Medium, where your readers can explore your data and plots interactively without leaving your content, like this:
If your team is using the Python data stack for analysis and visualization, but is still relying on a drag-and-drop BI tool to share results, Datapane for Teams provides an API-first way to share reports directly from Python. This enables data teams to use the tools they are gifted at to drive business decisions, and allows stakeholders to self-serve on what the data team is building, instead of going through a backlog.
In addition to providing secure, authenticated report sharing, Datapane for Teams allows automated report generation by allowing data teams to deploy their Python scripts and Jupyter Notebooks to the cloud. Reports can be generated from parameters entered through web forms, on a schedule, or on-demand through our HTTP and Python APIs.