Method: Polars::Struct#to_schema
- Defined in:
- lib/polars/data_types.rb
#to_schema ⇒ Object
564 565 566 |
# File 'lib/polars/data_types.rb', line 564 def to_schema @fields.to_h { |f| [f.name, f.dtype] } end |
564 565 566 |
# File 'lib/polars/data_types.rb', line 564 def to_schema @fields.to_h { |f| [f.name, f.dtype] } end |