Plotly With Pandas

Sub-skill of plotly: With Pandas (+2).

vamseeachanta 094307b 577 B Updated

File contents

With Pandas (+2)

With Pandas

import plotly.express as px
df = pd.read_csv('data.csv')
fig = px.line(df, x='date', y='value')

With NumPy

import numpy as np
import plotly.graph_objects as go

x = np.linspace(0, 10, 100)
y = np.sin(x)

fig = go.Figure(data=go.Scatter(x=x, y=y))

With Jupyter Notebooks

# Automatically displays in cell output
fig.show()

# Or use widget mode
import plotly.graph_objects as go
fig = go.FigureWidget()

vamseeachanta/workspace-hub/tree/main/.agents/skills/_archive/data/visualization/plotly/with-pandas commit 094307b136

Frequently asked questions

npx skillmds@latest add vamseeachanta/plotly-with-pandas