Docs.rs
  • polars-python-0.48.1
    • polars-python 0.48.1
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • ritchie46
    • stijnherfst
    • Dependencies
      • arboard ^3.4.0 normal optional
      • polars-arrow ^0.48.1 normal
      • bincode ^1.3.3 normal
      • bytemuck ^1.22 normal
      • bytes ^1.10 normal
      • chrono ^0.4.31 normal
      • chrono-tz ^0.10 normal
      • either ^1.14 normal
      • flate2 ^1 normal
      • hashbrown ^0.15.0 normal
      • itoa ^1.0.6 normal
      • libc ^0.2 normal
      • ndarray ^0.16 normal
      • num-traits ^0.2 normal
      • numpy ^0.24 normal
      • polars ^0.48.1 normal
      • polars-compute ^0.48.1 normal
      • polars-core ^0.48.1 normal
      • polars-error ^0.48.1 normal
      • polars-expr ^0.48.1 normal
      • polars-ffi ^0.48.1 normal
      • polars-io ^0.48.1 normal
      • polars-lazy ^0.48.1 normal
      • polars-mem-engine ^0.48.1 normal
      • polars-ops ^0.48.1 normal
      • polars-parquet ^0.48.1 normal optional
      • polars-plan ^0.48.1 normal
      • polars-row ^0.48.1 normal
      • polars-time ^0.48.1 normal
      • polars-utils ^0.48.1 normal
      • pyo3 ^0.24.2 normal
      • rayon ^1.9 normal
      • recursive ^0.1 normal
      • serde_json ^1 normal optional
      • version_check ^0.9.4 build
    • Versions
    • 13% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate polars_python

polars_python0.48.1

  • All Items

Crate Items

  • Modules
  • Macros

Crates

  • polars_python

Crate polars_python

Source

Modules§

batched_csv
cloud
conversion
dataframe
dataset
datatypes
error
exceptions
Define the Polars exception hierarchy.
export
expr
file
functions
interop
lazyframe
lazygroupby
map
object
on_startup
prelude
py_modules
series
sql
timeout
A global process-aborting timeout system, mainly intended for testing.
utils

Macros§

apply_method_all_arrow_series2
raise_err

Results

