Not sure if I quite understand you, but I am currently executing parameterized SQL with sqlite3. The issue is I want to be able to utilize panda's io.sql functions with paramterized SQL. Currently, panda's io.sql functions' arguments don't allow for you to pass in a parameter value.
read_frame(sql, con, index_col=None, coerce_float=True)
Returns a DataFrame corresponding to the result set of the query
string.
Optionally provide an index_col parameter to use one of the
columns as the index. Otherwise will be 0 to len(results) - 1.
Parameters
----------
sql: string
SQL query to be executed
con: DB connection object, optional
index_col: string, optional
column name to use for the returned DataFrame object.
As you can see, if I have an sql like "select * from table where column = ?", there isn't a way for me to pass in the value for the "?" into the read_frame method. So instead, I have to do this within sqlite3's cursor.execute method which accepts sql and one or more parameter values.