Insert CSV into MongoDB Using Python PyMongo | MongoDB | Python | PyMongo

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 58

  • @memez4793
    @memez4793 3 года назад +3

    Thank you! i have tried many codes this is so far the easiest

    • @StatsWire
      @StatsWire  3 года назад

      I'm glad you liked it!

  • @maty7778
    @maty7778 6 месяцев назад

    This video has been extremely helpful! Thank you for your research and for sharing it.

    • @StatsWire
      @StatsWire  6 месяцев назад

      You're welcome!

  • @yel-hadd
    @yel-hadd 2 года назад +3

    simple and easy, thank you brother ❤

    • @StatsWire
      @StatsWire  2 года назад +1

      You're welcome brother

  • @girirajpurohit6991
    @girirajpurohit6991 7 месяцев назад

    Brother kaam nikal gaya, Thank you

  • @bruAndroidDev
    @bruAndroidDev 3 года назад +1

    Great video, great teacher...

  • @lulyves
    @lulyves Год назад

    Thank you! It helped me a lot!

  • @raccoon445
    @raccoon445 2 года назад

    Great explaination. Thanks

  • @SolutionOfLifeProblems839
    @SolutionOfLifeProblems839 2 года назад

    Thanks a lot it was much productive video

  • @carlinhoperaltachanta4712
    @carlinhoperaltachanta4712 2 года назад

    Muchas gracias , me ayudo el video

  • @funwithaj1478
    @funwithaj1478 2 года назад

    your video helped me a lot thanks

    • @StatsWire
      @StatsWire  2 года назад

      Glad to hear that! You're welcome. Keep watching more videos.

  • @mazharalamsiddiqui6904
    @mazharalamsiddiqui6904 3 года назад

    Very nice tutorial

  • @koult7
    @koult7 Год назад

    you are great!

  • @issacjohn6989
    @issacjohn6989 Год назад +1

    is this cloud based?

  • @apexgamers7859
    @apexgamers7859 3 года назад

    Thanks bro!!!

  • @sulemanali4006
    @sulemanali4006 2 года назад

    Please do a series on PySpark thanks i love your videos 😇

    • @StatsWire
      @StatsWire  2 года назад +1

      Thank you. I have created a complete series on pyspark . Here is the playlist link you can watch all the videos you will find it useful
      link: ruclips.net/p/PLBSCvBlTOLa9oTtXH3vNaaw7jT9kXFwjb

    • @sulemanali4006
      @sulemanali4006 2 года назад

      @@StatsWire Thanks a lot

    • @StatsWire
      @StatsWire  2 года назад

      @@sulemanali4006 You're welcome

  • @saisantoshvasamsetti3450
    @saisantoshvasamsetti3450 3 месяца назад

    Hello, while trying to insert the json in mongo db, it is throwing an error with respect to authentication. could u please help on this one?

    • @StatsWire
      @StatsWire  2 месяца назад

      Can you please check your credentials

  • @mateusdefariabolognesi5506
    @mateusdefariabolognesi5506 2 года назад

    Nice!

  • @joaosoeiro7868
    @joaosoeiro7868 3 года назад

    hello! How do I add data from a csv file to an already existing db and collection? I already have the DB and my collections created, but need to read and send the csv data to them, is it much different?

    • @StatsWire
      @StatsWire  3 года назад

      No, it's easy and the same just pass the existing DB and collection name instead of creating a new that's it

  • @gsivakumar1327
    @gsivakumar1327 2 года назад

    can import the data to the cloud? if can say how to do it

    • @StatsWire
      @StatsWire  2 года назад

      Yes you can, I will have to make a separate video on that

  • @yel-hadd
    @yel-hadd 2 года назад

    if anyone wants to import xlsx use df = pd.read_excel() instead

    • @StatsWire
      @StatsWire  2 года назад +1

      Thank you for sharing with everyone

  • @sonalshetty4162
    @sonalshetty4162 Год назад

    I am trying to connect on Mongo Db compass but getting a connection refused error

    • @StatsWire
      @StatsWire  Год назад

      Can you please paste specific error.

  • @shinusedayone9499
    @shinusedayone9499 2 года назад

    Hi.. you didnt mentioned the path of the csv file... you just gave the name...I tried the same but i got some errors

    • @StatsWire
      @StatsWire  2 года назад

      Can you please change your working directory

  • @user-ps9mk3pi7o
    @user-ps9mk3pi7o Год назад

    ServerSelectionTimeoutError Iam facing this error how do i resolve it

    • @StatsWire
      @StatsWire  Год назад

      Can you please paste the error here.

  • @CelinaBalz
    @CelinaBalz 3 года назад

    in db. insert name i have the error ServerSelectionTimeoutError Traceback (most recent call last)

    • @StatsWire
      @StatsWire  3 года назад

      Please try this:
      connection_string = "mongodb+srv://:@/?ssl=true&ssl_cert_reqs=CERT_NONE"

  • @shivanshumall5266
    @shivanshumall5266 2 года назад

    You did not use json library anywhere

    • @StatsWire
      @StatsWire  2 года назад

      Helo, Not required in this tutorial therefore I did not use it.

  • @vmahesh3308
    @vmahesh3308 3 года назад

    In db. Name. insrert_many(data) , I am getting error please help

    • @StatsWire
      @StatsWire  3 года назад

      Mahesh, can you please paste the error so I can help you

  • @nolep5555
    @nolep5555 Год назад

    error while insert_many data : ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 30s, Topology Description:

    • @StatsWire
      @StatsWire  Год назад

      Please first check if you are able to connect to the Mongo or not.

  • @chandranravi7774
    @chandranravi7774 Год назад

    am trying in colab bro its showing error
    this error showing
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Ravi\\OneDrive\\Desktop\\streamlit\\elonmusk.csv'

    • @StatsWire
      @StatsWire  Год назад

      You have to give proper path