Releases: audeering/audformat
Releases · audeering/audformat
Release v1.4.2
- Changed: exclude
tests/anddocs/folders from the Python package - Fixed: ensure
pandas>=3.0.3works withaudformat
Release v1.4.1
- Added: include table ID in error messages in the methods
drop_index(),
extend_index(),
pick_index(),
update()
ofaudformat.Table
andaudformat.MiscTable
if the receiving table is assigned to a database - Changed: black list
pandas
versions 3.0.0, 3.0.1, and 3.0.2
as those contain a serious issue inpd.to_timedelta()
(pandas#65150 <https://github.com/pandas-dev/pandas/issues/65150>_) - Fixed: avoid warning when loading a table
with data points not matching scheme labels.
As before those points are set toNone.
This is now documented inaudformat.Table.load()
Release v1.4.0
- Added:
audformat.Scheme.set_labels()
to add labels to an existing scheme
that has none.
To replace labels
useaudformat.Scheme.replace_labels() - Added: store
audformatversion in table files.
For parquet files it is stored under theaudformat-versionmetadata key.
Pickle files store now a dictionary with the keys
audformat-versionanddf,
whereasdfcontains the table data - Fixed:
audformat.utils.hash()for large dataframes.
Before it resulted in the same hash
for large dataframes
that differed only in rows in their center.
This is a breaking change
and will result in different hash values.
When usingaudb.publish()
to update a database
not published withaudformat>=1.4.0,
it will result in republishing all existing tables,
which is the desired behavior - Fixed: loading scheme labels from misc table,
when usingaudformat.Database.load(..., load_data=True)
Release v1.3.4
- Added: support for
pandas >=3.0
Release v1.3.3
- Added: support for Python 3.14
- Added: document support for (misc) tables with zero columns
in the specification - Fixed: ensure cache compatibility between different
pandasversions - Removed: support for Python 3.9
Release v1.3.2
- Added: support for Python 3.13
- Added: support for Python 3.12
- Fixed:
audformat.Database.update()for misc tables - Fixed:
audformat.Database.get()
ifschemeis stored in a segmented table,
andadditional_schemesare stored in filewise tables.
Before,
values of the additional schemes were set to<NA> - Fixed: if
audformat.Column.set()assigns values
to a column with scheme labels
given by a misc table,
the misc table is only converted once to a dictionary
instead of once for each value
Release v1.3.1
- Changed: replace unmaintained
iso-639dependency
withiso639-lang - Fixed: ensure
poetrycan manageaudformat
Release v1.3.0
- Added:
strictargument
toaudformat.utils.hash().
If set toTrue,
the order of the data,
and its level/column names
are taken into account
when calculating the hash - Changed: store tables per default as parquet files,
by changing the default value ofstorage_format
to"parquet"
inaudformat.Table.save()
andaudformat.Database.save() - Fixed: load csv tables with
pandas.read_csv(),
ifpyarrow.csv.read_csv()fails
Release v1.2.0
- Added: expand format specifications
to allow parquet files
as table files - Added: support for storing tables as parquet files
by adding"parquet"
(audformat.define.TableStorageFormat.PARQUET)
as an option
for thestorage_formatargument
ofaudformat.Table.save()
andaudformat.Database.save() - Added: support for
numpy>=2.0 - Added: mention text files
as potential media files
in the documentation - Added: mention in the documentation of
audformat.utils.hash()
that column/level names do not influence its hash value - Added: warn in the documentation of
audformat.utils.hash()
that the hash of a dataframe or series,
containing"Int64"as data type,
changes withpandas>=2.2.0 - Fixed: ensure
"boolean"data type
is always used
in indices of misc tables
that store boolean values
Release v1.1.4
- Fixed:
audformat.Database.get(),
if its argumentadditional_schemes
contains a non-existent scheme