Skip to content

Commit

Permalink
maybe add doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Feb 1, 2024
1 parent ebd30d7 commit 75e9ddb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions networkframe/networkframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,14 +968,13 @@ def __ne__(self, other: object) -> bool:
"""
return not self.__eq__(other)

# TODO make this docstring use automatic cross-reference to pandas docs
def to_dict(self, orient: str = "dict") -> dict:
"""Return a dictionary representation of the NetworkFrame.
Parameters
----------
orient
The format of the dictionary according to [pandas.DataFrame.to_dict].
The format of the dictionary according to [pandas.DataFrame.to_dict][].
Returns
-------
Expand Down

0 comments on commit 75e9ddb

Please sign in to comment.