Read Messy & Poorly Structured Excel Files Using Pandas (Python)

  Рет қаралды 18,990

Coding Is Fun

Coding Is Fun

3 жыл бұрын

👉 Explore All My Excel Solutions: pythonandvba.com/solutions
𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
In the real world, Excel files are not always so neat & clean as the ones you will find in many tutorials. I will walk you through how to read messy and poorly structured Excel Files using pandas.
In particular, I will cover the following options in the pandas read_excel() function:
pandas.read_excel(
io,
sheet_name=0,
header=0,
usecols=None,
true_values=None,
skipfooter=0
converters=None,
dtype=None,
)
You can find the Jupyter Notebook from the tutorial here [Google Drive]:
👉 bit.ly/2M7iGzX
𝗧𝗢𝗢𝗟𝗦 𝗔𝗡𝗗 𝗥𝗘𝗦𝗢𝗨𝗥𝗖𝗘𝗦
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🆓【𝗙𝗥𝗘𝗘】Excel Add-in (𝗠𝘆𝗧𝗼𝗼𝗹𝗕𝗲𝗹𝘁): pythonandvba.com/mytoolbelt
📊 Dashboard Excel Add-In (𝗚𝗿𝗮𝗳𝗹𝘆): pythonandvba.com/grafly
🎨 Cartoon Charts Excel Add-In (𝗖𝘂𝘁𝗲𝗣𝗹𝗼𝘁𝘀): pythonandvba.com/cuteplots
🤪 Fun Emoji Excel Add-In (𝗘𝗺𝗼𝗷𝗶𝗳𝘆): pythonandvba.com/emojify
📑 Excel Templates: pythonandvba.com/go/excel-tem...
🎓 My Courses: pythonandvba.com/go/courses
📚 Books, Tools, and More: pythonandvba.com/resources
𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
🔗 LinkedIn: / sven-bosau
📸 Instagram: / codingisfun_official
💻 GitHub: github.com/Sven-Bo
💬 Discord: pythonandvba.com/discord
📬 Contact: pythonandvba.com/contact
☕ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲?
If you want to support this channel, you can buy me a coffee here: pythonandvba.com/coffee-donation

