When I try to read a .txt file using pandas the output I get is all the rows and columns with NaN
. The text file has multiple delimiters.
I tried sep = 's+'
and sep '\t'
and still I get NaN
for all the values.
Output:
Input:
When I try to read a .txt file using pandas the output I get is all the rows and columns with NaN
. The text file has multiple delimiters.
I tried sep = 's+'
and sep '\t'
and still I get NaN
for all the values.
Output:
Input: