Introducing Python in Excel 😱

  Переглядів 1,474,667

Leila Gharani

Leila Gharani

День тому

Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
You can use Python INSIDE Excel now 😱 In this video I'll introduce this game changing new functionality of working with Python inside Excel. Is Python in Excel for non-programmers? Can everyday data analysts make use of it? I'll answer these in the video.
Plus checkout the announcement from Microsoft: techcommunity.microsoft.com/t...
🐍 What You'll Learn:
▪️ Entering Python Mode in Excel: Master the basics of switching to Python mode in your Excel environment.
▪️ Data Frame Creation: Understand how to create and manipulate Data Frames from Excel data, providing a robust structure for analysis.
▪️ Custom Python Formulas: Explore the power of custom Python formulas in Excel, expanding your analytical capabilities beyond traditional Excel functions.
▪️ Advanced Charting: Dive into creating dynamic charts within Excel cells using Python, offering enhanced data visualization options.
If you have this feature which is currently free to use in Microsoft 365 Insiders, you will find Python in the Insert tab in the Excel Ribbon. You get a few Python libraries already ready for you to use in Excel. These are the pandas, matplotlib, seaborn, statsmodels and NumPy. You can import other libraries as you need using the import statement - for example import re module for REGEX calculations. How can you use Python in Excel in practical terms? I share a few ideas in the videos. You can use the pandas library and turn your data into a dataframe which you can then use for more complex tasks, like query the data, unpivot the data with python, create charts using matplotlib - make a line, area or even small multiples. You can grab URLs from long text by using the regex library. You can also use python together with Power Query. We'll only scratch the surface and even that is pretty awesome.
00:00 Python in Excel
00:40 Enter Python Mode
01:32 Send Excel Data to Python - Create Data Frame
03:19 pandas Python Library
03:43 Python Describe Data
05:11 Assign Name to DataFrame
05:51 Referencing Headers Shortcut
06:26 Examples of pandas Functionalities
07:29 Create Series Python Object
09:35 Plot a Chart in an Excel Cell
10:51 pandas Documentation
11:16 Calculation Logic of Python Cells
12:07 Examples from Default Libraries
13:35 Plot Multiple Charts As Single Object
14:49 Importing Libraries & Referencing Tables
18:10 Python to Excel Power Query
18:35 Wrap Up
➡️ Join this channel to get access to perks:
/ @leilagharani
🎬 LINKS to related videos:
Introduction to Office Scripts: ► • Introduction to Office...
How to Create & Use Excel Macros: ► • How to Create & Use Ex...
➡️ Join this channel to get access to perks: / @leilagharani
👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
🎥 RESOURCES I recommend: www.xelplus.com/resources/
🚩Let’s connect on social:
Instagram: / lgharani
LinkedIn: / xelplus
👉 This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#python #excel

