convertall() uses head() to access the field names, but this returns the header as is and the filed names are not usable if they are not strings. I think it should be using fieldnames() instead. The same bug affects other functions implemented on top of convertall().
Version and installation information
This is observed with petl 1.7.4 but the current git head contains the same implementation of convertall().
Minimal, reproducible code sample, a copy-pastable example if possible
Problem description
convertall()
useshead()
to access the field names, but this returns the header as is and the filed names are not usable if they are not strings. I think it should be usingfieldnames()
instead. The same bug affects other functions implemented on top ofconvertall()
.Version and installation information
This is observed with petl 1.7.4 but the current git head contains the same implementation of
convertall()
.