Skip to content

Commit

Permalink
[DOC] fix duplications of the word "correspond" (#7403)
Browse files Browse the repository at this point in the history
This PR fixes multiple duplications of the word "correspond", replacing
"correspond correspond" by simply "correspond".

I am surprised there were so many in the code base (nine), perhaps this
is case of copy-paste proliferation.
  • Loading branch information
fkiraly authored Nov 18, 2024
1 parent 193ec01 commit 490ba7d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/01c_forecasting_hierarchical_global.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
"* instance index: the first element of pairs in `obj.index` is interpreted as an instance index. \n",
"* variables: columns of `obj` correspond to different variables\n",
"* variable names: column names `obj.columns`\n",
"* time points: rows of `obj` with the same `\"timepoints\"` index correspond correspond to the same time point; rows of `obj` with different `\"timepoints\"` index correspond correspond to the different time points.\n",
"* time points: rows of `obj` with the same `\"timepoints\"` index correspond to the same time point; rows of `obj` with different `\"timepoints\"` index correspond to the different time points.\n",
"* time index: the second element of pairs in `obj.index` is interpreted as a time index. \n",
"* capabilities: can represent panels of multivariate series; can represent unequally spaced series; can represent panels of unequally supported series; cannot represent panels of series with different sets of variables."
]
Expand Down Expand Up @@ -416,7 +416,7 @@
"* hierarchy: the non-time-like indices in `obj.index` are interpreted as a hierarchy identifying index. \n",
"* variables: columns of `obj` correspond to different variables\n",
"* variable names: column names `obj.columns`\n",
"* time points: rows of `obj` with the same `\"timepoints\"` index correspond correspond to the same time point; rows of `obj` with different `\"timepoints\"` index correspond correspond to the different time points.\n",
"* time points: rows of `obj` with the same `\"timepoints\"` index correspond to the same time point; rows of `obj` with different `\"timepoints\"` index correspond to the different time points.\n",
"* time index: the last element of tuples in `obj.index` is interpreted as a time index. \n",
"* capabilities: can represent hierarchical series; can represent unequally spaced series; can represent unequally supported hierarchical series; cannot represent hierarchical series with different sets of variables."
]
Expand Down
4 changes: 2 additions & 2 deletions examples/AA_datatypes_and_datasets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
"* instance index: the first element of pairs in `obj.index` (0-th level value) is interpreted as an instance index, we call it \"instance index\" below.\n",
"* instances: rows with the same \"instance index\" index value correspond to the same instance; rows with different \"instance index\" values correspond to different instances. \n",
"* time index: the second element of pairs in `obj.index` (1-st level value) is interpreted as a time index, we call it \"time index\" below. \n",
"* time points: rows of `obj` with the same \"time index\" value correspond correspond to the same time point; rows of `obj` with different \"time index\" index correspond correspond to the different time points.\n",
"* time points: rows of `obj` with the same \"time index\" value correspond to the same time point; rows of `obj` with different \"time index\" index correspond to the different time points.\n",
"* variables: columns of `obj` correspond to different variables\n",
"* variable names: column names `obj.columns`\n",
"* capabilities: can represent panels of multivariate series; can represent unequally spaced series; can represent panels of unequally supported series; cannot represent panels of series with different sets of variables."
Expand Down Expand Up @@ -759,7 +759,7 @@
"* hierarchy level: rows with the same non-time-like index values correspond to the same hierarchy unit; rows with different non-time-like index combination correspond to different hierarchy unit.\n",
"* hierarchy: the non-time-like indices in `obj.index` are interpreted as a hierarchy identifying index. \n",
"* time index: the last element of tuples in `obj.index` is interpreted as a time index. \n",
"* time points: rows of `obj` with the same `\"timepoints\"` index correspond correspond to the same time point; rows of `obj` with different `\"timepoints\"` index correspond correspond to the different time points.\n",
"* time points: rows of `obj` with the same `\"timepoints\"` index correspond to the same time point; rows of `obj` with different `\"timepoints\"` index correspond to the different time points.\n",
"* variables: columns of `obj` correspond to different variables\n",
"* variable names: column names `obj.columns`\n",
"* capabilities: can represent hierarchical series; can represent unequally spaced series; can represent unequally supported hierarchical series; cannot represent hierarchical series with different sets of variables."
Expand Down
2 changes: 1 addition & 1 deletion sktime/datatypes/_panel/_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ class PanelPdMultiIndex(ScitypePanel):
is interpreted as a time index, we call it "time index" below.
* time points: rows of ``obj`` with the same "time index" value correspond
correspond to the same time point; rows of `obj` with different "time index"
index correspond correspond to the different time points.
index correspond to the different time points.
* variables: columns of ``obj`` correspond to different variables
* variable names: column names ``obj.columns``
Expand Down

0 comments on commit 490ba7d

Please sign in to comment.