КОМЕНТАРІ: 1 400
@LeilaGharani
@LeilaGharani 8 місяців тому
Exciting developments! If you want to stay up to date with the latest sign up to my FREE XelPlus Weekly newsletter: www.xelplus.com/newsletter/
@dailyinspiration4164
@dailyinspiration4164 8 місяців тому
Wow This very cool feature Love to see it Thanks for sharing
@jameslucas5590
@jameslucas5590 8 місяців тому
So is this an add-on to Excel or part of the Excel version? Do you have to install python on your computer? Trying to understand the install setup or dependencies.
@jamesantonywhitehead2814
@jamesantonywhitehead2814 8 місяців тому
Python don't actually offer extra functions that are not already available within Excel... You are now showing how to remove our jobs within the administration industry.. What you are not showing is the imagination needed to interpret the data to assume new conclusions. Please suggest I am wrong.
@LeilaGharani
@LeilaGharani 8 місяців тому
Part of Excel - no setup will be required. No python installations.@@jameslucas5590
@LeilaGharani
@LeilaGharani 8 місяців тому
These developments will free up more time so we can take more time to interpret the data and come up with ideas and action plans @@jamesantonywhitehead2814
@paulpurington8637
@paulpurington8637 8 місяців тому
Great introduction to Python in Excel! You started with the basics and got more complex in a very logical and easy to follow manner.
@kubev
@kubev 8 місяців тому
Really useful video. I've always wanted to get more into data analysis, but the software we use at work generates the absolute worst reports, and finding creative ways to scrape for the data I need in Excel always feels like such a chore and changes from year to year. What little you showed in this video already has me really excited for how much more intuitive it's going to be for me to get the data I need quickly. Thanks!
@lucbloom
@lucbloom 8 місяців тому
Let me tell you that, as a programmer, this looks way more sensible and enticing than the “user friendly” (=restrictive) environments like Tableau or Sisense/Periscope.
@user-sw6dt3hz2w
@user-sw6dt3hz2w 8 місяців тому
Leila, you're really good in excel-- Your information is so simple and clear - which is what people will be looking at from any tutorials out there! It's Clear, concise and perfect. Thank you so much!
@ahmedaboumoslem3017
@ahmedaboumoslem3017 8 місяців тому
So grateful to you Leila, you are usually keeping us updated with these valuable information Thank you from Egypt 🇪🇬
@joelngige5776
@joelngige5776 8 місяців тому
I have been learning python this year and most of the stuff you illustrated is relatable. It seems one does not need to use Jupyter notebooks or Vs code to import data from excel. You just work with your data straight from native excell. Mind blowing!!!!
@LeilaGharani
@LeilaGharani 8 місяців тому
Yes! Straight from Excel or Power Query 💪
@snipelite94
@snipelite94 8 місяців тому
Be interesting to know how many Python libraries are available to excel. You can already do a great deal of stuff in the video in excel; THE ORIGINAL DATAFRAME 😁 Let's see if the Spacy and Top2Vec data mining stuff can be pip installed...?
@jayp5269
@jayp5269 8 місяців тому
this does not make much sense yet to me. Importing excel in python is one liner dude. And convert any big data to dataframe means eat up your ram... nah, already learning python or already know it, directly write script, and get most of power!
@satunnainenkatselija4478
@satunnainenkatselija4478 8 місяців тому
@@jayp5269 Maybe it could be useful for setting up and troubleshooting. Excel doesn't go along with big data but it's good at presenting tabular data.
@amoorinet..
@amoorinet.. 8 місяців тому
This comment, and the comment on it, answered me a big question
@mr.jaycasey4676
@mr.jaycasey4676 8 місяців тому
While this is currently beyond me, I am glad to learn what is possible and what is coming down the pike. I am storing this away in my "I may need this sometime" file. When the need arises, I know I'll come back here to learn the details. Thanks Leila!
@vikingthedude
@vikingthedude 8 місяців тому
Learning python will open you up to the world of programming as well, so it’s a good investment
@spilledgraphics
@spilledgraphics 8 місяців тому
Fantastic, fantastic, fantastic, Leila! glad to be back on your channel, watching your content and your contribution. Finally, I got the chance to go through the whole video! - loving everything you shared, and for certain, I will emulate your small multiples example. Thank you, thank you! 🙏
@JoaoSantos-jb7ul
@JoaoSantos-jb7ul 7 місяців тому
Hi, Leila! This is fantastic: Excel (now) using Python! I began learning Python, and sometimes I use Pandas library to open .XLSX or .CSV files to a dataframe, exclude NaN values, etc., generally using Jupyter Notebook or PyCharm to write the programs. Now, these programs can also be written in an Excel sheet! Thanks for your explanation! Greetings from São Paulo, Brazil!
@SkarTisu
@SkarTisu 8 місяців тому
I’m glad this finally exists. I was looking for this about a month ago and figured out a different way to do what I needed at the time, but it’s nice to know this is available now.
@Big-guy1981
@Big-guy1981 6 днів тому
Finally? Python extensions have existed for years... free of charge!
@omar_5622
@omar_5622 8 місяців тому
For years, I used to switch back and forth between Python and Excel depending on the case. Finally seems I would be able to do the work within one environment. Aside from the pandas and dataframe stuff, i am hoping we can use Python to replace VBA (at least partially)
@MichaelGrantPhD
@MichaelGrantPhD 8 місяців тому
Thank you so much for this great overview. I am super proud of what our team has been able to do for Microsoft. And the work that the Excel team has done is off the charts (heh). They put so much thought on how best to put Python in the grid. Of course, this is just the beginning-more will come. Thanks again! Michael Grant, SVP, Enterprise Anaconda, Inc.
@LeilaGharani
@LeilaGharani 8 місяців тому
You guys did a great job! We now have many possibilities that go beyond Excel's standard capabilities. Looking forward to the future developments.
@AnthonyNomakeo
@AnthonyNomakeo 8 місяців тому
super amped about this - good job anaconda team!
@analyticswithadam
@analyticswithadam 8 місяців тому
This is a game changer for functional teams in finance who were really resistant to notebooks . Thanks Michael.
@jamiegatt5370
@jamiegatt5370 8 місяців тому
Excel was already getting great updates lately but this is on another level! Really excited to start using this. Thanks Michael & your team for this. :)
@RonaldDraxer-rb4qm
@RonaldDraxer-rb4qm 8 місяців тому
Thank you. As a data analyst and a great fan of python and excel. This is a dream come true for me
@komninoskamamis1098
@komninoskamamis1098 8 місяців тому
Thank you very much Leila. Your presentations are simply outstanding! God bless you and your family
@ennykraft
@ennykraft 8 місяців тому
I've watched several videos about this now and this is the first one that got me excited about Python in Excel. The other ones focused too much on the "cool" charts you could create. When it comes to charts, I'm team "simple is best" so I knew I wouldn't need this much. One definite exception are the geoplot libraries. But your examples showed examples that will be actually useful for data analysis and when you said that we can link to Power Query, I got REALLY excited. When analyzing large sets of data, I don't want them in the workbook and no longer having to rely on Pivot tables is wonderful since people tend to forget they have to update. I can see this replacing Power Pivot. I'm definitely looking forward to you posting more videos about Python. Thank you very much!
@MarkCassano
@MarkCassano 8 місяців тому
I've always wanted Matlab/Octave integration where cells can refer to matrices or even 3D arrays (without having to see the contents). This is probably even better (though I'm not a python pro). Exciting!
@BureBluetooth
@BureBluetooth 8 місяців тому
It seems to be no limit what you can create with Python in Excel, fantastic. Looking forward to se your next videos in this subject 😊
@JaydenX
@JaydenX 7 місяців тому
Thank you, this is crazy helpful. Sometimes I forget how new these functionalities are, and it amazes me what we can do now compared to a year ago.
@Boomk27
@Boomk27 8 місяців тому
I am so glad I learned python this past year ! This is gonna be so helpful 🎉🎉🎉. To everyone who wants to learn how to code in python, please do not be afraid and do it. Python is way easier than VBA to learn within weeks you’ll be able to write your own code and within months write code with more complexity. Do not let yourself be your own obstacle. If I did it you can do it !
@zaheer25
@zaheer25 8 місяців тому
Hi. I did something similar last year. I did the 100 days of Python by Angela Yu on Udemy but lost interest because the course was so outdated that a lot of the solutions don't even work anymore. What course or Bootcamp did you do?
@Boomk27
@Boomk27 8 місяців тому
@@zaheer25 hi 👋, I did the same course you did. After day 50 or 60, I just flash forwarded to the more advanced course of data analysis and portfolio project with pandas. After that, I took real projects. What I mean by real projects I registered on freelance website such as Fiver and Upwork and comeup. People reached to me for doing some data analysis job. Taking project is really the hard part and the fun part. Because every single person will come to you with an unique request. I was able to manage multiple projects it was very educating for me as a développer. I really encourage you to do so, to me it’s the best way to learn and any développer will tell you the same
@Boomk27
@Boomk27 8 місяців тому
Allow me to add that with ChatGPT and stakoverflow, you’ll be able to work way more faster and still need to put in application what you learned in Angela’s course
@nathasyapramudita6312
@nathasyapramudita6312 8 місяців тому
print("hello world!")
@zhuzhu9599
@zhuzhu9599 8 місяців тому
​@@zaheer25if you find the answer. Plz reply me
@andrzejb4370
@andrzejb4370 8 місяців тому
Really great news. Personally, I'm especially interested of working with matplotlib in Excel as this would give possibilities of chartings not available directly in Excel (at least without addins ). Working with connections only seems also to be a big 'yes'. I'm a bit curious though od three are plans to bring It to Excel online as well (or if It will be at least compatible even if code is prepared in desktop version)
@excelunique
@excelunique 8 місяців тому
Thank you so much for this Leila. So much appreciation for your presentations. Trying to sort out some math presentations in Excel even using VBA. But now also excited like you are. Eigenvalues and Eigenvalues always referred by ChatGpt to make use of Python but my models in Excel. Now I am waiting on your future videos.
@anandpandit2487
@anandpandit2487 8 місяців тому
Excellent, was waiting for this, thanks for the great video 👍
@ojaimark
@ojaimark 8 місяців тому
This is actually amazing. One thing you kind of touched on but didn't really dive into is that pandas can make pivot tables too. So basically this just solved one of the oldest most annoying limitations of excel for me which is making automatically/dynamically updating pivot tables. No more bodging to force the pivot table to refresh at strategic points. Just make a pandas pivot table and because it's a formula it's always up to date and dynamic.
@caty863
@caty863 7 місяців тому
Funny the interview question I had for my current job was to make a pivot table that auto-updates. I achieved that by using a combination of UNIQUE() and xxxxIFS() functions. I agree Python constitutes a more robust solution here; but everything could be done already with a little bit of creativity.
@tmb8807
@tmb8807 6 місяців тому
You can already do this with DA formulas if your source data is on worksheets, or CUBE formulas if it's in the Data Model.
@washingtonalto
@washingtonalto 8 місяців тому
This is really cool!! I happen to know both Excel and Python including pandas, matplotlib among others. Am so excited and can’t wait for this to be released from beta 😊
@LeilaGharani
@LeilaGharani 8 місяців тому
Perfect! You'll have a head start
@vik914
@vik914 8 місяців тому
would excel row limits be an issue for large datasets?
@LeilaGharani
@LeilaGharani 8 місяців тому
Not as long as it stays in the dataframe and you don't spill the whole thing on the grid @@vik914
@vik914
@vik914 8 місяців тому
wow, didn't expect a response. Thank you so much!@@LeilaGharani
@JediMasterVictor
@JediMasterVictor 8 місяців тому
Another excellent video, and this is definitely something to be excited about: Python in Excel! Thanks for the great content, as always. You are an excellent source of valuable knowledge.
@bryancamareno2831
@bryancamareno2831 8 місяців тому
This is amazing! Especially the Regex example. I can’t wait for this functionality to be rolled out in Excel at my company!
@XLGuy
@XLGuy 8 місяців тому
It's absolutely amazing. Thank you Leila for wonderful yet simple explanation. Hoping to deep dive into it, obviously, with the help of your videos.😊
@user-wu9kk9ni9n
@user-wu9kk9ni9n 8 місяців тому
That's a great thing. People will quickly learn Python and realize they don't need Excel anymore, they can just switch to using more reliable tools like versioned Jupyter Notebooks + versioned CSV data files + versioned source code
@StephenDix
@StephenDix 4 дні тому
Glad someone said this out loud.
@yaserqutubuddin5452
@yaserqutubuddin5452 8 місяців тому
I always loved your video. Very informative and thank you for your hard work to create all these videos!
@rolf7135
@rolf7135 8 місяців тому
Very cool and thanks for a great video! I'm learning Python and have started to automate the reporting process. A few years ago, I choose to learn R well. R is a very neat and beautiful language, but as Excel is my main tool it was not that practical. I find it a bit of a struggle to learn the Python Pandas syntax, but this will make it much, much easier (ChatGPT is a great tool, but it is nice to know the main syntax from memory and fast).
@andrewcharlesmoss
@andrewcharlesmoss 8 місяців тому
The news only just broke an hour ago. Clearly, you knew about this before the rest of us to get this video out! 😂 Very exciting possibilities await. Excel + Python = The Dream Combination.
@LeilaGharani
@LeilaGharani 8 місяців тому
One of the advantages of being an MVP but emotionally I have to keep my feelings and excitement to myself until I can talk about it. It feels very freeing now 😇
@mono65
@mono65 8 місяців тому
​@@LeilaGharaniIt's really amazing. I think a specific certification in this field should be useful for everyone. Thanks for sharing
@maniktalwar6958
@maniktalwar6958 8 місяців тому
​@@LeilaGharani😅
@AhmedMohamed-br1kr
@AhmedMohamed-br1kr 8 місяців тому
Amazing as usual 👌👏👏
@sambarajkanaveni7312
@sambarajkanaveni7312 8 місяців тому
Great... Explanation big fan of your videos🎉thank you
@Datalata
@Datalata 8 місяців тому
This is brilliant, thanks. Superbly explained so you don’t have to be a data scientist to understand it - but it introduces the main terms and processes that data scientists use. Can’t wait to use it myself!
@arunashankar
@arunashankar 8 місяців тому
Love your channel. Looking forward to more updates on use of python in excel. A video on generating graphs and charts will be helpful. Cheers!
@LeilaGharani
@LeilaGharani 8 місяців тому
noted! thanks ❤
@MegaTrickykid
@MegaTrickykid 8 місяців тому
awesome stuff! Thanks for introducing it to us! Cheers and many thanks.
@queenbey6678
@queenbey6678 8 місяців тому
This is great. I've used pythonto in excel for years so it's great they officially include it
@AmpersAndAI
@AmpersAndAI 8 місяців тому
Please do not let this woman fool you. This lease do not let this woman fool you. While useful, this functionality involves pandas, not python
@dagordon1
@dagordon1 8 місяців тому
Besides the Python library called pandas, she also demonstrated the Python library called matplotlib and hinted that seaborn and numpy will be available.
@funk44
@funk44 8 місяців тому
​@@AmpersAndAIwtf are you talking about!? Pandas is a python library???
@AmpersAndAI
@AmpersAndAI 8 місяців тому
@@funk44 Correct hence why it makes more sense to have named this function 'pd' instead of 'py'
@jgonsalk
@jgonsalk 8 місяців тому
This is awesome! I generally hated using Excel for analytics because I couldn't get the efficiency of code. This solves a lot of that and will help more folks learn Python tok
@IGqy
@IGqy 8 місяців тому
Really cool. I think this will help automate a lot of stuff and make it easier to aggregate data and unlink from original data unlike the pivot table along with a lot of other stuff. Dealing with more advanced data analysis, i think a proper ide is still preferred as managing the code and reusing the code on many files is still needed, but for smaller quicj things, this is very nice. If they make it so python is edited in a panel by itself, kinda like vba and/or with the ability to sync with git, then we are starting to move 😄 Thanks for a very cool and exciting video!
@AlvinRyellPrada
@AlvinRyellPrada 8 місяців тому
This is truly amazing! can't wait for the the full deployment of Python in Excel for data science. Big fan of Excel - always relevant!! Thank you for sharing this, Leila!!! I am truly screaming as I watch your video!! Embracing Data Science in Excel!!!
@apositron84
@apositron84 8 місяців тому
Haha, it's cool, but screaming with excitement? Maybe not 😆
8 місяців тому
Will they call it Pyxcel?
@OldLion64
@OldLion64 8 місяців тому
Liked! Very critical info. I can see this replacing pivot tables and being integrated into VBA to do certain tasks faster.
@perkihlstrom1761
@perkihlstrom1761 8 місяців тому
This is going to be so good! Great walkthrough :)
@Haessige
@Haessige 8 місяців тому
As a programmer working in IT Security, I am horrified 😂
@lanceandangelamendoza3744
@lanceandangelamendoza3744 8 місяців тому
My thoughts exactly, why with about macros when you can just have the python feature
@globalexcelsummit
@globalexcelsummit 8 місяців тому
This is hugely exciting!
@MrSupernova111
@MrSupernova111 8 місяців тому
Pretty cool! I've been meaning to learn Python for a long time. This might be the motivation I need. Thanks!!
@FreakAzoiyd
@FreakAzoiyd 8 місяців тому
10:30 The chart thing is awesome. Can you use svg or bese64 png inside of it to render pictures. Then you could even animate them with svg to Excel field references. Like make drawings that adapt to the values in excel
@SeamusHarper1234
@SeamusHarper1234 8 місяців тому
This is going to change excel on a fundamental level. The way they integrated it makes it so easy to use for anyone with basic Python skills. Or even with basic Pandas skills.
@ms3862
@ms3862 8 місяців тому
Everything shown here can be done pretty easily without any python or vba. I suppose it gets more useful later on . The one benefit I do is that it can generate outputs with fewer risk of errors
@SeamusHarper1234
@SeamusHarper1234 8 місяців тому
@@ms3862 Yes, the demo stuff can be done without. It doesn't take much creativity to imagine all the stuff that can be unlocked. I'm using Pandas on a regular basis because Excel has it's limits and I maintain a lot of sheets that are on the brink of breaking because of the load of data. It's so well integrated, that it seems much easier than VBA. I can't see how one cannot be hyped about this =)
@thomasnielsen5580
@thomasnielsen5580 7 місяців тому
@@ms3862 It is way quicker with Python. You can scrap Pivot tables and visualisation tools from Excel. Now it's a matter of just writing a few words. If you just use excel to get average values, then of course Python is not a better option.
@mar4kl
@mar4kl 8 місяців тому
Thank you for showing us this, Leila. This is the first time I can remember seeing a popular programming language incorporated into an already popular but proprietary application. (I'm not counting SQL being integrated into the various PC database management systems, because the result of that was too many new flavors of SQL.) A lot of students nowadays are graduating high school and college with Python experience, and Microsoft clearly wants them as customers. If Python had been integrated into Excel 13 years ago, when I had a contract job with a major corporation to work on an excruciatingly complex Excel model (multiple workbooks on multiple network shares with charts, tables and code all over the place and daily mainframe data feeds), I would have been able to accomplish a lot more. I've never programmed in Python, but I've learned a number of programming languages, and those Python libraries' straightforward commands are refreshing to me after dealing with all the noodling around I've needed to do in the Excel interface when I need to do any sort of analysis or regrouping. Of course, your videos help me out a lot with that as well.
@yash1152
@yash1152 8 місяців тому
pandas initial release 2008-01-11; hmm, was pandas that powerful 13 yrs ago in 2010 too 🤔?? > _"If Python had been integrated into Excel 13 years ago"_
@TheJimtanker
@TheJimtanker 8 місяців тому
This is AWESOME! I can think of all kinds of ways I can use this at work to update a lot off our old Excel VBA scripts.
@samvan7787
@samvan7787 8 місяців тому
This opens up a lot of possibiilties for those who know python and leverage its powerful library in Excel. Thanks for this tutorial
@jimiclapton
@jimiclapton 8 місяців тому
Fantastic demonstration of the functionality. I can see the use for quick adhoc aggregations and transformations, however Excel is a sub-optimal environment in which to use Python, especially so if you're a beginner. If you're going to go the effort of learning Python simply import your .xlsx or .csv into an IDE like PyCharm or Jupyter Notebook that is designed for the purpose of iteratively developing your code and creating visualisations etc. This way your code can be structured, sequential and clearly legible to you and others, not just bunched up in the formula bar with you having to resize cells to view a chart.
@jayp5269
@jayp5269 8 місяців тому
exactly
@Javy2Wallz
@Javy2Wallz 8 місяців тому
I hate to be negative, but I agree as well. The great thing about Pandas is automation and being able to work with massive datasets, Excel is really weak in this aspect.
@abal2048
@abal2048 8 місяців тому
Leila, just 6 minutes into your teaching, and I'm already incredibly impressed. I'll definitely be exploring more of your content.
@arkimphiri
@arkimphiri 8 місяців тому
Wow this is amazing I just saw the news a few hours ago and you already have a video. Well done
@venkatiyer7459
@venkatiyer7459 8 місяців тому
for me this video was a magic show ... as I always say "You are a great teacher" ... slow and steadily making others think differently through your wonderful teachings ... thank you so much ... God bless you
@amolnwagh
@amolnwagh 8 місяців тому
We want a whole Udemy course on this. This is what I had always wanted. Wondering if python in excel can take inputs for python variables directly from cell values in excel?
@blzr
@blzr 8 місяців тому
xl("A1")
@keylanoslokj1806
@keylanoslokj1806 8 місяців тому
It definitely can.
@katrinabryce
@katrinabryce 8 місяців тому
@@blzr Would that return a single-cell dataframe or a scalar value?
@blzr
@blzr 8 місяців тому
depends on your range: scalar, vector or martix@@katrinabryce
@tedbadje3430
@tedbadje3430 8 місяців тому
You don’t have to be a Data Scientist to see how quick Python in Excel does summaries of tables. This is fantastic!
@Oscar-bo6ox
@Oscar-bo6ox 8 місяців тому
yes, for quick and easy calculations, great, but for large database processing, definitely a specialised IDE for Python or R, you still have Excel's big problem, working with large databases.
@aniketwanjari2624
@aniketwanjari2624 8 місяців тому
Any ide or python software setup required here Or is it possible in built
@blzr
@blzr 8 місяців тому
For several dozen rows, it's below measurement error. Test on several millions
@AbhinavKumar-uv1ww
@AbhinavKumar-uv1ww 8 місяців тому
For small data set, yes. You don’t have to be a DS. However, in this digital age large data is so common, this will demand the data science/big data skills … so both will co-exist…
@someguycalledcerberus9805
@someguycalledcerberus9805 8 місяців тому
Years of -aca- udemy training, wasted!
@abhig3235
@abhig3235 7 місяців тому
Thank you so much for this video. This is so valuable! I can now go ahead and explore the possibilities of what can be achieved with Python in Excel. Will be looking forward to your next series of videos on this topic. thank you again!!!
@ThisIsMiky
@ThisIsMiky 8 місяців тому
Love it, thanks for the great video and looking forward to the Power Query one you promised!
@alanwilson175
@alanwilson175 8 місяців тому
Looks very interesting. I use python a lot for scientific calculations. The most used modules are numpy, scipy, and matplotlib. By now I probably have more than 1000 functions that I have written. It will be interesting to see how this works with XL.
@trevordennis
@trevordennis 8 місяців тому
So, Excel now has FIVE languages in it to learn. Formulas, VBA, Power Query (M), DAX, and now Python. When are they finally going to add C#?
@tigerbojiteol
@tigerbojiteol 8 місяців тому
Just stick with DAX and Python. No more hassle.
@user-of3jv1yx1q
@user-of3jv1yx1q 8 місяців тому
Oh no, not C#! The only thing in worse condition than MS Office (re: bolt-ons) are Windows Development Tools (and all it's manifestations).
@Chris.Brisson
@Chris.Brisson 6 місяців тому
VBA 8.1 will rule them all.
@alburradasaddam3199
@alburradasaddam3199 8 місяців тому
Very wonderful and the most wonderful of it is your explanation and clarification, all the kindness of a professor
@colorleavestechnology6051
@colorleavestechnology6051 8 місяців тому
Awesome improvement. Now Developers will also love Excel. Thanks for this session.
@veeramanigudiyan
@veeramanigudiyan 8 місяців тому
The start was epic😂
@Microman6502
@Microman6502 7 місяців тому
I remember being excited about Excel 5 because it had VBA macros. Great to see this all modernised!
@jackennis9258
@jackennis9258 8 місяців тому
Hi Leila, excellent video, really exciting development! Do you have any plans to develop a complete course on Python?
@josephyang8236
@josephyang8236 8 місяців тому
This is going to be super helpful. Thank you!
@systembreaker4651
@systembreaker4651 8 місяців тому
Yes we need full course from you for python and excel ❤thanks
@dominicknights4339
@dominicknights4339 8 місяців тому
Agreed
@karinamatvejeva3164
@karinamatvejeva3164 8 місяців тому
Agreed too
@LeilaGharani
@LeilaGharani 8 місяців тому
Thank you for the trust. I would love to make one at some point 😍
@amolnwagh
@amolnwagh 8 місяців тому
@@LeilaGharani eagerly waiting for your course on Udemy
@MaiMai-eo7zk
@MaiMai-eo7zk 5 днів тому
@@amolnwaghthis!!
@katrinabryce
@katrinabryce 8 місяців тому
One type of chart you can do in Python, but can't really do in Excel is heatmaps. Useful if you want to visualise data in two dimensions. For example, during the pandemic, I created a chart that had age in the y axis, date in the x axis, and the infection rate for each date/age pair displayed as a shade of colour from white for 0 to a fully saturated dark colour for highest value. You can put the numbers in a pivot table and do conditional formatting to get something similar, but it doesn't work so well. Also, when you are dealing with millions of rows of data, Python, especially if you use the Numpy library, can be a lot faster. In one example I had, calculation time went from 6 hours on Excel to 10 seconds on Python/Pandas to 0.1 seconds on Python/Numpy.
@alexn4309
@alexn4309 8 місяців тому
Amazing tutorial! Thank you!🎉
@bigdragonmoney
@bigdragonmoney 8 місяців тому
Thank you so much. Loved the video! Super helpful and interesting.
@finansowyexcel1966
@finansowyexcel1966 8 місяців тому
I am impatiently waiting for Python to appear in my version of Excel 365
@chadmace3355
@chadmace3355 8 місяців тому
I've been using python for a while. It started because excel just couldn't handle large data sets. I find this interesting and somewhat useful. Now that I am in python a lot, not sure how often I will jump back to excel. Thank you for sharing!
@philippebrillault1140
@philippebrillault1140 8 місяців тому
Hi Leila, I just started using Python with Excel and I am impressed! I have a question : how do you do to incorporate PY() within a LET() function and how do you pass parameters back and forth ? Thanks for your answer.
@jacksonkimani3336
@jacksonkimani3336 8 місяців тому
Hi @LeilaGharani. Thank you for this amazing ice breaker on how we can use python in excel. This makes learning python even more interesting and fun for data analysis. Following on for more insightful content.
@vijayarjunwadkar
@vijayarjunwadkar 8 місяців тому
Wow! I know R language and have used it with Excel, but Python right inside Excel is something amazing! This will surely be a game changer as combining these two powerful tools will double the power and open up so many possibilities! Thank you Leila, for this wonderful and informative introductory video! BTW, expecting a series on Python from you now, to help us do the magic! 🙂
@nathasyapramudita6312
@nathasyapramudita6312 8 місяців тому
I ditch Python and dedicated myself to be R advance lvl. Somehow I felt betrayed 😥
@Matthew-sh1ln
@Matthew-sh1ln 8 місяців тому
@@nathasyapramudita6312 Python is great to learn alongside R, native Microsoft intergration will exponentially increase the want for it in the job field in the future.
@vijayarjunwadkar
@vijayarjunwadkar 8 місяців тому
@@nathasyapramudita6312 No worries, you can still learn Python (it's lot easier than R) and you will have tripled your skill set, that will fetch better opportunities and returns. Good luck! 🙂
@Javy2Wallz
@Javy2Wallz 8 місяців тому
Unfortunately, this is pretty useless. Better to just learn python with juypyter notebooks, that way you can automate these excel tasks with any size datasets.
@123rockstar2010
@123rockstar2010 8 місяців тому
This is one of my biggest regrets growing up. I should have learned to code. This is so exciting for new Excel users. I am still learning VBA for macros as it has helped me in my work for alot of times. I am hoping to learn more on how Python will be useful in my job. Thank you Leila!
@LeilaGharani
@LeilaGharani 8 місяців тому
No regrets. It's never too late to start. If you know some VBA, learning Python will be really easy for you.
@sultanhanga
@sultanhanga 8 місяців тому
Python is so easy just start
@medasbabu
@medasbabu 8 місяців тому
relatable, i have been VBA guy for long time, despite learning Python I could never code it, but with ChatGPT, I'm able to create python codes easily and have the script running in minutes, so you should also be able to code in Python soon, Good Luck!
@snehashiskumar355
@snehashiskumar355 8 місяців тому
Extremely useful addition to Excel. And you described it beautifully👌. Thanks for this video.
@pestnocturne
@pestnocturne 8 місяців тому
I am grateful for your videos. I have literally learnt excel from you over the years. I always ask anyone willing to learn excel to look for your videos for the easy explanations.
@LeilaGharani
@LeilaGharani 8 місяців тому
I appreciate that!
@TheChugnut
@TheChugnut 8 місяців тому
This is excellent!!!! I love Pandas and Python, and hate M Formulas, so that last tidbit has me very excited indeed. The only thing that could top this is replacing VBA with Python, or proper integration into VS Code! We can only dream.
@user-of3jv1yx1q
@user-of3jv1yx1q 8 місяців тому
Microsoft leadership has no coherent vision. They are slapping everything they can into Office with no real plan. Let's see: we can program in the original Excel Macro language, or VBA (whose development ended years ago), a dodgy API, or JavaScript (never really implemented). We also have Array functions (of {old} and new types--with the same functionality), Lambda functions (still sorta kludgy), and now Python. If they would just completely FINISH the features they already had, we probably wouldn't need many of these bolt-ons. The Excel object model is a nightmare of half-started ideas. The number of bugs that have persisted for 30+ years is truly staggering. Adding Python in cells is not bad in and of itself, but HOW MANY different languages do people have to learn to use this thing anymore? MS is doing this across ALL of their product lines and it's truly a mess--especially for developers!
@MahmudYuldashev
@MahmudYuldashev 6 місяців тому
Totally agree. If Ms continues to improve existing functions like pivot table, you don't need all these mess.
@jajwarehouse1
@jajwarehouse1 8 місяців тому
Can the Python results be referenced from a different sheet in the workbook? Also, can external python libraries be imported, and if so, are they stored within the document for portability? Lastly, are there default macro security restrictions like VBA has or automatic blocks placed on downloaded files the way windows does xlsm files?
@duncanwallace7760
@duncanwallace7760 8 місяців тому
This is going to be very helpful. Excel is such a useful tool, to have python in it is amazing.
@Bill_Woo
@Bill_Woo 8 місяців тому
Nice try, but no way on earth that my time investment in this will net out. It will cost more time learning it than it could possibly pay back. However if it makes you feel better, if a gun is placed at my head and I must use it, THIS is the video I will return to. I do believe this is the least time-expensive, and most well explained, tutorial. But I say again: no way will it be worth it. I'll lose time and money with this feature, given my usage of Excel. (Which is nontrivial. With plenty of customized VBA usage.)
@UTJK.
@UTJK. 8 місяців тому
What you've seen in the video is just scratching the surface. Python is overwhelming more powerful than VBA, so for people like me using it everyday, this is a huge boost in productivity. It's clear that if you already have everything done in VBA and you don't know Python, a conversion is a non sense. But for a new project, if you know Python, with this you have a much cleaner solution. The code is written directly inside the cells, like normal formulas, you can easily read it without having to open a separate window. It can be very useful, not to say you can always mix excel formulas, python formulas, and VBA anyway. This is a dream come true!
@sunnygala7972
@sunnygala7972 8 місяців тому
Hats off to you Leila! You explained it in an amazingly simple and easy to understand language. Just like how you made Power Query and Power Pivot simple for us, I am sure you will do the same justice with Python in Excel too. :)
@LeilaGharani
@LeilaGharani 8 місяців тому
Thank you! I'll try my best :)
@nemoyatpeace
@nemoyatpeace 8 місяців тому
This is really cool! I love programming in python and I love excel. Need to figure out how to make this work for my instances. Excited to play with it!
@AbhaySingh-vc2fk
@AbhaySingh-vc2fk 8 місяців тому
Leila Gharani, Greetings! This video just blew my mind! You've got this knack for breaking down tech with a friendly flair that makes me feel like I'm chatting with a tech guru buddy. Excel and Python teaming up? It's like seeing the Avengers of data analysis unite. And those visualizations? You've made charts the coolest thing since sliced bread. Anaconda in the mix? It's like tech magic behind the scenes. Your insights are like a beacon in the tech jungle. Keep shining, Leila! 🌟🚀
@PriteshRPatel-lr5uh
@PriteshRPatel-lr5uh 8 місяців тому
@Leilegharani. This is a fantastic overview of python in Excel. I've used python via jupyter notebooks for the past 7 years, but now to have this in Excel....potential game changer and cost saver when coupled with power query and even power automate.
@vida1719
@vida1719 8 місяців тому
OMG! What a great feature and as always great explanation!
@tylerhaslam2083
@tylerhaslam2083 8 місяців тому
Game changer! Thank you!! I can't wait to try it out
@lekue_benson
@lekue_benson 8 місяців тому
That was really insightful. I enjoyed it. Thanks
@franklobe
@franklobe 8 місяців тому
What I think is really cool about this is that it makes it possible to do machine learning in Excel. Python has had the ability to create Excel files for a long time with a library like openpyxl, but now instead of sending a .csv file to a machine learning engineer, it would seem that it's possible to import the .py file directly into Excel and pass a Panda dataframe directly into a function in the .py file. This opens up the possibility of doing things like; clustering, classification, and multivariable regression on the fly. I can see data analysts loving this.
@nikolaimikuszeit3204
@nikolaimikuszeit3204 8 місяців тому
Super exciting. Life-changing for someone who really loves to work with Python.
@goldraketub
@goldraketub 8 місяців тому
Great video as usual and very interesting function .. this will revolutionise Excel.. Thank you ..
@infn8loopmusic
@infn8loopmusic 8 місяців тому
Thanks so much for posting this! My favorite language right where I need it 😮
@ExcelTutorials1
@ExcelTutorials1 8 місяців тому
THIS IS AMAZING!! Thank you!! :)
@aryan6536
@aryan6536 6 місяців тому
Very useful for an ex-python developer who ended up having to learn Excel since most users were not comfortable in using a web front end. Easy Peasy stuff, love it.
@pulkitkumar25
@pulkitkumar25 8 місяців тому
Wow this is awesome. Thank you. Subbed!
@mmohsin_92
@mmohsin_92 8 місяців тому
Absolutely Amazing Python transforms the way of calculation in Excel. Thank you Miss Leila Gharani. You taught very well.
@ftdacademy
@ftdacademy 8 місяців тому
So stoked for this! So many opportunities now...
@FastbreaKHere
@FastbreaKHere 8 місяців тому
the fact that created dfs update themselves can come very useful. Usually when you construct a dataframe starting from some datas if you change those datas after creating the df you dont see the df updating accordingly unless you run again the pd.DataFrame( ---) constructor. Here you have the df you create with the xl function updating accordingly.. really REALLY useful.
@alijumaa3959
@alijumaa3959 7 місяців тому
I'm looking forward to your Python Excel course, like the one you offered for VBA in Excel.
@DanBrill
@DanBrill 8 місяців тому
This is fantastic. Will it be possible to use Python to script actions in the workbook the way we can with VB? I'd love to replace VBA with Python.
Excel Time-Savers - 5 Hidden Features for Busy People
14:24
Leila Gharani
Переглядів 337 тис.
Пишу простую, но реальную программу. Python + Excel.
18:48
Клуб дедов-программистов
Переглядів 131 тис.
skibidi toilet 73 (full episode)
09:41
DaFuq!?Boom!
Переглядів 21 млн
Microsoft Copilot - Excel has forever changed
10:05
Luke Barousse
Переглядів 897 тис.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Переглядів 1 млн
I stopped using Vlookup in Excel |  Free Excel Training
4:30
Excel No Work Overtime
Переглядів 4,2 тис.
Don't Use ChatGPT Until You Watch This Video
13:40
Leila Gharani
Переглядів 1,4 млн
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Переглядів 22 тис.
This ~NEW~ Excel Function is Shockingly Powerful!
9:37
Chandoo
Переглядів 227 тис.
How to Make Money with Excel Skills
12:56
Leila Gharani
Переглядів 334 тис.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Переглядів 1,4 млн
How to use Python in Excel - Beginner Tutorial
20:06
Kevin Stratvert
Переглядів 197 тис.
How to Use Excel's New TAKE Function to Impress Your Boss and Colleagues
10:22