Welcome to Datapane

What is Datapane?

Datapane makes it simple to build reports in Python and share them interactively with other people.

It provides a library which allows you to create reports programatically from components that wrap around the common objects in analyses: DataFrames, plots from Python visualisation libraries such as Bokeh and Altair, and Markdown. Once created, reports can be shared on the web, dynamically generated in the cloud, or embedded into your own application, where data can be explored, and visualisations can be used interactively.

Code
Report
Code
stocks.ipynb
import datapane as dp
import altair as alt
import pandas as pd
df = pd.read_csv('https://query1.finance.yahoo.com/v7/finance/download/GOOG?period1=1553600505&period2=1585222905&interval=1d&events=history')
chart = alt.Chart(df).encode(x='Date', y='High', y2='Low').mark_area(opacity=0.5).interactive()
dp.Report.create([api.Table.upload_df(df), api.Plot.upload_obj(chart)])

Report

Using Datapane's CLI, you can deploy Python scripts or Jupyter Notebooks to a server, so that others can use them to parameterise your script and generate reports dynamically through a web form.

Code
Web form
Code
stocks.ipynb
import datapane as dp
import altair as alt
import pandas as pd
ticker = config.ticker
df = pd.read_csv(f"https://query1.finance.yahoo.com/v7/finance/download/{ticker}?period1=1553600505&period2=1585222905&interval=1d&events=history")
chart = alt.Chart(df).encode(x='Date', y='High', y2='Low').mark_area(opacity=0.5).interactive()
# Add a render method to generate dynamic reports!
def render():
return [api.Table.upload_df(df), api.Plot.upload_obj(chart)]
CLI
$ datapane script upload script.ipynb
Web form

Datapane's Mission

Although there are many enterprise BI and reporting tools with drag and drop interfaces, using SQL with Python is often the best combination for querying, analysing, and visualising data. Datapane's goal is to provide an API-first way to provide the last mile of sharing results, so you can analyse data in your existing environment, instead of using Yet Another BI Platform.