From 8063281da85f5a90f0ebdc2a367bffdeccd302aa Mon Sep 17 00:00:00 2001 From: ChristianGeng Date: Wed, 29 May 2024 16:30:13 +0200 Subject: [PATCH] Update audb/core/dependencies.py Co-authored-by: Hagen Wierstorf --- audb/core/dependencies.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/audb/core/dependencies.py b/audb/core/dependencies.py index ce9ae394..e029ddf0 100644 --- a/audb/core/dependencies.py +++ b/audb/core/dependencies.py @@ -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)