This page gives an overview of all public Series methods. class polars.Series( )[source] A Series represents a single column in a polars DataFrame. polars.Series.is_in · polars.DataFrame.to_series · polars.Series.exp · Series. - dtype |
Convert this Series to a Python list. This operation copies data. Examples >>> s = pl.Series("a", [1, 2, 3]) >>> s.to_list() [1, 2, 3] >>> type(s.to_list()) |
The Series variants contain differently typed ChunkedArrays. These structs can be turned into iterators, making it possible to use any function/ closure you ... |
Return whether all values in the column are True. Only works on columns of data type Boolean. Ignore null values (default). |
Cast this Series to a DataFrame. Parameters: name. optionally name/rename the Series column in the new DataFrame ... |
polars.Series.list.get# ... Get the value by index in the sublists. So index 0 would return the first item of every sublist and index -1 would return the last ... |
Check if elements of this Series are in the other Series. Examples >>> s = pl.Series("a", [1, 2, 3]) >>> s2 = pl.Series("b", [2, 4]) >>> s2.is_in(s) shape: |
Parameters · name: string. The name of the series · values: ArrayLike<T1>. A set of values to include in the new Series object. |
Sort in descending order. nulls_last. Place null values last instead of first. multithreaded. Sort using multiple threads. |
Used to convert a ChunkedArray , &dyn SeriesTrait and Series into a Series . SeriesTrait. Type ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |