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!
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.
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.
Very useful, thanks! Have you considered sharing lectures on running numerical simulations on python? (For example stochastic dynamic programming)
Good work.
i have a question how to import .dat file ?
mostly have different words in the file
love it
How do you open up a terminal window?
how to import variables from .par ?
Hello there! What IDLE are you using? It looks very usable.
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...
Oh if the file is in your directory you can just put in your file name at the place of the URL
very thanks!!!!
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!
I met the same problem. Have you solved it?
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.
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.
Thanks
Good