Settings
Help
    trait
    polars_python::prelude::SeriesTrait
    trait method
    polars_python::prelude::SeriesTrait::len
    &SeriesTrait -> usize
    Get length of series.
    method
    polars_python::prelude::SeriesTrait::last
    &SeriesTrait -> Scalar
    Get the last element of the Series as a Scalar
    method
    polars_python::prelude::SeriesTrait::first
    &SeriesTrait -> Scalar
    Get the first element of the Series as a Scalar
    trait method
    polars_python::prelude::SeriesTrait::rechunk
    &SeriesTrait -> Series
    Aggregate all chunks to a contiguous array of memory.
    trait method
    polars_python::prelude::SeriesTrait::reverse
    &SeriesTrait -> Series
    return a Series in reversed order
    method
    polars_python::prelude::SeriesTrait::is_empty
    &SeriesTrait -> bool
    Check if Series is empty.
    method
    polars_python::prelude::SeriesTrait::n_chunks
    &SeriesTrait -> usize
    Number of chunks in this Series
    trait method
    polars_python::prelude::SeriesTrait::has_nulls
    &SeriesTrait -> bool
    Return if any the chunks in this ChunkedArray have nulls.
    method
    polars_python::prelude::SeriesTrait::drop_nulls
    &SeriesTrait -> Series
    Drop all null values and return a new Series.
    trait method
    polars_python::prelude::SeriesTrait::null_count
    &SeriesTrait -> usize
    Count the null values.
    method
    polars_python::prelude::SeriesTrait::_sum_as_f64
    &SeriesTrait -> f64
    Returns the sum of the array as an f64.
    method
    polars_python::prelude::Arc::into_series
    Arc<SeriesTrait> -> Series
    method
    polars_python::prelude::SeriesTrait::mean
    &SeriesTrait -> Option<f64>
    Returns the mean value in the array Returns an option …
    trait method
    polars_python::prelude::SeriesTrait::name
    &SeriesTrait -> &PlSmallStr
    Name of series.
    method
    polars_python::prelude::SeriesTrait::dtype
    &SeriesTrait -> &DataType
    Get datatype of series.
    method
    polars_python::prelude::SeriesTrait::field
    &SeriesTrait -> Cow<Field>
    Get field (used in schema)
    method
    polars_python::prelude::SeriesTrait::limit
    &SeriesTrait, usize -> Series
    Take num_elements from the top as a zero copy view.
    trait method
    polars_python::prelude::SeriesTrait::shift
    &SeriesTrait, i64 -> Series
    Shift the values by a given period and fill the parts that …
    trait method
    polars_python::prelude::SeriesTrait::as_any
    &SeriesTrait -> &Any
    Get a hold of the ChunkedArray, Logical or NullChunked as …
    method
    polars_python::prelude::SeriesTrait::median
    &SeriesTrait -> Option<f64>
    Returns the median value in the array Returns an option …
    trait method
    polars_python::prelude::SeriesTrait::is_null
    &SeriesTrait -> ChunkedArray<BooleanType>
    Get a mask of the null values.
    trait method
    polars_python::prelude::SeriesTrait::as_arc_any
    Arc<SeriesTrait> -> Arc<Any>
    trait method
    polars_python::prelude::SeriesTrait::as_phys_any
    &SeriesTrait -> &Any
    Get a hold of the ChunkedArray or NullChunked as an Any …
    trait method
    polars_python::prelude::SeriesTrait::clone_inner
    &SeriesTrait -> Arc<SeriesTrait>
    Clone inner ChunkedArray and wrap in a new Arc
    trait method
    polars_python::prelude::SeriesTrait::is_not_null
    &SeriesTrait -> ChunkedArray<BooleanType>
    Get a mask of the non-null values.
    trait method
    polars_python::prelude::SeriesTrait::get_unchecked
    &SeriesTrait, usize -> AnyValue
    Get a single value by index. Don’t use this operation …
    method
    polars_python::prelude::SeriesTrait::shrink_to_fit
    &mut SeriesTrait -> ()
    Shrink the capacity of this array to fit its length.
    method
    polars_python::prelude::SeriesTrait::propagate_nulls
    &SeriesTrait -> Option<Series>
    Propagate down nulls in nested types.
    method
    polars_python::prelude::SeriesTrait::rechunk_validity
    &SeriesTrait -> Option<Bitmap>
    method
    polars_python::prelude::SeriesTrait::trim_lists_to_normalized_offsets
    &SeriesTrait -> Option<Series>
    Trim all lists of unused start and end elements …
    method
    polars_python::prelude::SeriesTrait::std
    &SeriesTrait, u8 -> Option<f64>
    Returns the std value in the array Returns an option …
    method
    polars_python::prelude::SeriesTrait::var
    &SeriesTrait, u8 -> Option<f64>
    Returns the var value in the array Returns an option …
    trait method
    polars_python::prelude::SeriesTrait::slice
    &SeriesTrait, i64, usize -> Series
    Get a zero copy view of the data.
    trait method
    polars_python::prelude::SeriesTrait::rename
    &mut SeriesTrait, PlSmallStr -> ()
    Rename the Series.
    method
    polars_python::prelude::SeriesTrait::unique
    &SeriesTrait -> Result<Series, PolarsError>
    Get unique values in the Series.
    method
    polars_python::prelude::SeriesTrait::arg_sort
    &SeriesTrait, SortOptions -> ChunkedArray<UInt32Type>
    Retrieve the indexes needed for a sort.
    method
    polars_python::prelude::SeriesTrait::n_unique
    &SeriesTrait -> Result<usize, PolarsError>
    Get unique values in the Series.
    method
    polars_python::prelude::SeriesTrait::or_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the bitwise OR of the Series as a new Series of length …
    method
    polars_python::prelude::SeriesTrait::and_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the bitwise AND of the Series as a new Series of …
    method
    polars_python::prelude::SeriesTrait::max_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the max of the Series as a new Series of length 1.
    method
    polars_python::prelude::SeriesTrait::min_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the min of the Series as a new Series of length 1.
    method
    polars_python::prelude::SeriesTrait::sum_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the sum of the Series as a new Scalar.
    method
    polars_python::prelude::SeriesTrait::xor_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the bitwise XOR of the Series as a new Series of …
    method
    polars_python::prelude::SeriesTrait::median_reduce
    &SeriesTrait -> Result<Scalar, PolarsError>
    Get the median of the Series as a new Series of length 1.
    trait method
    polars_python::prelude::SeriesTrait::new_from_index
    &SeriesTrait, usize, usize -> Series
    Create a new Series filled with values from the given …
    method
    polars_python::prelude::SeriesTrait::approx_n_unique
    &SeriesTrait -> Result<u32, PolarsError>
    method
    polars_python::prelude::SeriesTrait::get
    &SeriesTrait, usize -> Result<AnyValue, PolarsError>
    Get a single value by index. Don’t use this operation …
    trait method
    polars_python::prelude::SeriesTrait::chunks
    &SeriesTrait -> &Vec<Box<Array>>
    Underlying chunks.
    trait method
    polars_python::prelude::SeriesTrait::split_at
    &SeriesTrait, i64 -> (Series, Series)
    Get a zero copy view of the data.
    method
    polars_python::prelude::SeriesTrait::sort_with
    &SeriesTrait, SortOptions -> Result<Series, PolarsError>
    method
    polars_python::prelude::SeriesTrait::arg_unique
    &SeriesTrait -> Result<ChunkedArray<UInt32Type>, PolarsError>
    Get first indexes of unique values.
    trait method
    polars_python::prelude::SeriesTrait::as_any_mut
    &mut SeriesTrait -> &mut Any
    Get a hold of the ChunkedArray, Logical or NullChunked as …
    method
    polars_python::prelude::SeriesTrait::get_object
    &SeriesTrait, usize -> Option<&PolarsObjectSafe>
    Get the value at this index as a downcastable Any trait …
    method
    polars_python::prelude::SeriesTrait::std_reduce
    &SeriesTrait, u8 -> Result<Scalar, PolarsError>
    Get the standard deviation of the Series as a new Series …
    method
    polars_python::prelude::SeriesTrait::var_reduce
    &SeriesTrait, u8 -> Result<Scalar, PolarsError>
    Get the variance of the Series as a new Series of length 1.
    method
    polars_python::prelude::SeriesTrait::as_single_ptr
    &mut SeriesTrait -> Result<usize, PolarsError>
    Rechunk and return a pointer to the start of the Series. …
    trait method
    polars_python::prelude::SeriesTrait::take_unchecked
    &SeriesTrait, &ChunkedArray<UInt32Type> -> Series
    Take from self at the indexes given by idx.
    trait method
    polars_python::prelude::SeriesTrait::take_slice_unchecked
    &SeriesTrait, &[u32] -> Series
    Take from self at the indexes given by idx.
    trait method
    polars_python::prelude::SeriesTrait::append_owned
    &mut SeriesTrait, Series -> Result<(), PolarsError>
    method
    polars_python::prelude::SeriesTrait::quantile_reduce
    &SeriesTrait, f64, QuantileMethod -> Result<Scalar, PolarsError>
    Get the quantile of the ChunkedArray as a new Series of …
    method
    polars_python::prelude::SeriesTrait::get_object_chunked_unchecked
    &SeriesTrait, usize, usize -> Option<&PolarsObjectSafe>
    Get the value at this index as a downcastable Any trait …
    trait method
    polars_python::prelude::SeriesTrait::cast
    &SeriesTrait, &DataType, CastOptions -> Result<Series, PolarsError>
    trait method
    polars_python::prelude::SeriesTrait::take
    &SeriesTrait, &ChunkedArray<UInt32Type> -> Result<Series, PolarsError>
    Take from self at the indexes given by idx.
    trait method
    polars_python::prelude::SeriesTrait::append
    &mut SeriesTrait, &Series -> Result<(), PolarsError>
    method
    polars_python::prelude::SeriesTrait::as_ref
    &SeriesTrait -> &ChunkedArray<T>
    trait method
    polars_python::prelude::SeriesTrait::filter
    &SeriesTrait, &ChunkedArray<BooleanType> -> Result<Series, PolarsError>
    Filter by boolean mask. This operation clones data.
    trait method
    polars_python::prelude::SeriesTrait::chunks_mut
    &mut SeriesTrait -> &mut Vec<Box<Array>>
    Underlying chunks.
    trait method
    polars_python::prelude::SeriesTrait::take_slice
    &SeriesTrait, &[u32] -> Result<Series, PolarsError>
    Take from self at the indexes given by idx.
    method
    polars_python::prelude::SeriesTrait::rolling_map
    &SeriesTrait, &Fn (), RollingOptionsFixedWindow -> Result<Series, PolarsError>
    Apply a custom function over a rolling/ moving window of …
    trait method
    polars_python::prelude::SeriesTrait::find_validity_mismatch
    &SeriesTrait, &Series, &mut Vec<u32> -> ()
    Find the indices of elements where the null masks are …
    method
    polars_python::prelude::SeriesTrait::as_mut
    &mut SeriesTrait -> &mut ChunkedArray<T>
    method
    polars_python::prelude::SeriesTrait::unpack
    &SeriesTrait -> Result<&ChunkedArray<N>, PolarsError>
    trait method
    polars_python::prelude::SeriesTrait::chunk_lengths
    &SeriesTrait -> Map<Iter<Box<Array>>, fn (&Box<Array>) -> usize>
    Get the lengths of the underlying chunks
    method
    polars_python::prelude::Series::as_ref
    &Series -> &SeriesTrait
    trait method
    polars_python::prelude::SeriesTrait::clone_inner
    &SeriesTrait -> Arc<SeriesTrait>
    Clone inner ChunkedArray and wrap in a new Arc