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 <module> 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?
Hello there!
I'm trying to read a DBC I've dowloaded from the Brazilian Public Health Data (DataSUS). Here is the code:
import pyreaddbcdf = 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 <module> df = pyreaddbc.readdbc("sismama-cm_201301-ac_20220831.dbc", encoding="iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'module' object is not callableI'v tried using
read_dbcalso, same output.Any ideas?