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
Turn any data into an APIβ
Turn any code into an API (similar to our Quickstart):
@fused.udf
def udf(path: str = "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[['price', 'price_per_area']]
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β
You can use Fused's AI to help you code!
- Create a new UDF
- Click "Ask AI"
- Write prompt!
- Copy the code from the AI Chat into the editor
- See your results! (or press Shift + Enter if it didn't auto run)
Share your build:
- Save UDF (Cmd + S)
- Click "Share"
- Create Shared token by clicking "Share"
- Click on link
Prompt & Repeat!
Prompt Ideasβ
If you already have some data:
Make an interactive HTML 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 HTML game for me!
Examples:
- See how we're using AI to build a climate dashboard
Tips & Tricksβ
- Change the model! We provide models from all major vendors:
- Kimi K2 -> Best well balanced model. Fast & Very Good
- GPT 4.1 -> Advanced coding, higher context
- Claude Opus 4 -> Slower, but great for complex coding
- Try out the suggestions! Our models auto suggest what you could do next based on all your code
- Ask crazy things you donβt know how to do!
- Come back tomorrow, we'll most certainly have some new stuff! π§βπ»
Share your experienceβ
- Tag udf_ai on Twitter, weβll repost you!
- Share which prompts have worked with us!
Data First IDE: Table / Map viewβ
Workbench is built for data teams.
Toggle between Map/Table view based on your data!
Return HTML code & make a chart!β
You can return HTML code directly in Fused and turn your data into an embedded Chart:
@fused.udf
def udf(path = "s3://fused-sample/demo_data/housing/housing_2024.csv"):
from fastapi import Response
import pandas as pd
import altair as alt
housing = pd.read_csv(path)
housing['price_per_area'] = round(housing['price'] / housing['area'], 2)
chart_html = alt.Chart(housing).mark_point().encode(
x='price',
y='price_per_area'
).to_html()
return Response(chart_html.encode('utf-8'), media_type="text/html")
Go to the "Embed" tab to see your chart: