Skip to content

Commit

Permalink
update report
Browse files Browse the repository at this point in the history
  • Loading branch information
CarstenSchmotz committed Jun 28, 2023
1 parent 868e60a commit 67a2ac2
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 19 deletions.
11 changes: 5 additions & 6 deletions exploration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"\n",
"Content:\n",
"\n",
"Installed dependencies\n",
"Used Packages\n",
"Data exploration\n"
"- Installed dependencies\n",
"- Used Packages\n",
"- Load data\n",
"- Data exploration\n"
]
},
{
Expand Down Expand Up @@ -60,9 +61,7 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"As"
]
"source": []
},
{
"attachments": {},
Expand Down
6 changes: 3 additions & 3 deletions project/tablefilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#Filter the sums of the years
teilstring = 'Jahr'
sql_query = '''
SELECT * FROM carregistration
SELECT * FROM Cars
where Monat LIKE '%{}%'
'''.format(teilstring)
df = pd.read_sql_query(sql_query, conn)
Expand All @@ -60,7 +60,7 @@

#Reverse data to match
sql_query_reverse = '''
SELECT * FROM Prize
SELECT * FROM prize
ORDER BY rowid DESC
'''
df = pd.read_sql_query(sql_query_reverse, conn_prize)
Expand All @@ -74,7 +74,7 @@

#Filter the sums of the years
sql_query = '''
SELECT * FROM prize
SELECT * FROM Prize
where Haushalte = 'Insgesamt' '''

df = pd.read_sql_query(sql_query, conn)
Expand Down
Loading

0 comments on commit 67a2ac2

Please sign in to comment.