Skip to main content

2 min with Fused

Quick ways to get started with Fused in Workbench.

Open a simple dataset

@fused.udf
def udf(path = "s3://fused-sample/demo_data/housing/housing_2024.csv"):
import pandas as pd
housing = pd.read_csv(path)

Convert data quickly

@fused.udf
def udf():
import pandas as pd
df = pd.read_excel("s3://fused-sample/demo_data/housing_2024.xlsx")
df.to_parquet("s3://fused-sample/demo_data/housing_2024.parquet")

return df

Preview datasets

Explore cloud storage directly in the File Explorer tab

Profile your code

Workbench's built-in profiler provides:

  • Line by line runtime
  • Memory usage
  • Total runtime
  • Total file size

Vibe coding in Fused

Simply ask AI to build something for you!

Deploy your UDF:

  • Save (Cmd + S on MacOS or click the "Save" button)
  • Click "URL" button to see deployed dashboard!

Watch our playlist of Vibe Coding for more examples!

Prompt Ideas

If you already have some data:

Make an interactive graph of this data

Make an up to date dashboard from scratch:

Build a very simple Wildfire tracking app in HTML using real world data

Fun ideas:

I'm bored, make a simple game for me!

Learn more about using AI Assistant

Data First IDE: Table / Map view

Workbench is built for data teams.

Toggle between Map/Table view based on your data!

Create workflows in Fused Canvas

Fused Canvas Example

Any UDF can be connected together in Fused Canvas to create a workflow using fused.run()

Upstream UDF (let's call it housing_price_ratio):

@fused.udf
def udf(path = "s3://fused-sample/demo_data/housing/housing_2024.csv"):
import pandas as pd

housing = pd.read_csv(path)
housing['price_per_area'] = round(housing['price'] / housing['area'], 2)

return housing

We can simply plot this data in a new downstream UDF (let's call it housing_price_chart):

@fused.udf
def udf():
import altair as alt
housing = fused.run('housing_price_ratio')

chart_html = alt.Chart(housing).mark_point().encode(
x='price',
y='price_per_area'
).to_html()

return chart_html

Any UDF calling another with fused.run() will be re-run automatically when the upstream UDF is saved & re-run.

This will visually be shown by a line in Canvas conecting the 2 UDFs.

Create downstream UDFs in Canvas

You can simply click the (+) button on the right of any UDF to create a new downstream UDF.

When changing the upstream UDF, save & rerun will automatically re-run the downstream UDF.