Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jan 21, 2025
1 parent 6602e46 commit 3d85b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Getting started with the dataset is fairly straightforward:
You can then access the data from the various methods of the :class:`Dataset` class.
For example, if you want to get the ratings as a data frame:

>>> mlds.interaction_matrix('pandas', field='rating')
>>> mlds.interaction_matrix(format='pandas', field='rating')
user_num item_num rating
0 0 30 2.5
1 0 833 3.0
Expand Down

0 comments on commit 3d85b67

Please sign in to comment.