From 019cb58da3d315a6ead6c1b6a1a6d48045625314 Mon Sep 17 00:00:00 2001 From: alexbacce Date: Mon, 6 Jan 2020 16:55:35 +0100 Subject: [PATCH] Fix typos in docstrings --- .../feature_creation/standard_features/standard_features.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/giottotime/feature_creation/standard_features/standard_features.py b/giottotime/feature_creation/standard_features/standard_features.py index 48b7e22..7d5aff7 100644 --- a/giottotime/feature_creation/standard_features/standard_features.py +++ b/giottotime/feature_creation/standard_features/standard_features.py @@ -194,9 +194,9 @@ class ConstantFeature(StandardFeature): constant : int, optional, default: ``2`` The value to use to generate the constant column of the ``pd.DataFrame``. - length: int, optional, default: ``50`` + length : int, optional, default: ``50`` The length of the DataFrame to generate. This is used only if X is not passed in - the ``transform`` method, otherwise the length is inferred from it. + the ``transform`` method, otherwise the length is inferred from it. output_name : str, optional, default: ``'ConstantFeature'`` The name of the output column. @@ -256,7 +256,7 @@ class CustomFeature(StandardFeature): Parameters ---------- - custom_feature_function`: Callable, required. + custom_feature_function : Callable, required. The function to use to generate a ``pd.DataFrame`` containing the feature. output_name: str, optional, default: ``'CustomFeature'``.