How can I pass datatype parameters in export_to_pandas API. and can I change column names to lower cases ?
from pyexasol import ExaConnection con = ExaConnection(dsn=dns, user=user, password=password) con.execute('OPEN SCHEMA SCHEMATEST1')
data = con.export_to_pandas('select * from TABLETEST1')
You may specify any parameters used for
pandas.read_csvand pass it usingcallback_paramsargument.For example:
Please note that names of columns are actually stored uppercased in Exasol. You may use connection option
lower_ident=Trueto lower case for normal.execute(), but it is not going to work with.export_to_pandas. The only way is to specify column names manually or to modify each name later.