From ddbe3a6fea3a052a117f3b5493a8e9c793cc2337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Ke=C3=A7eci?= Date: Sun, 17 Nov 2024 15:38:21 +0300 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 001028b..72bcd00 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ joins and aggregations are also supported >>> q = """SELECT m.date, m.beef, b.births FROM - meats m + meat m INNER JOIN births b ON m.date = b.date;""" ->>> joined = pyqldf(q) +>>> joined = pysqldf(q) >>> print joined.head() date beef births 403 2012-07-01 00:00:00 2200.8 368450 @@ -60,13 +60,13 @@ joins and aggregations are also supported 406 2012-10-01 00:00:00 2343.7 347625 407 2012-11-01 00:00:00 2206.6 320195 ->>> q = "select +>>> q = """select strftime('%Y', date) as year , SUM(beef) as beef_total FROM meat GROUP BY - year;" + year;""" >>> print pysqldf(q).head() year beef_total 0 1944 8801