Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/py-polars/tests/unit/operations/namespaces/__init__.py
6940 views
1
"""
2
Test module containing dedicated tests for all namespace methods.
3
4
Namespace methods are methods that are available on Series and Expr classes for
5
operations that are only available for specific data types. For example,
6
`Series.str.to_lowercase()`.
7
8
These methods are almost exclusively implemented as expressions, with the Series method
9
dispatching to this implementation through a decorator. This means we only need to test
10
the Series method, as this will indirectly test the Expr method as well.
11
"""
12
13