-1
Hello, I have a.csv file and I want to read with the pandas library in Python. When I run the command it takes the first 0 from the sequence of numbers. Can someone help me with this? I want him to keep the zeros in front of the same.csv file.
import pandas as pd
lista=pd.read_csv('~/caminho/meu_arquivo.csv')
#Esse é meu arquivo csv
"""
teste
01234567899
12345678909
23456789012
09876543211
"""
#Minha saída
"""
Out[98]:
teste
0 1234567899
1 12345678909
2 23456789012
3 9876543211
Many thanks. It worked perfectly as I was hoping
– rochaa
@rochaa, Don’t thank see: How to say thank you in replies?
– Augusto Vasques