Skip to content

Commit 3e74b79

Browse files
author
Joseph Damiba
committed
add links and info for mixed form data
1 parent a291bfb commit 3e74b79

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/python/bar-charts.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ fig.show()
5151

5252
Long-form data has one row per observation, and one column per variable. This is suitable for storing and displaying multivariate data i.e. with dimension greater than 2. This format is sometimes called "tidy".
5353

54+
To learn more about how to provide a specific form of column-oriented data to 2D-Cartesian Plotly Express functions such as `px.bar`, see the [Plotly Express Wide-Form Support in Python
55+
documentation](https://plotly.com/python/wide-form/).
56+
57+
For detailed column-input-format documentation, see the [Plotly Express Arguments documentation](https://plotly.com/python/px-arguments/).
58+
5459
```python
5560
import plotly.express as px
5661

@@ -71,6 +76,11 @@ long_df
7176
#### Bar chart with Wide Format Data
7277
Wide-form data has one row per value of one of the first variable, and one column per value of the second variable. This is suitable for storing and displaying 2-dimensional data.
7378

79+
To learn more about how to provide a specific form of column-oriented data to 2D-Cartesian Plotly Express functions such as `px.bar`, see the [Plotly Express Wide-Form Support in Python
80+
documentation](https://plotly.com/python/wide-form/).
81+
82+
For detailed column-input-format documentation, see the [Plotly Express Arguments documentation](https://plotly.com/python/px-arguments/).
83+
7484
```python
7585
import plotly.express as px
7686

@@ -86,6 +96,13 @@ wide_df
8696

8797
#### Bar chart with Mixed Form Data
8898

99+
Mixed-form data is a hybrid of long-form and wide-form data, with one row per value of one variable, and some columns representing values of another, and some columns representing more variables.
100+
101+
To learn more about how to provide a specific form of column-oriented data to 2D-Cartesian Plotly Express functions such as `px.bar`, see the [Plotly Express Wide-Form Support in Python
102+
documentation](https://plotly.com/python/wide-form/).
103+
104+
For detailed column-input-format documentation, see the [Plotly Express Arguments documentation](https://plotly.com/python/px-arguments/).
105+
89106
```python
90107
import plotly.express as px
91108
mixed_df = px.data.experiment(indexed=True)

0 commit comments

Comments
 (0)