AlertaDengue / AlertaDengue/pyreaddbc

TypeError: 'module' object is not callable

Aperta
#21 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
14
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello there!

I'm trying to read a DBC I've dowloaded from the Brazilian Public Health Data (DataSUS). Here is the code:

`import pyreaddbc`

`df = pyreaddbc.readdbc("sismama-cm_201301-ac_20220831.dbc", encoding="iso-8859-1")`
`print(df)`

This is the output:

`Traceback (most recent call last):
File "/home/juliano/p/python/matheus/teste.py", line 3, in
df = pyreaddbc.readdbc("sismama-cm_201301-ac_20220831.dbc", encoding="iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable`

I'v tried using `read_dbc` also, same output.

Any ideas?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.