Return this DataType's fundamental/root type class.
Polars::Datetime.new("ns").base_type # => Polars::Datetime
Polars::List.new(Polars::Int32).base_type # => Polars::List
Polars::Struct.new([Polars::Field.new("a", Polars::Int64), Polars::Field.new("b", Polars::Boolean)]).base_type # => Polars::Struct
Returns:
17 18 19
# File 'lib/polars/data_types.rb', line 17 def self.base_type self end