Import Data Into Python

preview_player
Показать описание
How to import data into Python using pandas.

Thanks for watching!! ❤️

\\Import data code

\\Public datasets

Tip Jar 👉🏻👈🏻

♫ Eric Skiff - Chibi Ninja

#pandas
Рекомендации по теме
Комментарии
Автор

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

marioeavila
Автор

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

backbenchrs
Автор

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...

mitchellvandoorn
Автор

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

bowentan
Автор

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.

rafy-ivanmorales
Автор

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 <module>
----> 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!

KlElNlNlElDlY