Skip to content

Commit

Permalink
Update audb/core/dependencies.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hagen Wierstorf <hwierstorf@audeering.com>
  • Loading branch information
ChristianGeng and hagenw committed May 29, 2024
1 parent 6bfc263 commit 8063281
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions audb/core/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,13 @@ def _column_loc(
r"""Column content for selected files.
Args:
column: one of the names in self._schema
files: rows to query, index is a filename
dtype: convert data to dtype
column: one of the names in ``Dependencies._schema``
files: rows to query, index is a filename
dtype: convert data to dtype
Returns:
scalar value or list
Returns: scalar value or list
"""
# note: pandas series is not a sequence
is_sequence = isinstance(files, collections.abc.Sequence)
Expand Down

0 comments on commit 8063281

Please sign in to comment.