Pandas¶
-
class
plotlywrapper.
PandasPlotting
(data)[source]¶ Pandas plotly charting methods.
Examples
Here’s an example of how to do that.
>>> df = pd.DataFrame([[1, 2], [1, 4]]) >>> chart = df.plotly.line() >>> chart.show()
-
bar
(label=None, mode='group', opacity=None, **kargs)[source]¶ Create a bar chart.
Parameters: - label (list of strings, optional) – list of labels to override column names
- mode (str, optional) – ‘group’ or ‘stack’
Returns: Return type:
-
line
(label=None, color=None, width=None, dash=None, opacity=None, mode='lines+markers', fill=None, **kargs)[source]¶ Create a line chart.
-
scatter
(label=None, color=None, width=None, dash=None, opacity=None, mode='markers', **kargs)[source]¶ Create a bar chart.
Parameters: label (list of strings, optional) – list of labels to override column names Returns: Return type: Chart
-