Python SQLite Tutorial I LOVE json_extract() 😍

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 8. 08. 2023
  • Learn Python SQLite in this tutorial we'll cover
    SQLite in python
    JSON
    List comprehension
    and the power of json_extract

Komentáƙe • 16

  • @sinkingboat101
    @sinkingboat101 Pƙed 11 měsĂ­ci +2

    Hello there and thanks for the great content. As you are already using ipython (within Jupyter Notebook), I can recommend the %timeit command which automatically chooses an appriorate number of iterations based on the first run and then will loop that number of times over your piece of code and return the mean value and the standard deviation. This reduces "fluctuations" or "noise" in your measurement due to other load your OS is dealing with sometimes. If you have loops in the millions and above and you are working on improvements in micro- and nano-seconds scales, %timeit becomes an essential and comfortable tool. For multiple lines of code, just pack them in a function quickly and %timeit yourfunction(args)

    • @MakeDataUseful
      @MakeDataUseful  Pƙed 11 měsĂ­ci

      Love it! I’m going give %timeit another go!

  • @michaelsopunov
    @michaelsopunov Pƙed 6 měsĂ­ci

    Impressive result of speed up of a SqLite-call! Great!

  • @0xac829
    @0xac829 Pƙed 10 měsĂ­ci

    Keep up the good work, I love your content and character.

  • @oscarmartinezbeltran
    @oscarmartinezbeltran Pƙed 10 měsĂ­ci

    Hi Adam, Great content!! thank you! Keep it up!!

  • @tobi901
    @tobi901 Pƙed 11 měsĂ­ci +2

    When are you releasing the Webscraping Tutorial? I would like to know, what is the best way to insert JSON Data into a SQLite3 DB.

    • @MakeDataUseful
      @MakeDataUseful  Pƙed 11 měsĂ­ci +1

      Soon! It’s going to be a good one!! đŸ€Ÿ

  • @gummansgubbe6225
    @gummansgubbe6225 Pƙed 11 měsĂ­ci +1

    It's getting difficult to sip that coffee at this speed.

  • @DwiHendy-chemaye
    @DwiHendy-chemaye Pƙed 7 měsĂ­ci

    I am happy with your explanation about python. 🐍
    Previously I have used php with codeigniter 4 framework and oracle database. how to migrate all my code to python?
    Thanks for your time.😊

    • @MakeDataUseful
      @MakeDataUseful  Pƙed 7 měsĂ­ci

      Awesome, I would start by weighing up the pros and cons of moving a codebase from one language and set of tools to another. A couple of python packages to look into would be Django and Flask for a full featured web development. I would also checkout packages like fastAPI you wanted to split out fronend and backend and serve up data from Oracle via an API endpoint. Oracle recently released a new Python driver which might be worthwhile having a play with python-oracledb. Happy researching and let me know how you go!

    • @DwiHendy-chemaye
      @DwiHendy-chemaye Pƙed 7 měsĂ­ci

      I dont know how to start, i have alot of file and thousand line of my code. Im solo programmer and still beginner. Maybe this will be my challenge to research more about python. 😅

  • @smalikamran
    @smalikamran Pƙed 11 měsĂ­ci

    Howdy Adam.
    Would you use comments in your Jupyter notebook as you comments are useful in code regardless of any programming language, hope you agree with me 😊
    As always many thanks for useful videos and tutorials.
    Br
    Syed

  • @smalikamran
    @smalikamran Pƙed 11 měsĂ­ci +2

    Howdy.
    Great video 👍.
    Can you tell us from where this Database came from?
    Is it available for the public to play with?
    I am guessing you copied the Database locally to your laptop?
    Many thanks

    • @MakeDataUseful
      @MakeDataUseful  Pƙed 11 měsĂ­ci

      Of course I can, as part of my upcoming web scraping video I obtained registered charity listings in Australia from this resource acnc.gov.au/ and in that video I will be going over how to best save JSON payloads into SQLite3 in Python for easy analysis!

    • @wrightyrx7
      @wrightyrx7 Pƙed 8 měsĂ­ci

      @@MakeDataUseful Maybe you should of released the web scraping to SQLite3 before this one. I want to follow along but dont know how I should be formatting the table/database lol. I dont suppose you have an ETA of the next video?