Method: Polars::Struct#to_schema

Defined in:
lib/polars/data_types.rb

#to_schemaObject



564
565
566
# File 'lib/polars/data_types.rb', line 564

def to_schema
  @fields.to_h { |f| [f.name, f.dtype] }
end