Тёмный

Automate Multiple Sheet Excel Reporting - Python Automation Tutorial | Full Code Walk Through (2019) 

Derrick Sherrill
Подписаться 84 тыс.
Просмотров 675 тыс.
50% 1

Python Automation Tutorial
In this one we'll cover the basics of how to automate your excel reports. I know I did this video previously, but I felt it was time to redo that one. In this one we'll cover pandas, NumPy, and Matplotlib for creating reports from multiple excel spreadsheets.
Kite helps fund the channel, thanks for checking them out and supporting me --
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. www.kite.com/get-kite/?...
#Python #Automation #Excel
Here's the excel workbooks from this video --
drive.google.com/open?id=1x6Z...
drive.google.com/file/d/16Yio...
Here's the full python beginners course to get you started using python-
• Learn Python - Course ...
Playlists you might consider interesting:
Pandas for beginners
• Learn Python Pandas #1...
NumPy Course (Free from Udemy)
• Introduction to NumPy ...
Hey Everyone! In this video we're covering the basics of how to automate your multiple sheet excel reporting using python. We'll cover the basics of everything you need to get started using pandas, numpy, matplotlib and python to automate Excel.
There's a lot more in depth stuff about automating excel reporting than what is covered in this video, so subscribe to the channel and I'll have the medium and advanced level videos up soon!
Let me know any feedback or any trips you have for automating excel reporting and I'll be sure to feature you (and the tips) in an upcoming video.
Thanks so much for watching and I hope this video helps you automate excel reporting.
Join The Socials -- Picking Shoutouts Across RU-vid, Insta, FB, and Twitter!
FB - / codewithderrick
Insta - / codewithderrick
Twitter - / codewithderrick
LinkedIn - / derricksherrill
GitHub - github.com/Derrick-Sherrill
Thanks so much for all the support! It's crazy that this topic catapulted my channel about a year ago and now I get to type this (and make an improved version) a year later. Thanks so much for supporting me. This one feels surreal. I appreciate you all so much!
5100+ subscribers and climbing. Thank you all.
*****************************************************************
Full code from the video:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
excel_file_1 = 'shift-data.xlsx'
excel_file_2 = 'third-shift-data.xlsx'
df_first_shift = pd.read_excel(excel_file_1, sheet_name='first')
df_second_shift = pd.read_excel(excel_file_1, sheet_name='second')
df_third_shift = pd.read_excel(excel_file_2)
print(df_first_shift)
print(df_first_shift['Product'])
df_all = pd.concat([df_first_shift, df_second_shift, df_third_shift])
print(df_all)
pivot = df_all.groupby(['Shift']).mean()
shift_productivity = pivot.loc[:,"Production Run Time (Min)":"Products Produced (Units)"]
print(shift_productivity)
#shift_productivity.plot(kind='bar')
#plt.show()
df_all.to_excel("output.xlsx")
github.com/Derrick-Sherrill/D...
Packages (& Versions) used in this video:
Python 3.7
NumPy 1.17
Pandas 0.15.0
Matplotlib
Mac OS operating system
*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
github.com/Derrick-Sherrill/D...
Check out my website:
www.derricksherrill.com/
If you liked the video - please hit the like button. It means more than you know. Thanks for watching and thank you for all your support!!
--- Channel FAQ --
What text editor do you use?
Atom - atom.io/
What Equipment do you use to film videos?
www.amazon.com/shop/derricksh...
What editing software do you use?
Adobe CC - www.adobe.com/creativecloud.html
Premiere Pro for video editing
Photoshop for images
After Effects for animations
Do I have any courses available?
Yes & always working on more!
www.udemy.com/user/derrick-sh...
Where do I get my music?
I get all my music from the copyright free RU-vid audio library
ru-vid.com...
Let me know if there's anything else you want answered!
-------------------------
Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!

Наука

Опубликовано:

 

