Комментарии:
It's now October 2023. For people using the newer versions of Pandas, you need to upgrade the Excel reading module.
Short story: XLRD is the default engine for Pandas to read Excel files, and as it happens XLRD stopped supporting XLSX files.
If you want to read one anyway, you need to pip install openpyxl, and set it to be the reading engine instead of the default.
Sir how to save our file in jupyter notebook anaconda plz sir maake a video
ОтветитьVery methodical approach to teaching. Great. Thanks👍
ОтветитьVery much good 👍
ОтветитьSir i am not able to use read_excel() it is throwing errors like module not found
i have imported pandas as pd and done the same as you taught, can you please tell the solution ?
Sir I'm not able to import excel and CSV. file the way you telling.i'm getting error like unicode error codec can't decode bytes in postinton 2-3: truncated\uxxxx escape.I have installed pandas
I have searched this error in Gogle and I got a solution such as use duplicate backlash , forwardlash and r" " still it's same error poping up
What's mistake have I been doing sir here
great work !
ОтветитьSuper !
ОтветитьHi Sir, can you help me to read multiple parquet files from different directories using python
ОтветитьI think before importing excel in pandas one should install, xlrd using pip or conda
Ответитьwhat happens in the last one? how the system is interpreting that dates and events etc are column headings and need to be placed at the top only
ОтветитьI have problem with csv file. I kept getting the same error over and over again. The pandas has no attributes called csv . Any one help
Ответитьin example 3 the following error message is displayed. Name Error: pd is not defined.
Ответитьlegend. this is amazing. Thanks for sharing!
ОтветитьMan! Best tute I've ever seen on pandas. Lovely
ОтветитьThank you!
ОтветитьHello, what does the r before C: ?
df = pd.csv_read(r 'C:\datasets\example.csv')
With some letters of the lowercase alphabet from error if there is not.
thx
ric
Awesome information ❤️
ОтветитьSir i want the answer for
Write the syntax of dataframe method?
thank you!!
ОтветитьSimple ! And easy
ОтветитьThanks man such a great vedio
ОтветитьSir I have one error, dataframe object has not attribute dataframe
Ответитьi am not able to open the csv file it is giving me error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xae in position 16: invalid start byte
Give me solution
Boss, I am using the same Jupyter notebook, but I could'nt see border lines in df across rows and columns, could you please help in this.
ОтветитьThanks sir
There tutorials are really helpful
👍
ОтветитьSimple and efficient ... Thank you
Ответитьdo we need "pip install xlrd" for read_csv?
ОтветитьThank you for teaching me Basics of Pandas..
ОтветитьHow to add return value from function to dataframe column?
ОтветитьThank you for making the concept so easy and simple .I am worried about the people why gave "thumbs down" wishing if they know better let us know with the proof of video tutorials--------you thumbs downer----
install xlrd if unable to read excel file
ОтветитьNice and well-explained videos.
ОтветитьThis should save you some time! Here is the text he copied and pasted for examples 3 through 5
# way 3 (python dictionary)
weather_data = {
'day': ['1/1/2017', '1/2/2017', '1/3/2017'],
'temperature': [32, 35, 28],
'windspeed': [6,7,2],
'event': ['Rain', 'Sunny', 'Snow']
}
# way 4 (python tuple list)
weather_data = [
('1/1/2017', 32, 6, 'Rain'),
('1/2/2017', 35, 7, 'Sunny'),
('1/3/2017', 28, 2, 'Snow')
]
# way 5 (python dictionary list)
weather_data = [
{'day': '1/1/2017', 'temperature': 32, 'windspeed': 6, 'event': 'Rain'},
{'day': '1/2/2017', 'temperature': 35, 'windspeed': 7, 'event': 'Sunny'},
{'day': '1/3/2017', 'temperature': 28, 'windspeed': 2, 'event': 'Snow'}
]
Whoever is unable to read csv/xlsx, please ensure you have Anaconda installed.
After Anaconda installation,
Search for Jupyter in Windows and press Enter.
Perform a Ctrl-c and it should guide you through.
Any more questions, please let me know :) Glad to help !!!
nice tutorial
ОтветитьMan you are awesome.
ОтветитьI have a worksheet (sample) as follows.
df.head()
uniname 19.1 19.2 19.3 19.4
0 uni1 Complied NotAppl Clarification NotAppl
1 uni2 NotAppl Complied NotComplied Clarification
2 uni3 Clarification NotComplied Complied Complied
3 uni4 Complied Clarification NotAppl Complied
df.dtypes()
uniname object
19.1 object
19.2 object
19.3 object
19.4 object
dtype: object
Objective here is
To count each university having count of having each status for each article (19.1,19.2 etc).
e.g output.
Uniname | Article | Status | Count
uni1 - | 19.1 - | Complied - | 2
| 19.1 - | NotAppl - | 1
| 19.1 - | Clarification - | 1
| 19.2 | NotAppl | 1
| 19.2 | Complied | 1
|19.2 | NotComplied | 1
| 19.2 |Clarification|
uni2.........
uni3.........
uni3 .......
I have used nested loops and with functions such as iterrows() and iteritems() for dataframe, however not able to crack it. Can you help?
WHAT IS THE DIFFERENCE BETWEEN XLS FILE AND CSV FILE BOTH LOOKS SIMILAR
ОтветитьGreat Tutorial. Can you list some tips if we need to productionalize this using Cloud environment - AWS/GCP/Azure? Thanks.
Ответитьgreat work man !
Ответитьsir i m getting an error in read the csv file as UnicodeDecodeError ....
anyone please help
This is a gr8 tutorial, i have one question , can we apply theses datafrmaes in spark ?
Ответитьman your work quality is priceless !! short , very useful , with examples and informative videos !! the best way to learn python for data science !! keep up the good work and thanks a lot
Ответитьfrom sql file?
Ответитьa great work
Ответить