Skip to content

Commit 8c47d72

Browse files
committed
Faz separador pandas aceitar tab ou espacos
1 parent eef5611 commit 8c47d72

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PYTHONCMD=python
2+
3+
deps:
4+
pip install -r requirements.txt

src/stuff.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get_operations_dataframe(filepath=None):
3535
df = pd.DataFrame(columns=colunas_obrigatorias())
3636

3737
try:
38-
df = pd.read_csv(filepath, sep='\t',
38+
df = pd.read_csv(filepath, delim_whitespace=True, #sep='\t',
3939
header=None,
4040
parse_dates=[3],
4141
dayfirst=True)

0 commit comments

Comments
 (0)