Skip to content

Commit 24021f3

Browse files
committed
add update to types of series
1 parent 1325ac1 commit 24021f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/performance.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ See https://plotly.com/python/reference/scattergl/ for more information and char
152152

153153
## NumPy and NumPy Convertible Arrays for Improved Performance
154154

155-
Improve the performance of generating Plotly figures that use a large number of data points by using NumPy arrays and other objects that Plotly can convert to NumPy arrays, such as Pandas Series and Index objects.
155+
Improve the performance of generating Plotly figures that use a large number of data points by using NumPy arrays and other objects that Plotly can convert to NumPy arrays, such as Pandas and Polars Series.
156156

157157
Plotly.py uses Plotly.js for rendering, which supports typed arrays. In Plotly.py, NumPy array and NumPy-convertible arrays are base64 encoded before being passed to Plotly.js for rendering.
158158

@@ -161,7 +161,7 @@ Plotly.py uses Plotly.js for rendering, which supports typed arrays. In Plotly.p
161161
The following types of objects in Python are supported for improved performance:
162162

163163
- Numpy `numpy.ndarray` objects.
164-
- Pandas Index, `pandas.Index`, or Series, `pandas.Series`, objects.
164+
- Pandas Index, Pandas Series, Polars Series, and PyArrow Chunked Array objects.
165165
- Array objects that can be converted to `numpy.ndarray` objects. i.e., they implement `"__array__"` or `"__array_interface__"` and return a `numpy.ndarray`.
166166

167167
The following [array data types](https://numpy.org/devdocs/reference/arrays.scalars.html) are supported:

0 commit comments

Comments
 (0)