Angepasst an neue DataDump
This commit is contained in:
1 parent
a39f0e8bd1
commit
fde2f7ffb7
2 files changed
+15
-1
No files matched your search
@@ -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') "
|
||||
|
||||
Reference in new issue
Block a user