diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/DataStructures.py | 4 | ||||
-rw-r--r-- | src/argaze/GazeFeatures.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze/DataStructures.py b/src/argaze/DataStructures.py index 681ec72..a5118ff 100644 --- a/src/argaze/DataStructures.py +++ b/src/argaze/DataStructures.py @@ -222,7 +222,7 @@ class TimeStampedBuffer(collections.OrderedDict): @classmethod def from_dataframe(self, dataframe: pandas.DataFrame, exclude=[]) -> TimeStampedBufferType: - """Create a TimeStampedBuffer from [pandas dataframe](https://pandas.pydata.org/docs/reference/frame.html).""" + """Create a TimeStampedBuffer from [Pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html).""" dataframe.drop(exclude, inplace=True, axis=True) @@ -231,7 +231,7 @@ class TimeStampedBuffer(collections.OrderedDict): return TimeStampedBuffer(dataframe.to_dict('index')) def as_dataframe(self, exclude=[], split={}) -> pandas.DataFrame: - """Convert as [pandas dataframe](https://pandas.pydata.org/docs/reference/frame.html). + """Convert as [Pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html). The optional *split* argument allows tuple values to be stored in dedicated columns. For example: to convert {"point": (0, 0)} data as two separated "x" and "y" columns, use split={"point": ["x", "y"]} diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py index 0e40238..ff561fb 100644 --- a/src/argaze/GazeFeatures.py +++ b/src/argaze/GazeFeatures.py @@ -595,7 +595,7 @@ class AOIScanPath(list): @property def transition_matrix(self) -> pandas.DataFrame: - """Pandas DataFrame where indexes are transition departures and columns are transition destinations.""" + """[Pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html) where indexes are transition departures and columns are transition destinations.""" return self.__transition_matrix |