polars-polars-with-plotly-visualization
Sub-skill of polars: Polars with Plotly Visualization (+1).
Best use case
polars-polars-with-plotly-visualization is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of polars: Polars with Plotly Visualization (+1).
Teams using polars-polars-with-plotly-visualization should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/polars-with-plotly-visualization/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How polars-polars-with-plotly-visualization Compares
| Feature / Agent | polars-polars-with-plotly-visualization | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of polars: Polars with Plotly Visualization (+1).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Polars with Plotly Visualization (+1)
## Polars with Plotly Visualization
```python
import polars as pl
import plotly.express as px
import plotly.graph_objects as go
def create_dashboard_data(df: pl.DataFrame) -> dict:
"""Prepare data for Plotly dashboard."""
# Time series for line chart
daily_trend = (
df
.group_by("date")
.agg([
pl.col("revenue").sum().alias("revenue"),
pl.col("orders").sum().alias("orders")
])
.sort("date")
.to_pandas() # Convert for Plotly
)
# Category breakdown for pie chart
category_breakdown = (
df
.group_by("category")
.agg(pl.col("revenue").sum())
.sort("revenue", descending=True)
.to_pandas()
)
# Regional comparison for bar chart
regional = (
df
.group_by("region")
.agg([
pl.col("revenue").sum(),
pl.col("orders").count()
])
.to_pandas()
)
return {
"daily_trend": daily_trend,
"category_breakdown": category_breakdown,
"regional": regional
}
def plot_time_series(df_pandas, x_col, y_col, title):
"""Create interactive time series plot."""
fig = px.line(
df_pandas,
x=x_col,
y=y_col,
title=title
)
fig.update_layout(hovermode="x unified")
return fig
```
## Polars with Pandas Interop
```python
import polars as pl
import pandas as pd
# Convert Polars to Pandas (when needed for libraries that require pandas)
polars_df = pl.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
pandas_df = polars_df.to_pandas()
# Convert Pandas to Polars
pandas_df = pd.DataFrame({"x": [1, 2, 3], "y": ["a", "b", "c"]})
polars_df = pl.from_pandas(pandas_df)
# Efficient conversion with zero-copy when possible
polars_df = pl.from_pandas(pandas_df, nan_to_null=True)
# Use Polars for heavy lifting, Pandas for compatibility
def hybrid_pipeline(input_path: str):
"""Use Polars for processing, Pandas for visualization libraries."""
# Heavy processing with Polars
processed = (
pl.scan_parquet(input_path)
.filter(pl.col("value") > 0)
.group_by("category")
.agg([
pl.col("value").sum(),
pl.col("value").mean().alias("avg_value")
])
.collect()
)
# Convert for seaborn/matplotlib
import seaborn as sns
pandas_df = processed.to_pandas()
sns.barplot(data=pandas_df, x="category", y="value")
return processed
```Related Skills
orcaflex-visualization
Generate visualizations from OrcaFlex and OrcaWave simulations using the shared OrcFxAPI — model views (SaveModelView), time series plots, range graphs, and interactive HTML reports. Covers both .dat/.sim (OrcaFlex) and .owd (OrcaWave) files via the same API surface.
plotly-visualization
Generate interactive Plotly and Matplotlib visualizations from DataFrames with configurable templates and multi-format support.
data-visualization
Create effective data visualizations with Python using matplotlib, seaborn, and plotly libraries
orcaflex-visualization-orcawave-mesh-export-via-diffraction
Sub-skill of orcaflex-visualization: OrcaWave Mesh Export via Diffraction (+4).
orcaflex-visualization-model-views
Sub-skill of orcaflex-visualization: Model Views (+1).
orcaflex-visualization-image-outputs
Sub-skill of orcaflex-visualization: Image Outputs (+1).
orcaflex-visualization-basic-visualization-configuration
Sub-skill of orcaflex-visualization: Basic Visualization Configuration (+1).
orcaflex-visualization-110-2026-02-23
Sub-skill of orcaflex-visualization: [1.1.0] - 2026-02-23 (+1).
blender-interface-orcaflex-results-to-blender-visualization
Sub-skill of blender-interface: OrcaFlex Results to Blender Visualization (+2).
plotly-vertical-legends-avoid-toolbar-clash
Sub-skill of plotly: Vertical Legends (Avoid Toolbar Clash) (+5).
plotly-javascript-cdn
Sub-skill of plotly: JavaScript (CDN) (+2).
plotly-html-recommended-for-reports
Sub-skill of plotly: HTML (Recommended for Reports) (+2).