'Converters in Pandas [duplicate]
I try to set converters in Pandas when loading data. I have a list of names of columns l=["col1", ..., "col10"] and this works
converters = {c: func1 for c in l} but when I try to add more columns converters = {c: func1 for c in l, "col11": func2} then I got invalid syntax error. What should I change?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
