Class: Polars::BinaryNameSpace
- Inherits:
-
Object
- Object
- Polars::BinaryNameSpace
- Defined in:
- lib/polars/binary_name_space.rb
Overview
Series.bin namespace.
Instance Method Summary collapse
-
#contains(literal) ⇒ Series
Check if binaries in Series contain a binary substring.
-
#decode(encoding, strict: true) ⇒ Series
Decode a value using the provided encoding.
-
#encode(encoding) ⇒ Series
Encode a value using the provided encoding.
-
#ends_with(suffix) ⇒ Series
Check if string values end with a binary substring.
-
#starts_with(prefix) ⇒ Series
Check if values start with a binary substring.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Polars::ExprDispatch
Instance Method Details
#contains(literal) ⇒ Series
Check if binaries in Series contain a binary substring.
31 32 33 |
# File 'lib/polars/binary_name_space.rb', line 31 def contains(literal) super end |
#decode(encoding, strict: true) ⇒ Series
Decode a value using the provided encoding.
124 125 126 |
# File 'lib/polars/binary_name_space.rb', line 124 def decode(encoding, strict: true) super end |
#encode(encoding) ⇒ Series
Encode a value using the provided encoding.
157 158 159 |
# File 'lib/polars/binary_name_space.rb', line 157 def encode(encoding) super end |
#ends_with(suffix) ⇒ Series
Check if string values end with a binary substring.
53 54 55 |
# File 'lib/polars/binary_name_space.rb', line 53 def ends_with(suffix) super end |
#starts_with(prefix) ⇒ Series
Check if values start with a binary substring.
75 76 77 |
# File 'lib/polars/binary_name_space.rb', line 75 def starts_with(prefix) super end |