My excel sheet:
A B
1 first second
2
3
4 x y
5 z j
Python code:
df = pd.read_excel (filename, parse_cols=1)
return a correct output:
first second
0 NaN NaN
1 NaN NaN
2 x y
3 z j
If i want work only with second column
df = pd.read_excel (filename, parse_cols=[1])
return:
second
0 y
1 j
I'd have information about empty excel rows (NaN in my df) even if I work only with a specific column. If output loose NaN information it's not ok, for example, for skiprows paramater, etc
Thanks