We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feb6b0c commit f3d633dCopy full SHA for f3d633d
wfdb/io/convert/csv.py
@@ -310,12 +310,7 @@ def csv_to_wfdb(
310
# Check if signal names are valid and set defaults
311
if not sig_name:
312
if header:
313
- try:
314
- sig_name = df_CSV.columns.to_list()
315
- except AttributeError:
316
- # to_list() was introduced in Pandas v0.24.0
317
- # https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.24.0.html#other-api-changes
318
- sig_name = df_CSV.columns.tolist()
+ sig_name = df_CSV.columns.tolist()
319
if any(map(str.isdigit, sig_name)):
320
print(
321
"WARNING: One or more of your signal names are numbers, this "
0 commit comments