refactor(api): rename to_*
methods for type coercion to something else
#9788
Milestone
to_*
methods for type coercion to something else
#9788
Currently ibis has several
to_*
methods - some compute and return a result (to_pandas
,to_polars
,to_parquet
, ...), while others are for type coercion and continue to build up an expression (to_timestamp
,to_interval
, ...).I think we should rename the latter methods (with a deprecation period), keeping the
to_*
prefix for things that compute and return a result.The current list is:
A few options:
as_*
prefixes instead. This is what we did for the geospatial API (e.g.as_ewkb
,as_binary
, ...)parse_*
for the string ones?The text was updated successfully, but these errors were encountered: