home / github / commits

Menu
  • GraphQL API
  • Search all tables

commits: d8bb6204dc6a4bacdfca25b02ba62bb7f1bb5795

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
d8bb6204dc6a4bacdfca25b02ba62bb7f1bb5795 Control attrs of result in `merge()`, `concat()`, `combine_by_coords()` and `combine_nested()` (#3877) * Optionally promote attrs from DataArray to Dataset in to_dataset Adds option 'promote_attrs' to DataArray.to_dataset(). By default promote_attrs=False, maintaining current behaviour. If promote_attrs=True, the attrs of the DataArray are shallow-copied to the Dataset returned by to_dataset(). * utils.ordered_dict_union returns the union of two compatible dicts If the values of any shared key are not equivalent, then raises an error. * combine_attrs argument for merge() Provides several options for how to combine the attributes of the passed objects and give them to the returned Dataset. * combine_attrs argument for concat() Provides several options for how to combine the attributes of the passed objects and give them to the returned DataArray or Dataset. * combine_attrs argument for combine_by_coords() and combine_nested() Provides several options for how to combine the attributes of the passed objects and give them to the returned Dataset. * Add combine_attrs changes to whats-new.rst * Update docstrings to note default values Apply suggestions from code review Co-Authored-By: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * First argument of update_safety_check and ordered_dict_union not mutable No need for these arguments to be MutableMapping rather than just Mapping. * Rename ordered_dict_union -> compat_dict_union Do not use OrderedDicts any more, so name did not make sense. * Move combine_attrs to v0.16.0 in whats-new.rst * Fix merge of whats-new.rst Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> 2020-03-24T20:40:17Z 2020-03-24T20:40:17Z 7e21ec85163297602c88c6fc49638c2c95b296a9 cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 3958036 19864447
Powered by Datasette · Queries took 0.966ms · About: xarray-datasette