I have a join SQL Request where the output of 2 tables is produced :
ss= 'Select t.*, p.* from table1 t, table1 p where t.table2_id=p.table1_id'
df = pd.read_sql_query(ss, self.db_con)
However, some columns have same name since the table is stripped. (ex: id, id ...)
How to get table.colname in the dataframe ?
Thanks
idcolumn... What are you trying to achieve?