aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-16 15:54:28 +0100
committerThéo de la Hogue2022-11-16 15:54:28 +0100
commit2f9a19eec8dd729b0134190b00b52e82c780f12b (patch)
treeecb5e0fc8b52b643f60a248cd2a67319249f82db
parent3fe78a78645ce8c013b21061fc7847551f8a9a2d (diff)
downloadargaze-2f9a19eec8dd729b0134190b00b52e82c780f12b.zip
argaze-2f9a19eec8dd729b0134190b00b52e82c780f12b.tar.gz
argaze-2f9a19eec8dd729b0134190b00b52e82c780f12b.tar.bz2
argaze-2f9a19eec8dd729b0134190b00b52e82c780f12b.tar.xz
Minor comment change.
-rw-r--r--src/argaze/DataStructures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/DataStructures.py b/src/argaze/DataStructures.py
index 9339227..6502091 100644
--- a/src/argaze/DataStructures.py
+++ b/src/argaze/DataStructures.py
@@ -113,8 +113,8 @@ class TimeStampedBuffer(collections.OrderedDict):
def as_dataframe(self, exclude=[], split={}) -> pandas.DataFrame:
"""Convert as [pandas dataframe](https://pandas.pydata.org/docs/reference/frame.html).
- The optional *split* argument allows tuple values to be stored in a dedicated columns.
- For example: to convert {"point": (0, 0)} data as two separated "x" and "y" columns, use split={"point":["x", "y"]}
+ 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"]}
.. warning:: Values must be dictionaries.
Each key is stored as a column name.