AlertaDengue / AlertaDengue/pyreaddbc

TypeError: 'module' object is not callable

Open
#21 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.