Import Data Into Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น • 17

  • @marioeavila2820
    @marioeavila2820 3 ปีที่แล้ว +3

    Very useful, thanks! Have you considered sharing lectures on running numerical simulations on python? (For example stochastic dynamic programming)

  • @gloriaadzah2575
    @gloriaadzah2575 5 หลายเดือนก่อน +2

    Good work.

  • @backbench3rs659
    @backbench3rs659 2 ปีที่แล้ว +1

    i have a question how to import .dat file ?
    mostly have different words in the file

  • @Rusty-Scalpel
    @Rusty-Scalpel 5 หลายเดือนก่อน +1

    love it

  • @ninar3806
    @ninar3806 ปีที่แล้ว

    How do you open up a terminal window?

  • @WilliamMoss6067
    @WilliamMoss6067 ปีที่แล้ว

    how to import variables from .par ?

  • @bowentan7425
    @bowentan7425 ปีที่แล้ว

    Hello there! What IDLE are you using? It looks very usable.

  • @mitchellvandoorn2625
    @mitchellvandoorn2625 2 ปีที่แล้ว +1

    Well this doesn't work if somebody else wants to use your code on their pc since the path_to_file is not the same...

    • @mitchellvandoorn2625
      @mitchellvandoorn2625 2 ปีที่แล้ว

      Oh if the file is in your directory you can just put in your file name at the place of the URL

  • @guilhermesoares6931
    @guilhermesoares6931 3 ปีที่แล้ว +1

    very thanks!!!!

  • @KlElNlNlElDlY
    @KlElNlNlElDlY 3 ปีที่แล้ว

    Hi there, I downloaded my own dataset and I am trying to follow along but I keep getting this error when trying to see the shape/dtypes:
    TypeError Traceback (most recent call last)
    in
    ----> 1 print(data.shape())
    TypeError: 'tuple' object is not callable
    printing out the data.head works just fine and I don't know what to do. Same error happens with the URL data set although I can print out data.head again. Any insight would be very helpful!

    • @bowentan7425
      @bowentan7425 ปีที่แล้ว

      I met the same problem. Have you solved it?

  • @UğurGüneş-v6d
    @UğurGüneş-v6d หลายเดือนก่อน

    I installet pandas but
    PS C:\Users\ACER> import pandas as pd
    import : The term 'import' is not recognized as the name of a
    cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the
    path is correct and try again.
    At line:1 char:1
    + import pandas as pd
    + ~~~~~~
    + CategoryInfo : ObjectNotFound: (import:String) [], Co
    mmandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    so it doesn't work.

  • @rafy-ivanmorales3077
    @rafy-ivanmorales3077 3 ปีที่แล้ว

    I’m a new student and need help to do this project:
    I have a port scanner script it works properly, it works in Pycharm using python3.9.
    I have to make a file and I did make call (Example.txt)
    On this file, I have to do this:
    3. If the Ports is open, it should create a file and add an entry for port number
    4. In case of any exception for instance “host is not available”, “host name could not be resolved” or
    due to any other error, you need to write that exception into the same file.
    I’m not asking for you to do the project for me, I'm only asking ware I need to work or used in my script to accomplish this because it is my first time doing this and working with python too, and I have been struggling with this part one very bad. I can even send you the code, so you can look and only tell me what I’m doing bad, is not working.

  • @xijun8008
    @xijun8008 2 ปีที่แล้ว +1

    Thanks

  • @maochetra007
    @maochetra007 4 ปีที่แล้ว +2

    Good