polars.Series.dot
-
Вычисляет скалярное/внутреннее произведение двух объектов Series.
- Параметры:
-
- other
-
Series (или массив), с которым вычисляется скалярное произведение.
Примеры
>>> s = pl.Series("a", [1, 2, 3]) >>> s2 = pl.Series("b", [4.0, 5.0, 6.0]) >>> s.dot(s2) 32.0
Series.dot(
other: Series | ArrayLike,
) → int | float | None
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.dot.html