Jul-19-2020, 01:54 PM
(This post was last modified: Jul-19-2020, 01:57 PM by Kristenl2784.)
Hello,
I want to read in two different columns, but the below does not work. How do I make it so that only columns A and L are read in? Does not contain headers.
Figured it out pretty quickly. Just used column numbers usecols=[0,11] Why doesn't "A", and "L" work similar to using 0,11?
I want to read in two different columns, but the below does not work. How do I make it so that only columns A and L are read in? Does not contain headers.
Tfile=pd.read_excel(Node, usecols="A","L")
Figured it out pretty quickly. Just used column numbers usecols=[0,11] Why doesn't "A", and "L" work similar to using 0,11?