Angepasst an neue DataDump
parent
a39f0e8bd1
commit
fde2f7ffb7
|
@ -0,0 +1,14 @@
|
|||
import MySQLdb
|
||||
|
||||
db = MySQLdb.connect(host="localhost",user="root",passwd="admin",db="consultancy")
|
||||
cur = db.cursor()
|
||||
|
||||
cur.execute("SELECT JSON_EXTRACT(header, '$.Date') "
|
||||
"FROM extractions ")
|
||||
dateoutput = cur.fetchall()
|
||||
db.close()
|
||||
|
||||
print(dateoutput)
|
||||
|
||||
|
||||
|
|
@ -5,7 +5,7 @@ import MySQLdb #Version 2.2.4
|
|||
import pandas as pd #Version 2.2.3
|
||||
import plotly.express as px #Version 5.24.1
|
||||
|
||||
db = MySQLdb.connect(host="localhost",user="root",passwd="admin",db="heiraterei")
|
||||
db = MySQLdb.connect(host="localhost",user="root",passwd="admin",db="consultancy")
|
||||
cur = db.cursor()
|
||||
|
||||
cur.execute("SELECT JSON_EXTRACT(header, '$.Date') "
|
||||
|
|
Loading…
Reference in New Issue