Skip to content

Commit

Permalink
add pandas to constraints.in, fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana Barzinpour committed Jan 4, 2024
1 parent 01f03c2 commit b48304f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datacube/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def _list_measurements(self):
def load(self, product=None, measurements=None, output_crs=None, resolution=None, resampling=None,
skip_broken_datasets=False, dask_chunks=None, like=None, fuse_func=None, align=None,
datasets=None, dataset_predicate=None, progress_cbk=None, patch_url=None, **query):
"""
r"""
Load data as an ``xarray.Dataset`` object.
Each measurement will be a data variable in the :class:`xarray.Dataset`.
Expand Down
3 changes: 2 additions & 1 deletion docker/constraints.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ matplotlib
moto
netcdf4>=1.5.8
numpy>=1.22.2
pandas>=2.0
psycopg2
pycodestyle
pylint
Expand All @@ -37,7 +38,7 @@ sphinx_autodoc_typehints
sphinx_rtd_theme
sqlalchemy<2.0
toolz
xarray>=2023.9.0
xarray>=0.9

# Previous pins were to very old versions
# pytest Py3.10 requires >6.2.5
Expand Down
8 changes: 6 additions & 2 deletions docker/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,10 @@ packaging==23.0
# setuptools-scm
# sphinx
# xarray
pandas==2.1.1
# via xarray
pandas==2.1.4
# via
# -r constraints.in
# xarray
partd==1.3.0
# via dask
pendulum==2.1.2
Expand Down Expand Up @@ -411,6 +413,8 @@ typing-extensions==4.4.0
# via
# pygeoif
# setuptools-scm
tzdata==2023.4
# via pandas
urllib3==1.26.14
# via
# botocore
Expand Down

0 comments on commit b48304f

Please sign in to comment.