AlertaDengue / AlertaDengue/pyreaddbc

TypeError: 'module' object is not callable

Đang mở
#21 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
14
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.