diff options
author | Théo de la Hogue | 2023-06-15 11:09:47 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-06-15 11:09:47 +0200 |
commit | 212f8daba5552e19e92cabfc8530030254dcb2b1 (patch) | |
tree | be66c7c396b63c1696cda753d29c23a96cfdffba | |
parent | adeddd8c37801caf50652484c8816fa77a9efacd (diff) | |
download | argaze-212f8daba5552e19e92cabfc8530030254dcb2b1.zip argaze-212f8daba5552e19e92cabfc8530030254dcb2b1.tar.gz argaze-212f8daba5552e19e92cabfc8530030254dcb2b1.tar.bz2 argaze-212f8daba5552e19e92cabfc8530030254dcb2b1.tar.xz |
Fixing type annotation.
-rw-r--r-- | src/argaze/GazeFeatures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py index faf1093..53bec25 100644 --- a/src/argaze/GazeFeatures.py +++ b/src/argaze/GazeFeatures.py @@ -148,7 +148,7 @@ class TimeStampedGazePositions(DataStructures.TimeStampedBuffer): return TimeStampedGazePositions({ast.literal_eval(ts_str): json_buffer[ts_str] for ts_str in json_buffer}) @classmethod - def from_dataframe(self, dataframe: pandas.DataFrame, exclude=[]) -> TimeStampedBufferType: + def from_dataframe(self, dataframe: pandas.DataFrame, exclude=[]) -> TimeStampedGazePositionsType: """Create a TimeStampedGazePositions from [Pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html).""" dataframe.drop(exclude, inplace=True, axis=True) |