Created
November 16, 2023 18:45
-
-
Save hannesvdvreken/7dec9ab40c2143b265f318c7ab2429ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/hannes/Library/Python/3.8/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 | |
warnings.warn( | |
2023-11-16 19:44:19,145 - INFO - Parsing /Users/hannes/Projects/vitesse9000/pistesse/backend/src/services/../../storage/2006803875.csv for sessions [1, 2, 3] | |
Traceback (most recent call last): | |
File "/Users/hannes/Projects/vitesse9000/pistesse/backend/src/services/../../../trackpy/track_to_gpx.py", line 69, in <module> | |
transponder = track.parse_transponder(filename, sessions=sessions) | |
File "/Users/hannes/Projects/vitesse9000/pistesse/trackpy/trackpy/transponder.py", line 361, in parse_transponder | |
transponder = read_transponder(filename, length=length, sessions=sessions) | |
File "/Users/hannes/Projects/vitesse9000/pistesse/trackpy/trackpy/transponder.py", line 58, in read_transponder | |
df[["Date", "Start time"]].agg(" ".join, axis=1), format="%d-%m-%Y %H:%M:%S" | |
File "/Users/hannes/Library/Python/3.8/lib/python/site-packages/pandas/core/frame.py", line 3813, in __getitem__ | |
indexer = self.columns._get_indexer_strict(key, "columns")[1] | |
File "/Users/hannes/Library/Python/3.8/lib/python/site-packages/pandas/core/indexes/base.py", line 6070, in _get_indexer_strict | |
self._raise_if_missing(keyarr, indexer, axis_name) | |
File "/Users/hannes/Library/Python/3.8/lib/python/site-packages/pandas/core/indexes/base.py", line 6130, in _raise_if_missing | |
raise KeyError(f"None of [{key}] are in the [{axis_name}]") | |
KeyError: "None of [Index(['Date', 'Start time'], dtype='object')] are in the [columns]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment