Upgrading xarray 0.12 to 0.13
Unknown0.12.3 → 0.13.0
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
Python requirement changed in 0.13.0: >=3.5 → >=3.5.3.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export broadcast_arrays
- changed:
function open_mfdataset(paths, chunks=…, concat_dim=…, compat=…, preprocess=…, engine=…, lock=…, data_vars=…, coords=…, combine=…, autoclose=…, parallel=…, **kwargs) → function open_mfdataset(paths, chunks=…, concat_dim=…, compat=…, preprocess=…, engine=…, lock=…, data_vars=…, coords=…, combine=…, autoclose=…, parallel=…, join=…, **kwargs) - changed:
function to_netcdf(dataset, path_or_file=…, mode=…, format=…, group=…, engine=…, encoding=…, unlimited_dims=…, compute=…, multifile=…) → function to_netcdf(dataset: Dataset, path_or_file=…, mode: str=…, format: str=…, group: str=…, engine: str=…, encoding: Mapping=…, unlimited_dims: Iterable[Hashable]=…, compute: bool=…, multifile: bool=…, invalid_netcdf: bool=…) -> Union[Tuple[ArrayWriter, AbstractDataStore], bytes, Delayed, None] - added:
variable Delayed
- changed:
constructor H5NetCDFStore(filename, mode=…, format=…, group=…, lock=…, autoclose=…) → constructor H5NetCDFStore(filename, mode=…, format=…, group=…, lock=…, autoclose=…, invalid_netcdf=…)
- added:
method BaseNetCDF4Array.get_array(needs_lock=…)
- removed:
function broadcast_arrays(*args) - changed:
function reindex_like_indexers(target, other) → function reindex_like_indexers(target: Union[DataArray, Dataset], other: Union[DataArray, Dataset]) -> Dict[Hashable, pd.Index]
- changed:
function auto_combine(datasets, concat_dim=…, compat=…, data_vars=…, coords=…, fill_value=…) → function auto_combine(datasets, concat_dim=…, compat=…, data_vars=…, coords=…, fill_value=…, join=…, from_openmfds=…) - changed:
function combine_by_coords(datasets, compat=…, data_vars=…, coords=…, fill_value=…) → function combine_by_coords(datasets, compat=…, data_vars=…, coords=…, fill_value=…, join=…) - changed:
function combine_nested(datasets, concat_dim, compat=…, data_vars=…, coords=…, fill_value=…) → function combine_nested(datasets, concat_dim, compat=…, data_vars=…, coords=…, fill_value=…, join=…)
- changed:
function full_like(other, fill_value, dtype: Optional[DTypeLike]=…) → function full_like(other, fill_value, dtype: DTypeLike=…) - changed:
function ones_like(other, dtype: Optional[DTypeLike]=…) → function ones_like(other, dtype: DTypeLike=…) - changed:
function zeros_like(other, dtype: Optional[DTypeLike]=…) → function zeros_like(other, dtype: DTypeLike=…) - changed:
method DataWithCoords.assign_coords(**kwargs) → method DataWithCoords.assign_coords(coords=…, **coords_kwargs) - changed:
method DataWithCoords.coarsen(dim: Optional[Mapping[Hashable, int]]=…, boundary: str=…, side: Union[str, Mapping[Hashable, str]]=…, coord_func: str=…, **window_kwargs: int) → method DataWithCoords.coarsen(dim: Mapping[Hashable, int]=…, boundary: str=…, side: Union[str, Mapping[Hashable, str]]=…, coord_func: str=…, **window_kwargs: int) - changed:
method DataWithCoords.groupby(group, squeeze: bool=…, restore_coord_dims: Optional[bool]=…) → method DataWithCoords.groupby(group, squeeze: bool=…, restore_coord_dims: bool=…) - changed:
method DataWithCoords.groupby_bins(group, bins, right: bool=…, labels=…, precision: int=…, include_lowest: bool=…, squeeze: bool=…, restore_coord_dims: Optional[bool]=…) → method DataWithCoords.groupby_bins(group, bins, right: bool=…, labels=…, precision: int=…, include_lowest: bool=…, squeeze: bool=…, restore_coord_dims: bool=…) - changed:
method DataWithCoords.resample(indexer: Optional[Mapping[Hashable, str]]=…, skipna=…, closed: Optional[str]=…, label: Optional[str]=…, base: int=…, keep_attrs: Optional[bool]=…, loffset=…, restore_coord_dims: Optional[bool]=…, **indexer_kwargs: str) → method DataWithCoords.resample(indexer: Mapping[Hashable, str]=…, skipna=…, closed: str=…, label: str=…, base: int=…, keep_attrs: bool=…, loffset=…, restore_coord_dims: bool=…, **indexer_kwargs: str) - changed:
method DataWithCoords.rolling(dim: Optional[Mapping[Hashable, int]]=…, min_periods: Optional[int]=…, center: bool=…, **window_kwargs: int) → method DataWithCoords.rolling(dim: Mapping[Hashable, int]=…, min_periods: int=…, center: bool=…, **window_kwargs: int) - changed:
method DataWithCoords.rolling_exp(window: Optional[Mapping[Hashable, int]]=…, window_type: str=…, **window_kwargs) → method DataWithCoords.rolling_exp(window: Mapping[Hashable, int]=…, window_type: str=…, **window_kwargs) - added:
variable C
- changed:
function apply_ufunc(func: Callable, *args: Any, input_core_dims: Optional[Sequence[Sequence]]=…, output_core_dims: Optional[Sequence[Sequence]]=…, exclude_dims: AbstractSet=…, vectorize: bool=…, join: str=…, dataset_join: str=…, dataset_fill_value: object=…, keep_attrs: bool=…, kwargs: Mapping=…, dask: str=…, output_dtypes: Optional[Sequence]=…, output_sizes: Optional[Mapping[Any, int]]=…) -> Any → function apply_ufunc(func: Callable, *args: Any, input_core_dims: Sequence[Sequence]=…, output_core_dims: Optional[Sequence[Sequence]]=…, exclude_dims: AbstractSet=…, vectorize: bool=…, join: str=…, dataset_join: str=…, dataset_fill_value: object=…, keep_attrs: bool=…, kwargs: Mapping=…, dask: str=…, output_dtypes: Sequence=…, output_sizes: Mapping[Any, int]=…) -> Any
- changed:
function concat(objs, dim=…, data_vars=…, coords=…, compat=…, positions=…, indexers=…, mode=…, concat_over=…, fill_value=…) → function concat(objs, dim, data_vars=…, coords=…, compat=…, positions=…, fill_value=…, join=…)
- removed:
property AbstractCoordinates.dims - removed:
property AbstractCoordinates.indexes - removed:
property DatasetCoordinates.variables - changed:
class AbstractCoordinates(collections.abc.Mapping) → class AbstractCoordinates(Mapping[Hashable, 'DataArray']) - changed:
constructor DataArrayCoordinates(dataarray) → constructor DataArrayCoordinates(dataarray: DataArray) - changed:
constructor DatasetCoordinates(dataset) → constructor DatasetCoordinates(dataset: Dataset) - changed:
function assert_coordinate_consistent(obj, coords) → function assert_coordinate_consistent(obj: Union[DataArray, Dataset], coords: Mapping[Hashable, Variable]) -> None - changed:
function remap_label_indexers(obj, indexers=…, method=…, tolerance=…, **indexers_kwargs) → function remap_label_indexers(obj: Union[DataArray, Dataset], indexers: Mapping[Hashable, Any]=…, method: str=…, tolerance=…, **indexers_kwargs: Any) -> Tuple[dict, dict] - changed:
method AbstractCoordinates.merge(other) → method AbstractCoordinates.merge(other: AbstractCoordinates) -> Dataset - changed:
method AbstractCoordinates.to_index(ordered_dims=…) → method AbstractCoordinates.to_index(ordered_dims: Sequence[Hashable]=…) -> pd.Index - changed:
method AbstractCoordinates.update(other) → method AbstractCoordinates.update(other: Mapping[Hashable, Any]) -> None - changed:
method DataArrayCoordinates.to_dataset() → method DataArrayCoordinates.to_dataset() -> Dataset - changed:
method DatasetCoordinates.to_dataset() → method DatasetCoordinates.to_dataset() -> Dataset - added:
method AbstractCoordinates.to_dataset() -> Dataset - added:
property AbstractCoordinates.dims -> Union[Mapping[Hashable, int], Tuple[Hashable, ...]] - added:
property AbstractCoordinates.indexes -> Indexes - added:
property DataArrayCoordinates.dims -> Tuple[Hashable, ...] - added:
property DatasetCoordinates.dims -> Mapping[Hashable, int] - added:
property DatasetCoordinates.variables -> Mapping[Hashable, Variable]
- removed:
method DataArray.isel_points(dim=…, **indexers) -> DataArray - removed:
method DataArray.sel_points(dim=…, method=…, tolerance=…, **indexers) -> DataArray - changed:
constructor DataArray(data: Any, coords: Union[Sequence[Tuple], Mapping[Hashable, Any], None]=…, dims: Union[Hashable, Sequence[Hashable], None]=…, name: Optional[Hashable]=…, attrs: Optional[Mapping]=…, encoding=…, indexes=…, fastpath: bool=…) → constructor DataArray(data: Any=…, coords: Union[Sequence[Tuple], Mapping[Hashable, Any], None]=…, dims: Union[Hashable, Sequence[Hashable], None]=…, name: Hashable=…, attrs: Mapping=…, encoding=…, indexes=…, fastpath: bool=…) - changed:
method DataArray.bfill(dim: Hashable, limit: Optional[int]=…) -> DataArray → method DataArray.bfill(dim: Hashable, limit: int=…) -> DataArray - changed:
method DataArray.chunk(chunks: Union[None, int, Tuple[int, ...], Tuple[Tuple[int, ...], ...], Mapping[Hashable, Union[None, int, Tuple[int, ...]]]]=…, name_prefix: str=…, token: Optional[str]=…, lock: bool=…) -> DataArray → method DataArray.chunk(chunks: Union[None, Number, Tuple[Number, ...], Tuple[Tuple[Number, ...], ...], Mapping[Hashable, Union[None, Number, Tuple[Number, ...]]]]=…, name_prefix: str=…, token: str=…, lock: bool=…) -> DataArray - changed:
method DataArray.copy(deep: bool=…, data: Optional[Any]=…) -> DataArray → method DataArray.copy(deep: bool=…, data: Any=…) -> DataArray - changed:
method DataArray.differentiate(coord: Hashable, edge_order: int=…, datetime_unit: Optional[str]=…) -> DataArray → method DataArray.differentiate(coord: Hashable, edge_order: int=…, datetime_unit: str=…) -> DataArray - changed:
method DataArray.drop(labels: Union[Hashable, Sequence[Hashable]], dim: Optional[Hashable]=…, *, errors: str=…) -> DataArray → method DataArray.drop(labels: Union[Hashable, Iterable[Hashable]], *, errors: str=…) -> DataArray | (labels: Any, dim: Hashable, *, errors: str=…) -> DataArray - changed:
method DataArray.dropna(dim: Hashable, how: str=…, thresh: Optional[int]=…) -> DataArray → method DataArray.dropna(dim: Hashable, how: str=…, thresh: int=…) -> DataArray - changed:
method DataArray.ffill(dim: Hashable, limit: Optional[int]=…) -> DataArray → method DataArray.ffill(dim: Hashable, limit: int=…) -> DataArray - changed:
method DataArray.integrate(dim: Union[Hashable, Sequence[Hashable]], datetime_unit: Optional[str]=…) -> DataArray → method DataArray.integrate(dim: Union[Hashable, Sequence[Hashable]], datetime_unit: str=…) -> DataArray - changed:
method DataArray.interp(coords: Optional[Mapping[Hashable, Any]]=…, method: str=…, assume_sorted: bool=…, kwargs: Optional[Mapping[str, Any]]=…, **coords_kwargs: Any) -> DataArray → method DataArray.interp(coords: Mapping[Hashable, Any]=…, method: str=…, assume_sorted: bool=…, kwargs: Mapping[str, Any]=…, **coords_kwargs: Any) -> DataArray - changed:
method DataArray.interp_like(other: Union[DataArray, Dataset], method: str=…, assume_sorted: bool=…, kwargs: Optional[Mapping[str, Any]]=…) -> DataArray → method DataArray.interp_like(other: Union[DataArray, Dataset], method: str=…, assume_sorted: bool=…, kwargs: Mapping[str, Any]=…) -> DataArray - changed:
method DataArray.interpolate_na(dim=…, method: str=…, limit: Optional[int]=…, use_coordinate: Union[bool, str]=…, **kwargs: Any) -> DataArray → method DataArray.interpolate_na(dim=…, method: str=…, limit: int=…, use_coordinate: Union[bool, str]=…, **kwargs: Any) -> DataArray - changed:
method DataArray.isel(indexers: Optional[Mapping[Hashable, Any]]=…, drop: bool=…, **indexers_kwargs: Any) -> DataArray → method DataArray.isel(indexers: Mapping[Hashable, Any]=…, drop: bool=…, **indexers_kwargs: Any) -> DataArray - changed:
method DataArray.quantile(q: Any, dim: Union[Hashable, Sequence[Hashable], None]=…, interpolation: str=…, keep_attrs: Optional[bool]=…) -> DataArray → method DataArray.quantile(q: Any, dim: Union[Hashable, Sequence[Hashable], None]=…, interpolation: str=…, keep_attrs: bool=…) -> DataArray - changed:
method DataArray.reduce(func: Callable[..., Any], dim: Union[None, Hashable, Sequence[Hashable]]=…, axis: Union[None, int, Sequence[int]]=…, keep_attrs: Optional[bool]=…, keepdims: bool=…, **kwargs: Any) -> DataArray → method DataArray.reduce(func: Callable[..., Any], dim: Union[None, Hashable, Sequence[Hashable]]=…, axis: Union[None, int, Sequence[int]]=…, keep_attrs: bool=…, keepdims: bool=…, **kwargs: Any) -> DataArray - changed:
method DataArray.reindex(indexers: Optional[Mapping[Hashable, Any]]=…, method: Optional[str]=…, tolerance=…, copy: bool=…, fill_value=…, **indexers_kwargs: Any) -> DataArray → method DataArray.reindex(indexers: Mapping[Hashable, Any]=…, method: str=…, tolerance=…, copy: bool=…, fill_value=…, **indexers_kwargs: Any) -> DataArray - changed:
method DataArray.reindex_like(other: Union[DataArray, Dataset], method: Optional[str]=…, tolerance=…, copy: bool=…, fill_value=…) -> DataArray → method DataArray.reindex_like(other: Union[DataArray, Dataset], method: str=…, tolerance=…, copy: bool=…, fill_value=…) -> DataArray - changed:
method DataArray.rename(new_name_or_name_dict: Optional[Union[Hashable, Mapping[Hashable, Hashable]]]=…, **names: Hashable) -> DataArray → method DataArray.rename(new_name_or_name_dict: Union[Hashable, Mapping[Hashable, Hashable]]=…, **names: Hashable) -> DataArray - changed:
method DataArray.reorder_levels(dim_order: Optional[Mapping[Hashable, Sequence[int]]]=…, inplace: Optional[bool]=…, **dim_order_kwargs: Sequence[int]) -> Optional[DataArray] → method DataArray.reorder_levels(dim_order: Mapping[Hashable, Sequence[int]]=…, inplace: bool=…, **dim_order_kwargs: Sequence[int]) -> DataArray - changed:
method DataArray.reset_coords(names: Union[Iterable[Hashable], Hashable, None]=…, drop: bool=…, inplace: Optional[bool]=…) -> Union[None, DataArray, Dataset] → method DataArray.reset_coords(names: Union[Iterable[Hashable], Hashable, None]=…, drop: bool=…, inplace: bool=…) -> Union[None, DataArray, Dataset] - changed:
method DataArray.reset_index(dims_or_levels: Union[Hashable, Sequence[Hashable]], drop: bool=…, inplace: Optional[bool]=…) -> Optional[DataArray] → method DataArray.reset_index(dims_or_levels: Union[Hashable, Sequence[Hashable]], drop: bool=…, inplace: bool=…) -> Optional[DataArray] - changed:
method DataArray.roll(shifts: Optional[Mapping[Hashable, int]]=…, roll_coords: Optional[bool]=…, **shifts_kwargs: int) -> DataArray → method DataArray.roll(shifts: Mapping[Hashable, int]=…, roll_coords: bool=…, **shifts_kwargs: int) -> DataArray - changed:
method DataArray.sel(indexers: Optional[Mapping[Hashable, Any]]=…, method: Optional[str]=…, tolerance=…, drop: bool=…, **indexers_kwargs: Any) -> DataArray → method DataArray.sel(indexers: Mapping[Hashable, Any]=…, method: str=…, tolerance=…, drop: bool=…, **indexers_kwargs: Any) -> DataArray - changed:
method DataArray.set_index(indexes: Optional[Mapping[Hashable, Any]]=…, append: bool=…, inplace: Optional[bool]=…, **indexes_kwargs: Any) -> Optional[DataArray] → method DataArray.set_index(indexes: Mapping[Hashable, Union[Hashable, Sequence[Hashable]]]=…, append: bool=…, inplace: bool=…, **indexes_kwargs: Union[Hashable, Sequence[Hashable]]) -> Optional[DataArray] - changed:
method DataArray.shift(shifts: Optional[Mapping[Hashable, int]]=…, fill_value: Any=…, **shifts_kwargs: int) -> DataArray → method DataArray.shift(shifts: Mapping[Hashable, int]=…, fill_value: Any=…, **shifts_kwargs: int) -> DataArray - changed:
method DataArray.stack(dimensions: Optional[Mapping[Hashable, Sequence[Hashable]]]=…, **dimensions_kwargs: Sequence[Hashable]) -> DataArray → method DataArray.stack(dimensions: Mapping[Hashable, Sequence[Hashable]]=…, **dimensions_kwargs: Sequence[Hashable]) -> DataArray - changed:
method DataArray.to_dataframe(name: Optional[Hashable]=…) -> pd.DataFrame → method DataArray.to_dataframe(name: Hashable=…) -> pd.DataFrame - changed:
method DataArray.to_dataset(dim: Optional[Hashable]=…, name: Optional[Hashable]=…) -> Dataset → method DataArray.to_dataset(dim: Hashable=…, *, name: Hashable=…) -> Dataset - changed:
method DataArray.transpose(*dims: Hashable, transpose_coords: Optional[bool]=…) -> DataArray → method DataArray.transpose(*dims: Hashable, transpose_coords: bool=…) -> DataArray - changed:
static method DataArray.from_series(series: pd.Series) -> DataArray → static method DataArray.from_series(series: pd.Series, sparse: bool=…) -> DataArray - added:
method DataArray.broadcast_like(other: Union[DataArray, Dataset], exclude: Iterable[Hashable]=…) -> DataArray - added:
method DataArray.head(indexers: Union[Mapping[Hashable, int], int]=…, **indexers_kwargs: Any) -> DataArray - added:
method DataArray.tail(indexers: Union[Mapping[Hashable, int], int]=…, **indexers_kwargs: Any) -> DataArray - added:
method DataArray.thin(indexers: Union[Mapping[Hashable, int], int]=…, **indexers_kwargs: Any) -> DataArray
- removed:
method Dataset.isel_points(dim=…, **indexers) - removed:
method Dataset.sel_points(dim=…, method=…, tolerance=…, **indexers) - removed:
property Dataset.chunks - removed:
property Dataset.indexes -> Mapping[Any, pd.Index] - changed:
class DataVariables(Mapping[Hashable, 'Union[DataArray, Dataset]']) → class DataVariables(Mapping[Hashable, 'DataArray']) - changed:
constructor Dataset(data_vars: Optional[Mapping[Hashable, Union[DataArray, Variable, Tuple[Hashable, Any], Tuple[Sequence[Hashable], Any]]]]=…, coords: Optional[Mapping[Hashable, Any]]=…, attrs: Optional[Mapping]=…, compat=…) → constructor Dataset(data_vars: Mapping[Hashable, Any]=…, coords: Mapping[Hashable, Any]=…, attrs: Mapping[Hashable, Any]=…, compat=…) - changed:
method Dataset.apply(func, keep_attrs=…, args=…, **kwargs) → method Dataset.apply(func: Callable, keep_attrs: bool=…, args: Iterable[Any]=…, **kwargs: Any) -> Dataset - changed:
method Dataset.assign(variables=…, **variables_kwargs) → method Dataset.assign(variables: Mapping[Hashable, Any]=…, **variables_kwargs: Hashable) -> Dataset - changed:
method Dataset.bfill(dim, limit=…) → method Dataset.bfill(dim: Hashable, limit: int=…) -> Dataset - changed:
method Dataset.chunk(chunks=…, name_prefix=…, token=…, lock=…) → method Dataset.chunk(chunks: Union[None, Number, Mapping[Hashable, Union[None, Number, Tuple[Number, ...]]]]=…, name_prefix: str=…, token: str=…, lock: bool=…) -> Dataset - changed:
method Dataset.combine_first(other) → method Dataset.combine_first(other: Dataset) -> Dataset - changed:
method Dataset.drop(labels, dim=…, *, errors=…) → method Dataset.drop(labels: Union[Hashable, Iterable[Hashable]], *, errors: str=…) -> Dataset | (labels: Any, dim: Hashable, *, errors: str=…) -> Dataset - changed:
method Dataset.drop_dims(drop_dims, *, errors=…) → method Dataset.drop_dims(drop_dims: Union[Hashable, Iterable[Hashable]], *, errors: str=…) -> Dataset - changed:
method Dataset.dropna(dim, how=…, thresh=…, subset=…) → method Dataset.dropna(dim: Hashable, how: str=…, thresh: int=…, subset: Iterable[Hashable]=…) - changed:
method Dataset.expand_dims(dim=…, axis=…, **dim_kwargs) → method Dataset.expand_dims(dim: Union[None, Hashable, Sequence[Hashable], Mapping[Hashable, Any]]=…, axis: Union[None, int, Sequence[int]]=…, **dim_kwargs: Any) -> Dataset - changed:
method Dataset.ffill(dim, limit=…) → method Dataset.ffill(dim: Hashable, limit: int=…) -> Dataset - changed:
method Dataset.fillna(value) → method Dataset.fillna(value: Any) -> Dataset - changed:
method Dataset.info(buf=…) → method Dataset.info(buf=…) -> None - changed:
method Dataset.interp(coords=…, method=…, assume_sorted=…, kwargs=…, **coords_kwargs) → method Dataset.interp(coords: Mapping[Hashable, Any]=…, method: str=…, assume_sorted: bool=…, kwargs: Mapping[str, Any]=…, **coords_kwargs: Any) -> Dataset - changed:
method Dataset.interp_like(other, method=…, assume_sorted=…, kwargs=…) → method Dataset.interp_like(other: Union[Dataset, DataArray], method: str=…, assume_sorted: bool=…, kwargs: Mapping[str, Any]=…) -> Dataset - changed:
method Dataset.interpolate_na(dim=…, method=…, limit=…, use_coordinate=…, **kwargs) → method Dataset.interpolate_na(dim: Hashable=…, method: str=…, limit: int=…, use_coordinate: Union[bool, Hashable]=…, **kwargs: Any) -> Dataset - changed:
method Dataset.isel(indexers=…, drop=…, **indexers_kwargs) → method Dataset.isel(indexers: Mapping[Hashable, Any]=…, drop: bool=…, **indexers_kwargs: Any) -> Dataset - changed:
method Dataset.merge(other, inplace=…, overwrite_vars=…, compat=…, join=…, fill_value=…) → method Dataset.merge(other: DatasetLike, inplace: bool=…, overwrite_vars: Union[Hashable, Iterable[Hashable]]=…, compat: str=…, join: str=…, fill_value: Any=…) -> Dataset - changed:
method Dataset.reduce(func, dim=…, keep_attrs=…, keepdims=…, numeric_only=…, allow_lazy=…, **kwargs) → method Dataset.reduce(func: Callable, dim: Union[Hashable, Iterable[Hashable]]=…, keep_attrs: bool=…, keepdims: bool=…, numeric_only: bool=…, allow_lazy: bool=…, **kwargs: Any) -> Dataset - changed:
method Dataset.reindex(indexers=…, method=…, tolerance=…, copy=…, fill_value=…, **indexers_kwargs) → method Dataset.reindex(indexers: Mapping[Hashable, Any]=…, method: str=…, tolerance: Number=…, copy: bool=…, fill_value: Any=…, **indexers_kwargs: Any) -> Dataset - changed:
method Dataset.reindex_like(other, method=…, tolerance=…, copy=…, fill_value=…) → method Dataset.reindex_like(other: Union[Dataset, DataArray], method: str=…, tolerance: Number=…, copy: bool=…, fill_value: Any=…) -> Dataset - changed:
method Dataset.rename(name_dict=…, inplace=…, **names) → method Dataset.rename(name_dict: Mapping[Hashable, Hashable]=…, inplace: bool=…, **names: Hashable) -> Dataset - changed:
method Dataset.rename_dims(dims_dict=…, **dims) → method Dataset.rename_dims(dims_dict: Mapping[Hashable, Hashable]=…, **dims: Hashable) -> Dataset - changed:
method Dataset.rename_vars(name_dict=…, **names) → method Dataset.rename_vars(name_dict: Mapping[Hashable, Hashable]=…, **names: Hashable) -> Dataset - changed:
method Dataset.reorder_levels(dim_order=…, inplace=…, **dim_order_kwargs) → method Dataset.reorder_levels(dim_order: Mapping[Hashable, Sequence[int]]=…, inplace: bool=…, **dim_order_kwargs: Sequence[int]) -> Dataset - changed:
method Dataset.reset_index(dims_or_levels, drop=…, inplace=…) → method Dataset.reset_index(dims_or_levels: Union[Hashable, Sequence[Hashable]], drop: bool=…, inplace: bool=…) -> Dataset - changed:
method Dataset.sel(indexers=…, method=…, tolerance=…, drop=…, **indexers_kwargs) → method Dataset.sel(indexers: Mapping[Hashable, Any]=…, method: str=…, tolerance: Number=…, drop: bool=…, **indexers_kwargs: Any) -> Dataset - changed:
method Dataset.set_index(indexes=…, append=…, inplace=…, **indexes_kwargs) → method Dataset.set_index(indexes: Mapping[Hashable, Union[Hashable, Sequence[Hashable]]]=…, append: bool=…, inplace: bool=…, **indexes_kwargs: Union[Hashable, Sequence[Hashable]]) -> Dataset - changed:
method Dataset.stack(dimensions=…, **dimensions_kwargs) → method Dataset.stack(dimensions: Mapping[Hashable, Sequence[Hashable]]=…, **dimensions_kwargs: Sequence[Hashable]) -> Dataset - changed:
method Dataset.swap_dims(dims_dict, inplace=…) → method Dataset.swap_dims(dims_dict: Mapping[Hashable, Hashable], inplace: bool=…) -> Dataset - changed:
method Dataset.to_netcdf(path=…, mode=…, format=…, group=…, engine=…, encoding=…, unlimited_dims=…, compute=…) → method Dataset.to_netcdf(path=…, mode: str=…, format: str=…, group: str=…, engine: str=…, encoding: Mapping=…, unlimited_dims: Iterable[Hashable]=…, compute: bool=…, invalid_netcdf: bool=…) -> Union[bytes, Delayed, None] - changed:
method Dataset.to_stacked_array(new_dim, sample_dims, variable_dim=…, name=…) → method Dataset.to_stacked_array(new_dim: Hashable, sample_dims: Sequence[Hashable], variable_dim: str=…, name: Hashable=…) -> DataArray - changed:
method Dataset.to_zarr(store=…, mode=…, synchronizer=…, group=…, encoding=…, compute=…, consolidated=…, append_dim=…) → method Dataset.to_zarr(store: Union[MutableMapping, str, Path]=…, mode: str=…, synchronizer=…, group: str=…, encoding: Mapping=…, compute: bool=…, consolidated: bool=…, append_dim: Hashable=…) -> ZarrStore - changed:
method Dataset.transpose(*dims) → method Dataset.transpose(*dims: Hashable) -> Dataset - changed:
method Dataset.unstack(dim=…) → method Dataset.unstack(dim: Union[Hashable, Iterable[Hashable]]=…) -> Dataset - changed:
method Dataset.update(other: Union[Dataset, Mapping[Hashable, Union[DataArray, Variable, Tuple[Hashable, Any], Tuple[Sequence[Hashable], Any]]]], inplace: bool=…) -> Dataset → method Dataset.update(other: DatasetLike, inplace: bool=…) -> Dataset - changed:
static method Dataset.from_dataframe(dataframe) → static method Dataset.from_dataframe(dataframe: pd.DataFrame, sparse: bool=…) -> Dataset - added:
method Dataset.broadcast_like(other: Union[Dataset, DataArray], exclude: Iterable[Hashable]=…) -> Dataset - added:
method Dataset.head(indexers: Union[Mapping[Hashable, int], int]=…, **indexers_kwargs: Any) -> Dataset - added:
method Dataset.tail(indexers: Union[Mapping[Hashable, int], int]=…, **indexers_kwargs: Any) -> Dataset - added:
method Dataset.thin(indexers: Union[Mapping[Hashable, int], int]=…, **indexers_kwargs: Any) -> Dataset - added:
property Dataset.chunks -> Mapping[Hashable, Tuple[int, ...]] - added:
property Dataset.indexes -> Indexes - added:
property Dataset.plot - added:
variable Delayed
- removed:
function as_like_arrays(*data) - removed:
variable notnull - added:
function notnull(data) - added:
variable isnan - added:
variable isnat - added:
variable pandas_isnull - added:
variable zeros_like
- removed:
function short_array_repr(array) - removed:
function short_dask_repr(array, show_dtype=…) - changed:
function summarize_variable(name, var, col_width, show_values=…, marker=…, max_width=…) → function summarize_variable(name, var, col_width, marker=…, max_width=…) - added:
function inline_dask_repr(array) - added:
function inline_sparse_repr(array) - added:
function inline_variable_array_repr(var, max_width) - added:
function short_numpy_repr(array)
- removed:
variable DEFAULT_DIMS - changed:
method GroupBy.assign_coords(**kwargs) → method GroupBy.assign_coords(coords=…, **coords_kwargs)
- removed:
property PandasIndexAdapter.dtype - removed:
property PandasIndexAdapter.shape - changed:
class IndexingSupport → class IndexingSupport(enum.Enum) - changed:
constructor PandasIndexAdapter(array, dtype=…) → constructor PandasIndexAdapter(array: Any, dtype: DTypeLike=…) - changed:
function create_mask(indexer, shape, chunks_hint=…) → function create_mask(indexer, shape, data=…) - changed:
function decompose_indexer(indexer, shape, indexing_support) → function decompose_indexer(indexer: ExplicitIndexer, shape: Tuple[int, ...], indexing_support: IndexingSupport) -> Tuple[ExplicitIndexer, ExplicitIndexer] - changed:
function explicit_indexing_adapter(key, shape, indexing_support, raw_indexing_method) → function explicit_indexing_adapter(key: ExplicitIndexer, shape: Tuple[int, ...], indexing_support: IndexingSupport, raw_indexing_method: Callable) -> Any - changed:
method PandasIndexAdapter.transpose(order) → method PandasIndexAdapter.transpose(order) -> pd.Index - added:
class NdArrayLikeIndexingAdapter(NumpyIndexingAdapter) - added:
constructor NdArrayLikeIndexingAdapter(array) - added:
method PandasIndexAdapter.copy(deep: bool=…) -> PandasIndexAdapter - added:
property PandasIndexAdapter.dtype -> np.dtype - added:
property PandasIndexAdapter.shape -> Tuple[int]
- changed:
function coerce_pandas_values(objects) → function coerce_pandas_values(objects: Iterable[DatasetLike]) -> List[DatasetLike] - changed:
function dataset_merge_method(dataset, other, overwrite_vars, compat, join, fill_value=…) → function dataset_merge_method(dataset: Dataset, other: DatasetLike, overwrite_vars: Union[Hashable, Iterable[Hashable]], compat: str, join: str, fill_value: Any) -> Tuple[OrderedDict[Hashable, Variable], Set[Hashable], Dict[Hashable, int]] - changed:
function dataset_update_method(dataset: Dataset, other: Union[Dataset, Mapping[Hashable, Union[DataArray, Variable, Tuple[Hashable, Any], Tuple[Sequence[Hashable], Any]]]]) -> Tuple[OrderedDict[Hashable, Variable], Set[Hashable], Dict[Hashable, int]] → function dataset_update_method(dataset: Dataset, other: DatasetLike) -> Tuple[OrderedDict[Hashable, Variable], Set[Hashable], Dict[Hashable, int]] - changed:
function determine_coords(list_of_variable_dicts) → function determine_coords(list_of_variable_dicts: Iterable[DatasetLike]) -> Tuple[Set[Hashable], Set[Hashable]] - changed:
function merge_variables(list_of_variables_dicts, priority_vars=…, compat=…) → function merge_variables(list_of_variables_dicts: List[Mapping[Any, Variable]], priority_vars: Mapping[Any, Variable]=…, compat: str=…) -> OrderedDict[Any, Variable] - changed:
function unique_variable(name, variables, compat=…) → function unique_variable(name, variables, compat=…, equals=…) - added:
variable DatasetLike - added:
variable DatasetLikeValue - added:
variable MutableDatasetLike
- added:
variable IS_NEP18_ACTIVE
- added:
variable nanargmax - added:
variable nanargmin
- removed:
class Mapping(abc.Mapping) - removed:
class MutableMapping(abc.MutableMapping) - removed:
class MutableSet(abc.MutableSet) - removed:
variable TYPE_CHECKING - added:
variable sparse_array_type
- changed:
constructor OrderedSet(values: Optional[AbstractSet[T]]=…) → constructor OrderedSet(values: AbstractSet[T]=…) - changed:
constructor SortedKeysDict(mapping: Optional[MutableMapping[K, V]]=…) → constructor SortedKeysDict(mapping: MutableMapping[K, V]=…) - changed:
function is_scalar(value: Any) -> bool → function is_scalar(value: Any, include_0d: bool=…) -> bool - changed:
function multiindex_from_product_levels(levels: Sequence[pd.Index], names: Optional[Sequence[str]]=…) -> pd.MultiIndex → function multiindex_from_product_levels(levels: Sequence[pd.Index], names: Sequence[str]=…) -> pd.MultiIndex - added:
function is_list_like(value: Any) -> bool - added:
function list_equiv(first, second) - added:
function maybe_cast_to_coords_dtype(label, coords_dtype)
- removed:
method Variable.expand_dims(*args) - changed:
method Variable.quantile(q, dim=…, interpolation=…) → method Variable.quantile(q, dim=…, interpolation=…, keep_attrs=…)
- added:
function scatter(ds, x, y, ax, **kwargs)
- added:
method FacetGrid.map_dataset(func, x=…, y=…, hue=…, hue_style=…, add_guide=…, **kwargs)
- added:
function scatter_example_dataset()