Пікірлер: 48
@pon00050
@pon00050 3 жыл бұрын
Oh, I am delighted to see your new video!
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you! I am happy to hear that 😃
@SilentWarrior17
@SilentWarrior17 Жыл бұрын
Hey! just what I needed! Thank you for making this video the way you did it. . .Straightforward and efficient. . .
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for the positive feedback! Appreciate you taking the time to leave a comment. 👍
@Perspicacious_pi
@Perspicacious_pi 3 жыл бұрын
Getting hooked on your videos! Awesome content as usual - Thanks!
@CodingIsFun
@CodingIsFun 3 жыл бұрын
I am glad to hear you are enjoying them, thanks for watching and for the comment!
@mohammedalbatati5529
@mohammedalbatati5529 3 жыл бұрын
Loved it , many thanks for this great video I didn’t know about the xlwings until I saw your channel 👍👍
@CodingIsFun
@CodingIsFun 3 жыл бұрын
*I am glad you liked the video, thanks for watching and for the comment!* I also have a separate tutorial on xlwings, perhaps you might want to check it out 😃 👉 kzbin.info/www/bejne/lZKzkmydj5amZq8
@ermalgashimramori
@ermalgashimramori 3 жыл бұрын
Great video, as always explanations are crystal clear.
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you very much! I greatly appreciate your support 🙏
@samratkundu8737
@samratkundu8737 Жыл бұрын
By far this is the best video of this topic I've ever seen. subscribed and wating for more content.. Thank you so much 🙏
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for the kind words and welcome aboard! I am glad you enjoyed it.
@fernandogimenez4403
@fernandogimenez4403 Жыл бұрын
Thanks so much for this video! I learned a lot about pandas and data cleaning with Pythin. You are the best!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you very much for watching the video and for your kind feedback. Happy to hear that it was helpful! :)
@KingLiongWong
@KingLiongWong 2 жыл бұрын
This video is so helpful to me. Thanks!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Glad it was helpful!
@godfreytan1001
@godfreytan1001 2 жыл бұрын
This is such an excellent tutorial.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you!
@ailtonbiji5024
@ailtonbiji5024 Ай бұрын
Thanks for this video, really great content and help...
@CodingIsFun
@CodingIsFun 29 күн бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment! Cheers, Sven ✌️
@brajeshahirwar
@brajeshahirwar Жыл бұрын
Thanks! Just what i need!
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@TheReluctantCoder
@TheReluctantCoder Жыл бұрын
very useful, thank you so much!
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment!
@aberebrian8880
@aberebrian8880 Жыл бұрын
Best tutorial so far
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks! :)
@viper1424
@viper1424 2 жыл бұрын
Great tutorial thanks
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Thank you! 🙂
@florianroeseler2404
@florianroeseler2404 3 жыл бұрын
Super useful!
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you Florian. Glad you enjoyed the video!
@datastako156
@datastako156 2 жыл бұрын
Thank you sir!
@CodingIsFun
@CodingIsFun 2 жыл бұрын
A pleasure, thanks for watching!
@helmutfechner9436
@helmutfechner9436 Жыл бұрын
Vielen Dank fürs Teilen.
@CodingIsFun
@CodingIsFun Жыл бұрын
Danke fürs Anschauen!
@JuanPerez-iu9vk
@JuanPerez-iu9vk 17 күн бұрын
I didn't get why would you use xlwings for loading data, something which can be done with openpyxl so you only have to import one module instead ot two. Great video with everything else.
@CodingIsFun
@CodingIsFun 17 күн бұрын
Thanks for watching. I'm glad you liked the video. As mentioned in the video, the xlwings option was an additional method to convert data from your clipboard into a pandas DataFrame. It's just a quick and easy way to get your data into Python :)Cheers, Sven ✌️
@Monduras
@Monduras 2 жыл бұрын
how do you autofit the columns on export? ive tried diff methods and only some cols seem to get autofit?
@CodingIsFun
@CodingIsFun 2 жыл бұрын
Have a look at the following solution: stackoverflow.com/a/40535454
@gutihaz8913
@gutihaz8913 3 жыл бұрын
support!
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Thank you! 😃
@maxbart1353
@maxbart1353 3 жыл бұрын
ist das ein deutscher akzent? wie wäre es dann mit zusätzlichen videos auf deutsch? :-)
@CodingIsFun
@CodingIsFun 3 жыл бұрын
Erwischt! 😅 Vielleicht in Zukunft 😉
@semihguzel2525
@semihguzel2525 Жыл бұрын
Thank you sir, its a great video. It helped me a lot.
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
Real World Data Cleaning in Python Pandas (Step By Step)
40:01
Ryan Nolan Data
Рет қаралды 59 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 10 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 47 МЛН
Microsoft Copilot - Excel has forever changed
10:05
Luke Barousse
Рет қаралды 984 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,5 МЛН
Python Program to extract data from multiple Excel Files
12:01
Ajay Anand
Рет қаралды 18 М.
Are You Still Using Excel? AUTOMATE it with PYTHON
7:19
John Watson Rooney
Рет қаралды 48 М.
4 Pandas Functions That I Wish I Knew Earlier
4:33
Coding Is Fun
Рет қаралды 23 М.
Automatically Fill Word Files with Python
14:35
NeuralNine
Рет қаралды 17 М.
Clean Excel Data With Python Pandas - Removing Unwanted Characters
5:52
Derrick Sherrill
Рет қаралды 110 М.
How to Read Excel Files with Python (Pandas Tutorial)
23:23
Dave Ebbelaar
Рет қаралды 18 М.