fix(deps): update dependency ibis-framework to v10 #1255
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=9,<10
->>=10,<11
Release Notes
ibis-project/ibis (ibis-framework)
v10.0.0
Compare Source
⚠ BREAKING CHANGES
as_interval
unit
argument to be positional-onlyas_timestamp
unit
argument to be positional-onlyTable.relabel
methodStringValue
method signaturesNumericValue
methodsGeoSpatialValue.contains
positional-onlyTable.describe
quantile
argument keyword-onlyTable.relabel
methodTable.drop_null
/Table.fill_null
/Table.window_by
/Table.alias
argument positional-onlyTable.sample
fraction
argument positional-onlyTable.aggregate
metrics
argument positional-onlyTable
set operation methods positional-onlyTable.cast
andTable.try_cast
methods positional-onlynth
positional-onlyisin
/notin
/cases
/identical_to
positional-onlynull
function positional-onlyValue.cast
andValue.try_cast
positional-onlyValue.name
positional-onlyExpr.pipe
positional-onlyExpr.equals
positional-onlyto_json
methodsto_delta
methodsto_csv
/to_csv_dir
methodsto_parquet
/to_parquet_dir
methods.sql
method signatures across polars and sql as well as theTable
methodconnect
method now takes its first argument as positional-onlyread_sqlite
/read_mysql
/read_postgres
methods in the duckdb backendread_delta
method; sources are positional-only, everything else is required-keywordhas_operation
backend method; single argument is positional-onlyread_kafka
andto_kafka
methods of the PySpark backenddrop_table_or_view
method of the impala backendto_geo
signature of the the DuckDB backendread_geo
signature of the the DuckDB backendlist_catalogs;
like` argument is now keyword-onlyset_database
signaturelist_databases
arguments all required-keywordcreate_*
methodsread_pandas
methoddrop_table
method;name
is positional-only; the rest are keyword-onlycreate_catalog
anddrop_catalog
methods;name
is positional-only; the rest are keyword-onlycompile
method is now the same across backendscreate_table
method;name
is positional-only;obj
is positional-or-keyword; the rest are keyword-onlycreate_view
method;name
is positional-only;obj
is positional-or-keyword; the rest are keyword-onlydrop_view
method;name
is positional-only; the rest are keyword-onlytruncate_table
method;name
is positional-only; the rest are keyword-onlyinsert
method;name
is positional-only;obj
is positional-or-keyword; the rest are keyword-onlyread_json
method; sources are positional-only, everything else is required-keywordread_csv
method; sources are positional-only, everything else is required-keywordread_parquet
method; sources are positional-only, everything else is required-keywordto_torch
methodto_polars
methodBackend.list_tables
method; all arguments are now keyword-onlyBackend.table
method;name
is positional-only; everything else is required-keywordcreate_database
anddrop_database
;name
is positional-only; everything else is required-keywordMapValue
method signaturesArrayValue
method signaturestype
argument ofstruct
function is now required-keywordTemporalValue
APIswhere
argument of aggregate functions is now required-keywordhashbytes
andhexdigest
are now positional-onlyhow
argument tojoin
methods as keyword-only and standardize remaining argumentsibis.coalesce
/ibis.greatest
/ibis.least
are now positional-onlyExpr.ifelse
is now positional-onlyset_backend
andget_backend
functions are now positional-onlyntile
function and method is now positional-only/
ibis.following` are now positional-onlyexpr
argument ofibis.asc
/ibis.desc
is now positional-only;nulls_first
is keyword-onlydata
argument ofibis.memtable
is now positional-only; the rest are keyword-onlypairs
argument ofibis.schema
is now positional-only; the rest are keyword-onlyibis.param
is now positional-onlyn
argument inTable.limit
andTable.head
is now required-positionaloffset
argument inTable.limit
is now required-keywordto_pyarrow
andto_pyarrow_batches
requiresexpr
as positional-only and keyword for everything elseto_pandas_batches
requiresexpr
as positional-onlyexecute
andto_pandas
methods now requireexpr
as positional-onlydistance
is now a required keyword argument for thed_within
apiread_csv
method accepts only DuckDB types for the values components of thecolumns
andtypes
arguments. You may need need to adjust existing code. For example, the string"float64"
should be replaced with the string"double"
.read_in_memory
method is removed from the duckdb backend. Useibis.memtable
instead.how
parameter of theValue.arbitrary
method is removed. callValue.first
orValue.last
explicitlyStringValue.initcap
method is removed. UseStringValue.capitalize
instead.IntegerValue.label
is redundant with theIntegerValue.cases
method, use that instead. Replaceexpr.label(labels)
withexpr.cases(*enumerate(labels))
register
method has been removed. Please use the file-specificread_*
methods instead. For in-memory objects, pass them toibis.memtable
orcreate_table
.temp_directory
argument passed to Ibis is removed in favor of passing the argument through directly toduckdb.connect
. Interior nodes of directory trees must be created, e.g., usingPath.mkdir(exists_ok=True, parents=True)
,mkdir -p
, etc.option_context
is removed. Usecontextlib.contextmanager
to create your own version of this functionality if necessary.has_name
has always returnedTrue
since 9.0. It is safe to remove any calls tohas_name
.execute
now returns non-numpy objects for scalar values.ibis.negate
is removed. Use thenegate
method on aspecific column, instead.
ibis.geo_*
functions are removed. Equivalentmethods are available on all geo columns.
where
is removed. Useibis.ifelse
instead.Value.greatest
andValue.least
are removed. Useibis.greatest
andibis.least
, instead.pyarrow.Table
or apandas.DataFrame
asthe right-hand-side of a join is no longer supported.
To join against in-memory data, you can pass the in-memory object to
ibis.memtable
orcon.create_table
and use the resulting table objectinstead.
Issues closed
api: Removed hierarchical usage of schema.
Ibis uses the following naming conventions:
mysql: Ibis now uses the
MySQLdb
driver. You may need to install MySQL client libraries to build the extension.padding: String padding operations now follow Python semantics and leave strings greater than the padding length untouched.
pandas: The
pandas
backend is removed. Note that pandas DataFrames are STILL VALID INPUTS AND OUTPUTS and will remain so for the foreseeable future. Please use one of the other local backends like DuckDB, Polars, or DataFusion to perform operations directly on pandas DataFrames.dask: The
dask
backend is removed. Please use one of theother backends that Ibis supports.
api: remove deprecated
where
methodism (886b2d1)api: remove top-level
negate
function (c8c37dd)api: remove top-level geo functions (6b187c3)
backends: convert scalars to non-numpy python objects (#10233) (df08d5e)
duckdb: bump version lower bound to 0.10 (8dbbc8b)
mysql: port to MySQLdb instead of pymysql (#10077) (2b6633c), closes #10055
value: remove deprecated
greatest
andleast
methods (65f0973)Features
distinct
option tocollect
(13cf036)name
kwarg toTable.value_counts()
(#10361) (12e6057)StringValue.as_time
for parsing strings into times (#10278) (9134ef5)to_geo
methods for writing geospatial output (#10299) (9f565a9), closes #10296modes
array aggregation (#10737) (6603c6c)Table.sample
to nativeTABLESAMPLE
syntax when possible (321a3b5)read_csv
(#10317) (b57be01)nullable
kwarg to string parsed dtypes (#10632) (4583dee), closes #10243Column.to_list()
API (#10498) (d11a292), closes #10102memtable
(56ec371)Intersection
andDifference
ops (#10623) (69b848a)StringFind
operation (#10624) (5e8855d)TimeFromHMS
op (#10635) (ff885fb)bit_and
,bit_or
,bit_xor
) (#10634) (56a66de)sample
(c7c900b)psycopg
rather thanpsycopg2
(#10659) (85b449e)include_null
infirst
/last
aggs (d3e4104)Bug Fixes
round
output type (#10351) (b2b0925)to_pyarrow()
instead ofexecute()
when pretty printing scalars (10b38ee)exists
instead ofreplace
forcreate_database
(#10767) (3c13d67)pd.Timestamp
orpd.Series[datetime64]
fordate.to_pandas()
(#8784) (2e56acb)pyarrow
(#10503) (24c0aca), closes #10492random
/sample
methods (5a47668)temp=None
(#10289) (ea1c179)ibis.random()
generates a new value per call (#10173) (1667f43)mediumint
(6d22c5c)IF NOT EXISTS
ifforce=True
(#10785) (d613b55)list_tables
(#10466) (23c0e81)pl.Array
(#10260) (aadae58)NaT
/None
into timestamp columns (#10748) (847ed85)IF NOT EXISTS
ifforce=True
(#10782) (c7d1d38)dialect
tosg.func
(#10407) (210ab3c)sample
toTABLESAMPLE
on physical tables (#10218) (bdb718d)as_posix
instead ofas_uri
to avoid escaping special characters (#10792) (ec41d4c)order_by
calls during select merging (#10475) (6e693b7), closes #10428argmin
/argmax
(#10227) (51335ed)Documentation
to_array
in favor ofas_scalar
in docstring (#10508) (62e8b6c)re_search
need only match part of a string (#10402) (78d88a5)distinct
in difference(), add examples (#10716) (b711f39)count
,percent_rank
,cume_dist
,ntile
example usage (#10435) (291bb69)asof_join
weather example (#10507) (7595ca6)having
example for GroupedTable (#10457) (130e4d5)Value.asc
andValue.desc
examples (#10515) (41c8f23)day_of_year
example (#10376) (40c14c3)strftime
examples (#10362) (11b4e3a)truncate
examples (#10367) (41a9b7d)get_backend
andget_name
(#10449) (ae1bb20)Configuration
📅 Schedule: Branch creation - "after 5pm on friday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.