Python please I have data (saved in pd already):     year         CO2  Sea_Level 0   1959  315.974167        NaN 1   1960  316.907500        NaN 2   1961  317.637500        NaN 3   1962  318.450833        NaN 4   1963  318.994167        NaN 5   1964  214.405833        NaN 6   1965  320.044167        NaN 7   1966  321.383333        NaN 8   1967  322.157500        NaN 9   1968  323.045000        NaN 10  1969  324.624167        NaN 11  1970  325.680000        NaN 12  1971  326.320000        NaN 13  1972  327.453333        NaN 14  1973  329.676667        NaN 15  1974  330.184167        NaN 16  1975  295.233333        NaN 17  1976  332.040833        NaN 18  1977  333.831667        NaN 19  1978  335.403333        NaN 20  1979  336.841667        NaN 21  1980  338.751667        NaN 22  1981  340.105000        NaN 23  1982  341.447500        NaN 24  1983  343.054167        NaN 25  1984  307.415000        NaN 26  1985  346.115833        NaN 27  1986  347.420000        NaN 28  1987  349.194167        NaN 29  1988  351.566667        NaN 30  1989  353.120833        NaN 31  1990  354.394167        NaN 32  1991  355.607500        NaN 33  1992  356.445833 -17.120000 34  1993  357.100000 -17.049412 35  1994  358.833333 -13.446471 36  1995  360.820000  -9.938750 37  1996  362.607500  -6.576061 38  1997  363.729167  -4.809394 39  1998  366.700000  -5.270000 40  1999  368.377500  -3.594242 41  2000  369.549167  -1.343529 42  2001  371.143333   3.668889 43  2002  373.279167   7.606364 44  2003  375.802500  11.931754 45  2004  377.522500  12.878485 46  2005  379.795833  14.167288 47  2006  381.895833  17.780000 48  2007  383.791667  17.862432 49  2008  385.604167  22.185814 50  2009  387.430000  25.625775 51  2010  389.899167  26.861081 52  2011  391.652500  25.220411 53  2012  393.853333  36.116957 54  2013  396.520000  36.893462 55  2014  398.647500  40.763333 56  2015  400.834167  49.551622 57  2016  404.239167  51.795532 58  2017  406.553333  53.725676 59  2018  408.521667  57.185135 60  2019  411.410000  63.092424 Pleae help me write a class Database to store data above in "data.db" class Database:         def __init__(self):             self.db = sqliteConnection()

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Python please

I have data (saved in pd already):

    year         CO2  Sea_Level
0   1959  315.974167        NaN
1   1960  316.907500        NaN
2   1961  317.637500        NaN
3   1962  318.450833        NaN
4   1963  318.994167        NaN
5   1964  214.405833        NaN
6   1965  320.044167        NaN
7   1966  321.383333        NaN
8   1967  322.157500        NaN
9   1968  323.045000        NaN
10  1969  324.624167        NaN
11  1970  325.680000        NaN
12  1971  326.320000        NaN
13  1972  327.453333        NaN
14  1973  329.676667        NaN
15  1974  330.184167        NaN
16  1975  295.233333        NaN
17  1976  332.040833        NaN
18  1977  333.831667        NaN
19  1978  335.403333        NaN
20  1979  336.841667        NaN
21  1980  338.751667        NaN
22  1981  340.105000        NaN
23  1982  341.447500        NaN
24  1983  343.054167        NaN
25  1984  307.415000        NaN
26  1985  346.115833        NaN
27  1986  347.420000        NaN
28  1987  349.194167        NaN
29  1988  351.566667        NaN
30  1989  353.120833        NaN
31  1990  354.394167        NaN
32  1991  355.607500        NaN
33  1992  356.445833 -17.120000
34  1993  357.100000 -17.049412
35  1994  358.833333 -13.446471
36  1995  360.820000  -9.938750
37  1996  362.607500  -6.576061
38  1997  363.729167  -4.809394
39  1998  366.700000  -5.270000
40  1999  368.377500  -3.594242
41  2000  369.549167  -1.343529
42  2001  371.143333   3.668889
43  2002  373.279167   7.606364
44  2003  375.802500  11.931754
45  2004  377.522500  12.878485
46  2005  379.795833  14.167288
47  2006  381.895833  17.780000
48  2007  383.791667  17.862432
49  2008  385.604167  22.185814
50  2009  387.430000  25.625775
51  2010  389.899167  26.861081
52  2011  391.652500  25.220411
53  2012  393.853333  36.116957
54  2013  396.520000  36.893462
55  2014  398.647500  40.763333
56  2015  400.834167  49.551622
57  2016  404.239167  51.795532
58  2017  406.553333  53.725676
59  2018  408.521667  57.185135
60  2019  411.410000  63.092424

Pleae help me write a class Database to store data above in "data.db"

class Database:
        def __init__(self):
            self.db = sqliteConnection()

            ...

and add functionality for table creation, inserting, searching and deleting entries in the database.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Problems on Dynamic Programming
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education