MCPcopy Index your code
hub / github.com/plotly/plotly.py / wind

Function wind

plotly/data/__init__.py:144–159  ·  view source on GitHub ↗

Each row represents a level of wind intensity in a cardinal direction, and its frequency. Parameters ---------- return_type: {'pandas', 'polars', 'pyarrow', 'modin', 'cudf'} Type of the resulting dataframe Returns ------- Dataframe of `return_type` type

(return_type="pandas")

Source from the content-addressed store, hash-verified

142
143
144def wind(return_type="pandas"):
145 """
146 Each row represents a level of wind intensity in a cardinal direction, and its frequency.
147
148 Parameters
149 ----------
150 return_type: {'pandas', 'polars', 'pyarrow', 'modin', 'cudf'}
151 Type of the resulting dataframe
152
153 Returns
154 -------
155 Dataframe of `return_type` type
156 Dataframe with 128 rows and the following columns:
157 `['direction', 'strength', 'frequency']`.
158 """
159 return _get_dataset("wind", return_type=return_type)
160
161
162def election(return_type="pandas"):

Callers

nothing calls this directly

Calls 1

_get_datasetFunction · 0.85

Tested by

no test coverage detected