I am working on a code to fetch data from a server and then plot two column of data in python. I am using cx_Oracle library and I could fetch data.
But as I checked type of fetched data is class 'cx_Oracle.Cursor'.
How can I change data type to list or dictionary :
import cx_Oracle
conn_str = u'user/pass@IP1:1521/STAT4P'
conn = cx_Oracle.connect(conn_str)
c = conn.cursor()
sql='''select ne,sdate,slot_no,subrack_no,ID_73393960 as HIII,ID_73410486 from Huawei_wcdma.UDSP60 where ne=:name'''
# c.execute(u'select ne,sdate,slot_no,subrack_no,ID_73393960,ID_73410486 from Huawei_wcdma.UDSP60')
c.execute(sql,name="AQRNCH01")
print(type(c))
I want to plot sdate vs. ID_73393960 , but how ?