15 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 496   
@rccc4111
@rccc4111 4 года назад
This lesson would take more than 30 minutes for others to explain. Great pace & clarity. This is usually the best way to explain something for non-beginners. This is the essence! Thank you so much!
@derricksherrill3511
@derricksherrill3511 4 года назад
Sorry for the technical errors on this one (learning premiere and animations to improve the videos haha) - Medium & Advanced level techniques coming soon!
@soy34mb
@soy34mb 4 года назад
Hi, great video. Is it possible the output to MS Access file instead of Excel File? The reason is because I would like to combine thousands of excel files and the quantity of rows of the output will be more than 60mm.
@ashleyramirez87
@ashleyramirez87 4 года назад
Derrick Sherrill new stuff I just learned!
@user-fp1pf7dr5j
@user-fp1pf7dr5j 3 года назад
Where is live
@luisfernandocuestasanchez4343
@luisfernandocuestasanchez4343 3 года назад
Don't even worry about that man. You are doing God's work, thanks a lot. For all of us who have administrative jobs, this kind of content is amazing and I think college, at least in my country doesn't give us that (They didn't even taught us Excel). Now that I got out of it I will try to learn by myself and also with the valuable help of people like you. I have recently found in RU-vid more than all the courses of my university. Thanks for the inspiration and being a role model too.
@adamdenver8019
@adamdenver8019 2 года назад
i guess im asking randomly but does anybody know of a tool to log back into an instagram account?? I stupidly forgot my account password. I appreciate any assistance you can give me!
@shaurya2544
@shaurya2544 3 года назад
Really sweet person knows what he is doing and is not all about money and friggin sponsors. Keep it up! Makes me cry happily!
@slyfox909
@slyfox909 4 года назад
This guy is going places! It wasn’t too long ago when I watched one of your videos and you only had a couple thousand subs. Keep up the great work! Love your videos
@panditadata2595
@panditadata2595 4 года назад
Love😍your videos... So clear and straight to the point...high quality
@ApteryxRex
@ApteryxRex 4 года назад
Just stumbled across this. Thanks so much - a clear, easy to follow example. Great stuff!
@thejohnhoang
@thejohnhoang 3 года назад
dude thank you so much for this tutorial. i can't thank you how helpful you are to the data analysis community!
@joaquinsancaro6285
@joaquinsancaro6285 2 года назад
You have no idea how valuable this is to me. Thank you so much. Great content!
@pablogcortez
@pablogcortez 4 года назад
This tutorial is great, thank you so much!
@edsonwinnerify
@edsonwinnerify 2 года назад
I have a lot of things to learn from you man. Keep your videos coming up! Thanks
@MrStuartAllan
@MrStuartAllan 3 года назад
Brilliant video, I have heard python mentioned numerous times but never seen it in action. Looks amazing, thanks for making the video!
@michelleamidon2083
@michelleamidon2083 2 года назад
I'm going to drop all professionalism and just say " holy shit "". I've watched ALOT of training videos On python but WOW...it was short, clear, concise, and understandable. I know the video is 2 yrs old but I hope he is having all the success he deserves!! Well done!!!!
@ildefonsogiron4034
@ildefonsogiron4034 3 года назад
I never thought David Bowie was into computers!
@NathanColmenero
@NathanColmenero 3 года назад
We could be heroes!!
@Brutserum
@Brutserum 3 года назад
Lmfao
@azizmiya
@azizmiya 2 года назад
Lol, this David Bowie is a real rock star
@drn_lvs
@drn_lvs Год назад
Just for onde day...
@luismontero3416
@luismontero3416 Год назад
🤣
@christopherdismuke723
@christopherdismuke723 4 года назад
Great content. I don’t see enough people talking about excel -> python.
@Darille1988
@Darille1988 4 года назад
You are such a blessing. Subscriber from the Philippines here
@knockn9ck
@knockn9ck 3 года назад
Holly.. you just convinced me of the worthiness of learning to program. I could automate 90% of my job!! Thank you
@VijayTiwari22981
@VijayTiwari22981 3 года назад
Very short and crisp video...to the point....Thanks
@riteshtripathi8626
@riteshtripathi8626 4 года назад
RU-vid's algo popped up your video and this the first video to watch on your channel and I am subscribed to it. Thanks, this has been a great relieve for my production planning, though I am new in python.
@QueenaJami
@QueenaJami 3 года назад
So glad I found your channel!Thanks Derrick!!
@jamesmcgee1912
@jamesmcgee1912 2 года назад
Clear and straight to the point. Good stuff.
@claytonmarquardt5522
@claytonmarquardt5522 3 года назад
really good stuff. videos like these are great because we're doing real work and it helps me learn! thanks again.
@faizanarain3080
@faizanarain3080 4 года назад
Brilliantly explained....I have been trying to learn python since 6 mounths........only this Guy made python easy for my dumb mind....
@expat2010
@expat2010 4 года назад
The pacing of your videos is perfect.
@eddieflyer555
@eddieflyer555 4 года назад
Have to agree with the other Power Query comments - automating Excel reports using Power Query is super easy, built into Excel, and no coding required! People should look at the many RU-vid tutorials to familiarise themselves with it. I'm not sure why you'd go to Python for the scenarios noted - Power Query is way more user friendly (built into Excel), less error prone, and low code to use Power Query. And apparently much quicker. I'm surprised from looking at the rest of people commenting and the number of likes this video received! Clearly people are not familiar with Power Query! Its like using a sledge hammer to crack a nut :)
@goingfurther8092
@goingfurther8092 3 года назад
It’s crazy how well you describe everything. Your clear and slow speaking is great for tutorials. Thanks a ton!
@omkarpatil2254
@omkarpatil2254 Год назад
Because he is robot
@lucianotavares4953
@lucianotavares4953 4 года назад
Thank you for sharing your knowledge! Very useful easy to understand! 👍
@JohnsonKongor
@JohnsonKongor 4 года назад
Thanks, Derrick. Great job. I have worked with excel for over 15 years, manipulating data with excel multiple functions. But I still give credit to python and other programming languages for data automation. I'm transitioning.
@chillagatturavindranath8089
@chillagatturavindranath8089 3 года назад
Thank you for sharing your knowledge on Excels.
@TheYasinsonu
@TheYasinsonu 4 года назад
Great Video! Helps me alot in day to day work. Thank you Derrick.
@LornisHervilla
@LornisHervilla 3 года назад
Thank you Derrick, great explanation!! You won a subscriber and a thumbs up. God bless you
@kennytieshisshoes
@kennytieshisshoes 3 года назад
Wow this was really straightforward and easy to understand.
@dylanyespersen
@dylanyespersen 4 года назад
Amazing Tutorial, Derrick. Thank you so much :)
@BotanicalOdyssey
@BotanicalOdyssey 3 года назад
This is so great! Thank you Derrick!!
@masbro-jk5bg
@masbro-jk5bg 4 года назад
Great content dude. I am newbie, and learn a lot from this video! Thanks!
@satriobudi6090
@satriobudi6090 3 года назад
I'm from Indonesia and I support this channel
@ER_aka_RAM
@ER_aka_RAM 4 года назад
Excellent demonstration of functionality 🤙🏽
@espy58
@espy58 3 года назад
I really enjoyed the video. Concise and informative. Thank you
@ZhixueYuan1989
@ZhixueYuan1989 2 года назад
wow thank you so much for the great tutorial. This is gold.
@ashokvarshan500
@ashokvarshan500 3 года назад
really very clear in conveying the things opened a new way to process my excel files thank u so much
@LarsHHoog
@LarsHHoog 4 года назад
Feels like more of a demo than solving a real world need. Accomplishing the same using power query in Excel is faster :)
3 года назад
Hi Derrick, I was nine when Apollo 11 was launched so, despite the difference of timelines between you and me, I feel very enthusiastic about my Python learning curve. I will utilize your instructive videos in order to implement a project on a native american language I am learning here in Central America. As things go further in my idiom classes the more rules appear, therefore I am expecting about storing different sources in different Excel files and combine them, with the proper sintactic rules, in some sort of a centralized dictionary. I have recorded the important features of this video for further use. Thanks.
@retrofutur1st
@retrofutur1st 2 года назад
thanks for a great vid! truly grateful being walked through this stuff
@markslima1557
@markslima1557 Год назад
another outstanding video on python/pandas/excel tech!
@malamalufungulo7787
@malamalufungulo7787 4 года назад
This is a great tutorial! Great job!
@robertopulido9557
@robertopulido9557 3 года назад
you are the best, straight to the point
@Warrior11538
@Warrior11538 Год назад
Derick you are doing a great job. God bless you.
@priya-ok9ur
@priya-ok9ur 10 месяцев назад
This video is really helpful. Thank you.
@bhthllj
@bhthllj 3 года назад
Very well explained! Thank you!!
@LuisGarcia1992_
@LuisGarcia1992_ Год назад
Very nice Tutorial. Thank you!
@zero2652
@zero2652 3 года назад
Thanks for sharing this knowledge, I appreciate it too much!!!
@rushas
@rushas 4 года назад
Good job. Thanks for sharing your knowledge
@fernandomgarin
@fernandomgarin 3 года назад
Muchas Gracias Derrick, excelente tu video. Saludos desde Argentina.
@ShahadIsmail
@ShahadIsmail 2 года назад
Interesting!! Thank u this was very helpful👍🏻
@blackchristiangeek
@blackchristiangeek 2 года назад
Thanks for the tips and I humbled to say that I never heard of some of these tools before this video. Accordingly, I have subscribed. Again, thanks, and God bless
@maxbart1353
@maxbart1353 3 года назад
thanks, i learned so much from your videos
@TaxMentors
@TaxMentors 3 года назад
Very informative . God bless and keep posting
@shaziashabbir5813
@shaziashabbir5813 Год назад
Thank you for sharing your knowledge
@adaliciojunior9792
@adaliciojunior9792 4 года назад
this is simple amazing!!!! thank you for the video..
@taherismail5425
@taherismail5425 4 года назад
that was awesome video, i 'v never been seen one like that , thanks for your time my friend
@malcom91
@malcom91 3 года назад
Amazing content here. Auto subscribed. Cheers from Spain :D
@scotts1409
@scotts1409 3 года назад
Amazing. You made it so easy.
@rdmorillo0404
@rdmorillo0404 3 года назад
Very Good Video Derrick!
@yiubili1
@yiubili1 4 года назад
I am very glad that you are more used to be the tutor in youtube. Thanks for providing the material with link! Thanks for your video, really liked them all.
@kinglukluk3016
@kinglukluk3016 3 года назад
This tutorial is very useful... 👍👍👍
@danielpinheirocampos4832
@danielpinheirocampos4832 4 года назад
Amazing mate!!
@georgetosounidis5545
@georgetosounidis5545 4 года назад
Hi Derrick, that was awesome! I'll make sure i'll check your content on Udemy as well :)
@bicavalgyalvesdesousa2526
@bicavalgyalvesdesousa2526 4 года назад
Derrick you are super cool thanks for sharing your knowledge
@josepaulofernandes4052
@josepaulofernandes4052 3 года назад
you made very good use of 10 minutes
@mr_anonymous_oo7
@mr_anonymous_oo7 3 года назад
You have done a great and simple video to understand pyexcel in combo thank you bro😀😀😀
@aduck24
@aduck24 4 года назад
I really like your videos, like I’m purely a beginner but I feel like I learn a lot from your videos (and I already wrote some codes to automate excel tasks). Can you do more how python can be used to automate excel. Thank you and keep up your good work.
@juanalcaraz4300
@juanalcaraz4300 4 года назад
thanks for the upload this video. i wasn´t have idea how to use python for read excel. one greeting from argentina
@sherlockian1
@sherlockian1 4 года назад
Thanks Derrick that was really helpfull
@hamzaberrada908
@hamzaberrada908 3 года назад
Thank you so much Derrick
@Rondondon747
@Rondondon747 4 года назад
Your channel is so underrated.
@yuangchengyuancheng4460
@yuangchengyuancheng4460 4 года назад
Learn a lot. Thank you.
@smailbelouch390
@smailbelouch390 Год назад
thank you for your explaination.
@themanbhagat
@themanbhagat 4 года назад
very helpful tutorial bro Thank you!! love from india ❤️
@lqc1014
@lqc1014 2 года назад
Thanks for your sharing !
@Muuip
@Muuip 4 года назад
Great tutorial! 👍
@JHatLpool
@JHatLpool 3 года назад
To the author. This is a great demo of an important topic. Thumbs up +1 from me.
@John5ive
@John5ive 3 года назад
A really excellent video!
@sharifmansuri607
@sharifmansuri607 3 года назад
Thanks for this video.
@PeladomanMaypa
@PeladomanMaypa 4 года назад
Subscribed i dont know anithing of panda, python, automatization, excel but your explaination ets so clear that i want to learn whatever u are saying.
@Dividendology
@Dividendology 3 года назад
Really great tutorial!
@magidz
@magidz 3 года назад
great work, thank you!
@asadmehmood9558
@asadmehmood9558 4 года назад
I have seen power query more useful so far, I have been making interactive dashboards out of raw data from multiple excel sheets and when new data is updated in sheets just press refresh button and job done.
@sreejithpnair8973
@sreejithpnair8973 3 года назад
COPY FOLDER NAMES TO EXCEL in ONE GO ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kqVjSSjVnks.html
@AXLAV
@AXLAV 3 года назад
"so far" ... thats' why
@norbertbarbe7383
@norbertbarbe7383 3 года назад
Thanks a lot great video.
@ai.simplified..
@ai.simplified.. 4 года назад
1st step to analytics,thx
@xaviruiz8345
@xaviruiz8345 4 года назад
Great Video!! Thank you for sharing your knowledge:)
@mtgmtgyoutube221
@mtgmtgyoutube221 4 года назад
Thanks a lot for the video!!
@masudparvez9511
@masudparvez9511 2 года назад
So cool man!!!👌👌👌👍👍👍
@sirfsimran482
@sirfsimran482 4 года назад
Very Useful Buddy Keep It Up !!
@DequanHarrison
@DequanHarrison 4 года назад
Awesome! Thanks! Would greatly appreciate if you could answer my question in your ""Replace Vlookup with python" video.
@phil.pinsky
@phil.pinsky 4 года назад
Great video! I’m just getting into python to be able to pull data from webapi and convert json to csv. That would be a great video!
@user-qd1bw8us1q
@user-qd1bw8us1q 3 года назад
Я новичок, но все понял. Очень классно объясняешь :) I’m just a beginner, but understood everything. You do it great :) Привет из России!
@BryanCafferky
@BryanCafferky 4 года назад
Nicely done.
@patrickseeto5241
@patrickseeto5241 4 года назад
Very useful, thank you
@TheSoorajthevally
@TheSoorajthevally 3 года назад
Very good one. I liked that you cared to mention which Python Version you we using.
@alexama8703
@alexama8703 3 года назад
Thanks for the video!!
@habeshadigitalnomad137
@habeshadigitalnomad137 2 года назад
Great tutorial! am about to be a regular to your channel.
Далее
Replace Excel If Function with Python Pandas
8:05
Просмотров 129 тыс.
Automate Excel Work with Python and Pandas
21:29
Просмотров 91 тыс.
How to Replace VBA with Python(Step-By-Step Tutorial)
31:19
Introducing Python in Excel
19:01
Просмотров 1,5 млн
Automate Excel using Python + ChatGPT-4o 🤯
7:40
Просмотров 17 тыс.
Are You Still Using Excel? AUTOMATE it with PYTHON
7:19
Learn Excel VBA to Automate Anything
14:02
Просмотров 348 тыс.
Непробиваемый телевизор 🤯
0:23
Дени против умной колонки😁
0:40