Skip to content

Commit df864c2

Browse files
authored
Fixing documentation typo (#914)
* Fixing typos * Rewording
1 parent 249abc9 commit df864c2

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/30_extended/create_upload_tutorial.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@
217217
print(df.info())
218218

219219
############################################################################
220-
# We enforce the column 'outlook', 'windy', and 'play' to be a categorical
221-
# dtype while the column 'rnd_str' is kept as a string column. Then, we can
220+
# We enforce the column 'outlook' and 'play' to be a categorical
221+
# dtype while the column 'windy' is kept as a boolean column. 'temperature'
222+
# and 'humidity' are kept as numeric columns. Then, we can
222223
# call :func:`create_dataset` by passing the dataframe and fixing the parameter
223224
# ``attributes`` to ``'auto'``.
224225

openml/study/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def detach_from_suite(suite_id: int, task_ids: List[int]) -> int:
386386
OpenML id of the study
387387
388388
task_ids : list (int)
389-
List of entities to link to the collection
389+
List of entities to unlink from the collection
390390
391391
Returns
392392
-------
@@ -404,7 +404,7 @@ def detach_from_study(study_id: int, run_ids: List[int]) -> int:
404404
OpenML id of the study
405405
406406
run_ids : list (int)
407-
List of entities to link to the collection
407+
List of entities to unlink from the collection
408408
409409
Returns
410410
-------

0 commit comments

Comments
 (0)