aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2023-06-07 20:38:04 +0200
committerThéo de la Hogue2023-06-07 20:38:04 +0200
commit79e8940deb433793846c71ed8ffd2d670fdc904a (patch)
tree67a1802a37d1e916d651c47c78d5d5de721f7fb4 /src
parent82da31d1989c20ea2e1748f6e33b7cd36aa34252 (diff)
downloadargaze-79e8940deb433793846c71ed8ffd2d670fdc904a.zip
argaze-79e8940deb433793846c71ed8ffd2d670fdc904a.tar.gz
argaze-79e8940deb433793846c71ed8ffd2d670fdc904a.tar.bz2
argaze-79e8940deb433793846c71ed8ffd2d670fdc904a.tar.xz
Improving cross reference in gaze analysis and timestamped data sections.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/DataStructures.py4
-rw-r--r--src/argaze/GazeFeatures.py2
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