Giter Club home page Giter Club logo

covid19-grafana's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @pierangelo1982
  • ๐Ÿ‘€ Iโ€™m interested in programming, devops, web and mobile applications
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ
  • ๐Ÿ“ซ How to reach me [email protected]

covid19-grafana's People

Contributors

pierangelo1982 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

s33k3rs

covid19-grafana's Issues

import csv to mysql

when i run python3 store_data.py

I got an error
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/mysql/connector/connection_cext.py", line 489, in cmd_query
raw_as_string=raw_as_string)
_mysql_connector.MySQLInterfaceError: Table 'covid19.corona' doesn't exist

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "store_data.py", line 22, in
last_cursor.execute(last_sql)
File "/usr/local/lib/python3.6/dist-packages/mysql/connector/cursor_cext.py", line 266, in execute
raw_as_string=self._raw_as_string)
File "/usr/local/lib/python3.6/dist-packages/mysql/connector/connection_cext.py", line 492, in cmd_query
sqlstate=exc.sqlstate)
mysql.connector.errors.ProgrammingError: 1146 (42S02): Table 'covid19.corona' doesn't exist

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "store_data.py", line 27, in
last_data = datetime.datetime.strptime("1900-01-01", "%Y-%m-%d %H:%M:%S").date()
File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime
(data_string, format))
ValueError: time data '1900-01-01' does not match format '%Y-%m-%d %H:%M:%S'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.