- Series<T>(values): pl.Series<JsToDtype<T>, string>
Parameters
- values: ArrayLike<null | T>
Returns pl.Series<JsToDtype<T>, string>
- Series(values): pl.Series<any, string>
Returns pl.Series<any, string>
- Series<T1, Name>(name, values): pl.Series<JsToDtype<T1>, Name>
Type Parameters
- T1 extends JsType
- Name extends string
Parameters
- name: Name
- values: ArrayLike<null | T1>
- Series<T2, Name>(name, values, dtype?): pl.Series<T2, Name>
Parameters
- name: Name
- values: ArrayLike<DTypeToJsLoose<T2>>
Optional
dtype: T2
- Series(name, values, dtype?): pl.Series<any, string>
Parameters
- name: string
- values: any[]
Optional
dtype: any
Returns pl.Series<any, string>
Methods
deserialize
- deserialize(buf, format): pl.Series<any, string>
Parameters
- buf: Buffer
- format: "json" | "bincode"
Returns pl.Series<any, string>
from
- from<T1>(arrayLike): pl.Series<JsToDtype<T1>, string>
Returns pl.Series<JsToDtype<T1>, string>
- from<T1>(arrayLike): pl.Series<any, string>
Returns pl.Series<any, string>
- from<T2, Name>(name, arrayLike): pl.Series<JsToDtype<T2>, Name>
Type Parameters
- T2 extends JsType
- Name extends string
Parameters
- name: Name
- arrayLike: ArrayLike<T2>
- from<T2>(name, arrayLike): pl.Series<any, string>
Parameters
- name: string
- arrayLike: ArrayLike<T2>
Returns pl.Series<any, string>
isSeries
- isSeries(arg): arg is pl.Series<any, string>
Returns arg is pl.Series<any, string>
Creates a new Series from a set of values.