From dcf4d6deb7094fe85f2b6f123874594e8a9f37d3 Mon Sep 17 00:00:00 2001 From: Alvaro Bartolome Date: Tue, 27 Sep 2022 11:29:44 +0000 Subject: [PATCH] Fix import in docstring --- src/datasets/features/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datasets/features/features.py b/src/datasets/features/features.py index f9d5eb29509..cdfdcfb5e2e 100644 --- a/src/datasets/features/features.py +++ b/src/datasets/features/features.py @@ -880,7 +880,7 @@ class ClassLabel: Example: ```py - >>> from datasets Features + >>> from datasets import Features >>> features = Features({'label': ClassLabel(num_classes=3, names=['bad', 'ok', 'good'])}) >>> features {'label': ClassLabel(num_classes=3, names=['bad', 'ok', 'good'], id=None)}