We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5fda3b + 8668735 commit ec5d093Copy full SHA for ec5d093
docs/docs/changelog.md
@@ -16,6 +16,8 @@ Types of changes:
16
- `Security` in case of vulnerabilities.
17
18
## [Unreleased] - {ISO8601 date}
19
+### Fixed
20
+- `sweat.read_fit()` now supports integer column names.
21
22
## [0.20.2] - 2021-04-16
23
### Fixed
sweat/io/fit.py
@@ -18,7 +18,7 @@
def process_location_columns(df, columns=None):
if columns is None:
- columns = [c for c in df.columns if c.endswith("_lat") or c.endswith("_long")]
+ columns = [c for c in df.columns if isinstance(c, str) and (c.endswith("_lat") or c.endswith("_long"))]
else:
columns = [c for c in columns if c in df.columns]
24
0 commit comments