Latest / Talk Python To Me / #217: Notebooks vs data science-enabled scripts
Transcript
- 0:00On this episode, I meet up with Rong Lu and Catherine Kampf from Microsoft while I was at Build this year.
- 0:04We cover a bunch of topics around data science and talk about two opposing styles of data science development and related tooling,
- 0:11using notebooks in Jupyter or Python code files and editors like Visual Studio Code and PyCharm.
- 0:17The conversation was a lot of fun and I'm looking forward to sharing it with you.
- 0:20This is Talk Python To Me, episode 217, recorded May 8th, 2019.
- 0:25Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.
- 0:44This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy.
- 0:48Keep up with the show and listen to past episodes at talkpython.fm and follow the show on Twitter via at Talk Python.
- 0:55This episode is sponsored by Linode and Backlog.
- 0:58Please check out what they're offering during their segments. It really helps support the show.
- 1:01Rong, Catherine, welcome to Talk Python.
- 1:04Yeah, thank you. Thanks so much for having us.
- 1:06Yeah, it's great to be here with you and literally here with you at Microsoft Build at the conference doing some live recording.
- 1:14So, quite cool. How's the conference going?
- 1:17It's been great. I'm a little sad because it's so sunny out, but the stuff inside is great too.
- 1:21Yeah, really exciting news happening here and you see a lot of people getting excited.
- 1:26Yeah, is this an event that you've been planning for for a long time?
- 1:30Yeah, every year.
- 1:31We have the back-to-back PyCon to build.
- 1:34It's been a lot of conferencing, a lot of fun announcements, a lot to keep up with, but also met a lot of great people.
- 1:39You were also at PyCon, right?
- 1:41Yes.
- 1:41Yeah, that's pretty awesome. What did you think of PyCon?
- 1:43It's great. It was my first PyCon.
- 1:45So, pretty cool out there and then see the community and meet people.
- 1:49So, it was my first sort of community-run conference.
- 1:53I've only been to Microsoft ones in the past, so it was very cool to see that and have more interaction with Python users and Notebooks users.
- 2:01Yeah, that's cool. I think both the conferences are pretty special and really nice and I enjoy going to both of them, but they're really different.
- 2:07Yeah, definitely.
- 2:09For people who haven't gone to Microsoft Build, the experience walking around here is like all this cool stuff and there's like robotics and other kinds of neat things going on, but it's mostly put on by the different Microsoft teams, right?
- 2:22Like there's a section of like the Visual Studio for Mac people and you can go talk to the people that work on it and that's great.
- 2:28And you go to PyCon and it just doesn't have like that centralized structure, right?
- 2:33It's just like a thousand flowers blooming and just, you know, whatever's happening is happening out there.
- 2:38So, it's a little more chaotic, but, you know, a little more independent as well.
- 2:42I don't know. I think they're both fun and they're both a cool experience.
- 2:45There's some nice surprises as well at PyCon.
- 2:48Like as I walk through the booth area, like at Build, you kind of expected all these Microsoft Teams there, but at PyCon, you see different companies showing up there because they use Python for development.
- 3:01Yeah.
- 3:01And like really unexpected companies there, but it's fun.
- 3:06It's interesting.
- 3:06Yeah, it's super interesting.
- 3:07Very different.
- 3:08Yeah, you know, one of the parts I really like is the first two and a half days, like the opening night and then the first two days are the Expo Hall days.
- 3:18You know, we've got a booth.
- 3:19You all had a booth.
- 3:20Were you at the booth?
- 3:21Yeah, I was.
- 3:22Many hours at the booth.
- 3:23Yes.
- 3:23The booth is a blessing and a curse.
- 3:25I was at a booth as well.
- 3:27I have been for the last couple of years and it's great.
- 3:30You meet so many people, but also like you don't get to experience as much of the rest of the stuff going on.
- 3:34But then the next day they take that down.
- 3:37It's the poster section and then the job fair.
- 3:39Right.
- 3:39And the job fair, I think it's pretty revealing because you can walk along and see like all these companies are hiring Python developers, data scientists, web developers, whatever.
- 3:48And it's super clear and obvious kind of like what they're up to.
- 3:51So you can kind of really put your finger on the pulse of the community by just walking through the job fair.
- 3:57Yeah, it was super crowded.
- 3:58Yeah.
- 3:59So the community is super engaging and super fun.
- 4:04Yeah.
- 4:04Yeah, absolutely.
- 4:05I think that's for sure.
- 4:06Both of these events were super cool.
- 4:08And I was glad we were all at them.
- 4:10That's great.
- 4:11So let's start with your story.
- 4:12And I guess, Ron, we'll start with you.
- 4:14How did you get into programming in Python?
- 4:16Actually, about 10 years ago when I was in college, I actually majored in data mining.
- 4:21And then back then I learned C.
- 4:24Okay.
- 4:24But after I graduated, I joined Microsoft.
- 4:26I mostly worked on C# related developer tools and then moved to C++.
- 4:31And just recently, I just moved from C++ team into the Python team.
- 4:36It's like, oh, these people are talking about Python.
- 4:38I got to see what's going on there.
- 4:41And then, of course, my own knowledge from 10 years ago about data mining no longer applies.
- 4:47Like so many new things happening in the AI, data science world.
- 4:50And this is super exciting.
- 4:52Sure.
- 4:53And that's why I got into the Python team.
- 4:55It was like, hey, maybe I can use some of my own knowledge here.
- 4:58But a lot of learning for me, actually, given how things have moved.
- 5:02Yeah, I'm sure.
- 5:03I mean, it's changing so fast.
- 5:05What was your impression of coming into Python from like these more statically typed compiled type languages and all that?
- 5:13Definitely feel like the level of experience required to get started is very different coming from a C++ world.
- 5:21And how I see like all these users we have and even younger kids, they start to learn about programming.
- 5:29Python is the first language they learn and up to like people are just using Python for various different projects for real life.
- 5:37And that's super cool.
- 5:38And that's a lot of applications in real life that could change people in their daily life using the power Python.
- 5:45Like earrings, predicting different things.
- 5:51Yeah.
- 5:51Did the white space drive you crazy at first?
- 5:53A little.
- 5:54And now?
- 5:55Now, getting better.
- 5:57Good.
- 5:58Good.
- 5:59But yeah.
- 6:00Cool.
- 6:00Catherine, how about you?
- 6:01I kind of had a similar experience.
- 6:02I started programming, just randomly took a course in my high school and then ended up majoring in computer science.
- 6:08And that was all in C++.
- 6:10And I remember one of my years I ended up in an AI course.
- 6:14And the course was mainly around Python.
- 6:16And I remember I like hated Python at first.
- 6:18I was like, this feels too easy.
- 6:20What's going on here?
- 6:21Someone's tricking me.
- 6:22I don't know what's going on.
- 6:24This is no.
- 6:25I want my C++.
- 6:27And then over the course of the semester, I just fell in love with Python.
- 6:30And then when I started at Microsoft, I was exposed more to the big data landscape.
- 6:34So using things like PySpark and getting exposure to notebooks there.
- 6:37And then, yeah, I've just, Python has very much grown on me.
- 6:40My friends from school always laugh because they're like, remember when you hated it and now you're on the Python team?
- 6:45Life takes weird turns.
- 6:47Yeah.
- 6:47Yeah.
- 6:48Yeah.
- 6:48For sure.
- 6:48It's like, no, I want to use a real language.
- 6:50Right.
- 6:50Compiling and linking and headers.
- 6:53Come on.
- 6:54Space doesn't matter.
- 6:54So my cool.
- 6:55That's right.
- 6:56I'll write it all in one line.
- 6:57Yeah.
- 6:59That's pretty cool.
- 6:59I love it.
- 7:00So, Ron, you both work at Microsoft, but you don't work on the same projects or the same team, right?
- 7:07We are on the same team.
- 7:07Same team.
- 7:08Different projects.
- 7:09Different projects.
- 7:09Okay.
- 7:09So, Ron, let's start with you.
- 7:11What do you do day to day?
- 7:12Yeah.
- 7:12So, I am a program manager on the Python team at Microsoft.
- 7:15Primarily, I'm focusing on building developer experience around data science and machine learning inside Visual Studio Code.
- 7:23Visual Studio Code is our lightweight cross-platform editor.
- 7:28And it's been pretty good for Python general development already.
- 7:31But now we're adding a lot of new things around how to make it easier for people who do data exploration, analysis, and machine learning.
- 7:40How do we bring all those power of Jupyte Notebooks into an editor so you can use it for everything you do?
- 7:49So, there are people who prefer an editor versus notebooks.
- 7:52That has been an ongoing debate in the community.
- 7:55And that's definitely there are personal preference.
- 7:59But we also see a place where VS Code can be the place where you take your notebook file after you're done with your experimentation and you're ready to turn your code into a production code.
- 8:11And this is where you can kind of bridge the two worlds together.
- 8:15And VS Code can play a role in that.
- 8:18So, that's the new area that we're investing in.
- 8:20That's what I've been working on since I joined this team.
- 8:23I think it's cool that you're working on that because I feel like there's a bit of a divide.
- 8:26Not in a negative way, but there's certainly people that will open up a notebook in Jupyter, JupyterLab, something like that, to do exploratory data.
- 8:34And there's people who write production code that's structured with tests and coverage and all of that stuff.
- 8:41And going between those, I don't know what people do today, but it feels like, well, you take the notebook and you just copy bits over.
- 8:47So, we're trying to hopefully minimize the manual copy and paste between the two.
- 8:56So, when you have a notebook ready to turn into production, we can help you import a notebook into Python code, in VS Code directly, so you don't have to do all the work yourself.
- 9:05And then, once you're in VS Code, of course, you get all the editing features that you expect.
- 9:09There's IntelliSense refactoring, debugging, everything in there, so you can live in a developer tool to finish your developer work.
- 9:17Yeah, that sounds awesome.
- 9:18And Catherine, how about you?
- 9:19You're on the other side of the design.
- 9:21Yeah.
- 9:21We fight.
- 9:22We fight.
- 9:22She is on the notebook side.
- 9:26Every day, 8 a.m., wrong, and I face off to see who's going to win that day.
- 9:30So, I'm a program manager on the Azure Notebooks team, and Azure Notebooks is basically an Azure-hosted, free, no-setup-required Jupyter Notebooks environment.
- 9:39So, in my day-to-day, I spend a lot of time talking to customers, learning about their experience, whether it be in an editor, like VS Code, or in notebooks, and learning, you know, how we can make that better, and what our next generation of Azure Notebooks should look like to enable every set of scenarios, from educators to enterprise data scientists, and learning about any features or things that they need to be happy on Azure Notebooks.
- 10:03Yeah, awesome.
- 10:04That sounds like a really fun project.
- 10:06It's a blast.
- 10:06Yeah, I love it.
- 10:07Yeah, cool.
- 10:08So, I want to talk a little bit about just kind of notebooks in general and find out where you think they're really useful or, you know, what's sort of coming next in it.
- 10:17And I just want to give a quick shout-out to an article on The Atlantic, I think, which I've talked about a few times, but it's called The Scientific Paper is Obsolete, and Here's What's Next.
- 10:27And it's got, like, a lot of a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper.
- 10:46And I think that's a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper.
- 10:53And I think that's a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper.
- 11:06And I think that's a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper.
- 11:13I think that's a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper.
- 11:20And I think that's a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper, and it's got a lot of people in the paper.
- 11:32So there's scenarios like that, all the way to, you know, we have a security team at Microsoft who's building their anomaly detector and threat detection, threat hunting, all within notebooks.
- 11:43So I think it's just super cool to be a part of and see the vast array of use cases for notebooks.
- 11:49Yeah, it sounds like maybe it's not even really shaken out, right?
- 11:52Yeah, exactly.
- 11:53We kind of know what the use case for code looks like, right?
- 11:55Like regular executable files, you know, websites and whatnot.
- 12:00But I feel like with notebooks, there's just all these different attempts to make use of them.
- 12:05Right.
- 12:06You know, could you treat them as like units that can be combined as like a function or something, or like are they a paper that's better?
- 12:12Yeah.
- 12:13Yeah.
- 12:13Which is right.
- 12:13Yeah, it's cool to see.
- 12:14I mean, we get within our community, it's easy to see the applications and data science, but then it's always great to hear outside perspectives, people coming from different languages or different areas of technology and everything,
- 12:25and thinking about how they can use this as a platform for experimentation or sharing work and collaborating.
- 12:31So it's very, very inspiring.
- 12:33Yeah, yeah.
- 12:34That's pretty awesome.
- 12:34Yeah.
- 12:35Wrong?
- 12:35Absolutely.
- 12:35I think the interactivity is what Jupyter is most powerful at.
- 12:41Like the fact that we can turn a static report or paper into something that everybody can go and execute.
- 12:48That's super cool.
- 12:50Not only we have seen a lot of people using notebooks for teaching, because that's like where organized documentation plus real code.
- 12:58Yeah.
- 12:59It's super easy for a teaching setting.
- 13:01And also we use that like internally as well as we report numbers and build dashboards.
- 13:07What if everything is interactive and other people can go and pivot the data independently without having to go into like a pile of code.
- 13:16So that's really, really, really powerful.
- 13:19And that's why it's so popular in the data science community.
- 13:22Absolutely.
- 13:23A great thing to have.
- 13:25And I think that adoption is going to just keep going, given how easy it is to get started.
- 13:30And I think one of the things you mentioned earlier, just reproducibility.
- 13:33I think that's one of the things notebooks simultaneously does really well and also poorly in terms of like environment sharing.
- 13:41And that's something we've been thinking a lot about just in our platform.
- 13:43You know, if I'm sharing a notebook with wrong, how can I make sure that dependencies get so complex?
- 13:48How can I make sure that everything wrong has everything she will need to run this notebook?
- 13:53And even with data sets, you know, if you share a report that connected to a database that was once storing, you know, this data from May 2016.
- 14:02And now it's June 2019.
- 14:03You know, how do you handle those cases?
- 14:05Right.
- 14:05And the report says, you know, such and such and like mark down below, like in a cell below it.
- 14:10But it's like the data is not the same anymore.
- 14:12Right.
- 14:12Right.
- 14:12That's actually, that's an interesting idea.
- 14:14Right.
- 14:15The life cycle of it.
- 14:16Right.
- 14:16Yeah.
- 14:16I think that's one thing that Azure notebooks could potentially help because the fact that it runs in the cloud and then we could potentially have pre-config the environment.
- 14:25So you can make sure your notebooks will always produce the same results.
- 14:29Yeah.
- 14:30So right now you can use like environment setup scripts and import your requirements.txt or environment config.
- 14:35But in the future, we definitely want to make that as seamless as possible.
- 14:38So I can just share whether it be an Azure notebooks project or a GitHub repository with you that has my requirements.
- 14:43So it'll just be in a container and everything's good to go.
- 14:46That's pretty cool.
- 14:46I mean, even with the requirements, the .txt file, right?
- 14:50It might say we need these things to run this notebook, but they might not be pinned.
- 14:54Right.
- 14:54Right.
- 14:54And so like you run it again a year later, one of those things has become incompatible with like the code that was written or something like that.
- 15:01Right.
- 15:02It's a challenge.
- 15:03And as a data scientist, you probably don't think about like, oh, I better like pin the versions of my dependencies.
- 15:08You're like, oh, look, it's a graph.
- 15:09It's working.
- 15:10Yes.
- 15:10Don't change it.
- 15:12Don't touch it.
- 15:12That's my version.
- 15:14But of course, later on, if the package has newer versions, then you have to upgrade your notebook to make sure it still runs and stuff like that.
- 15:21It is kind of a pain to manage.
- 15:23It's pretty tricky.
- 15:25So I want to dig in more to Azure Notebooks, but like let's, you said there's like this battle you all do at age.
- 15:30So I think it's Ron's turn to like say a little bit about like, if not notebooks, if it's going to be more like code editor style of work, but still in the data exploratory way, you talked about this other thing that you're doing.
- 15:45What's that look like?
- 15:45Yeah, essentially to summarize what we have done is we brought the power of Jupyter Notebooks into VS Code.
- 15:52So imagine, so today in Jupyter Notebooks, you can run a piece of code and get your results right away, whether it's a data frame or it's a plot or just text, markdown.
- 16:04And imagine you can do all that inside VS Code.
- 16:06In a slightly different view, but you get the same results.
- 16:10Is it actually the same format, the IPYNB file?
- 16:14Or is it something different?
- 16:16So actually, so at the moment, the scenario we support is you work with Python scripts.
- 16:21So once you have your Jupyter Notebooks ready, you're ready to import, we grab all the code in there and put everything into a Python file.
- 16:28So you're literally working with a Python file.
- 16:31Right, just a .py file.
- 16:32We have converted it into PY.
- 16:35Yes.
- 16:35So the idea is, hey, this is really an editing centric experience.
- 16:40And the fact that you can visualize all those things like plots and data frames and all that, that's like an add-on bonus.
- 16:46But you are really working with...
- 16:48Yeah, and do you have like a demarcator for the different cells?
- 16:51Yes.
- 16:51Like a double hash or something?
- 16:53Right.
- 16:53It's single hash.
- 16:55Single hash, okay.
- 16:55No hash percent percent is the magic command.
- 16:58Okay.
- 16:59Not command, comment style, special comment you can put in Python file.
- 17:03And then we can recognize, oh, this is a cell.
- 17:05And then we do magic things.
- 17:07Okay.
- 17:08So we'll visualize, like, kind of visually we'll highlight those cells in the code editor.
- 17:13So you kind of get a feel of, like, Jupyter notebooks.
- 17:16But then you can also run single cell using shift enter.
- 17:20Like, that's the key that people use, shift enter.
- 17:24Yeah, you can do the same in VS Code.
- 17:26Okay.
- 17:26And you get the same results.
- 17:28We show all the results in a separate window in VS Code that's separate from your code.
- 17:34That's just how the design.
- 17:36We decided to go with that design.
- 17:38But there's no reason we can't show results in line because we have got some requests around that.
- 17:44Right, right.
- 17:45So we're trying to bring the two together.
- 17:47I think there are very different users who want different things depending on their background.
- 17:54People coming from Jupyter notebooks are more familiar with inline results.
- 17:59But those who come from software engineering background that I used to work with editors and cofiles,
- 18:05they're more like, oh, I just wanted something on the side.
- 18:08So I can see all the history, like all the results.
- 18:11I can always go back.
- 18:13So nothing is getting replaced in line.
- 18:15But they want more of an editor experience.
- 18:17Right.
- 18:18That's more of an editor experience.
- 18:19So I think that we just provide different options for people who come from different backgrounds.
- 18:24So you can pick if you want a notebook, if you want a notebook style in VS Code, you can do all that.
- 18:29This portion of Talk Python To Me is brought to you by Linode.
- 18:34Are you looking for hosting that's fast, simple, and incredibly affordable?
- 18:37Well, look past that bookstore and check out Linode at talkpython.fm/Linode.
- 18:43That's L-I-N-O-D-E.
- 18:44Plans start at just $5 a month for a dedicated server with a gig of RAM.
- 18:49They have 10 data centers across the globe.
- 18:51So no matter where you are or where your users are, there's a data center for you.
- 18:55Whether you want to run a Python web app, host a private Git server, or just a file server,
- 18:59you'll get native SSDs on all the machines, a newly upgraded 200 gigabit network, 24-7 friendly support,
- 19:07even on holidays, and a seven-day money-back guarantee.
- 19:09Need a little help with your infrastructure?
- 19:11They even offer professional services to help you with architecture, migrations, and more.
- 19:16Do you want a dedicated server for free for the next four months?
- 19:19Just visit talkpython.fm/Linode.
- 19:22Well, you'll have to help me out with this one because I haven't done a lot of teamwork on notebooks,
- 19:28but I hear that merging notebooks can be challenging, especially if someone's rerun a cell and it has a new output.
- 19:36Oh, yeah.
- 19:37Right.
- 19:37Because it's called an API and it's like caught in the weather, but they ran it and the weather's now different.
- 19:43Yeah.
- 19:43And so it's like a merge conflict and stuff like that.
- 19:46This is a problem?
- 19:47This is a problem, yeah.
- 19:48The way notebooks are stored in IPYMB is just kind of a JSON file.
- 19:53So it stores, you know, the output and specific metadata about your file as well.
- 19:58So you can go and change one line and you'll suddenly, you know, try to merge it and you'll see eight lines or like 80 lines and everything's moved around.
- 20:06So this is, yeah, one of our big focus in the near future for Azure notebooks is
- 20:10how do you make sure that source control is as easy as possible for notebooks?
- 20:14And, you know, we were just talking to a user last week who was like, we tried to use GitHub with notebooks, but then it got too complex.
- 20:20So we all just had, you know, they were a team of four.
- 20:22They all created their individual notebooks.
- 20:24And then in the end, one person was tasked with copying the bits and pieces that were good.
- 20:27It's your job to make the final notebook.
- 20:29Yeah, you know, they got the short of the stick.
- 20:31Yeah.
- 20:32Uh-huh.
- 20:32So, you know, we were talking to a bunch of users, as I said, like that to understand not just having GitHub integrated right here,
- 20:40because that doesn't solve the issue with the formatting of notebooks and that still doesn't make it perfect.
- 20:44But making sure that we have a complete, super easy end-end experience for that problem in the notebooks world.
- 20:50It sounds tricky.
- 20:51And it sounds like the code thing that you guys are doing maybe sidesteps that.
- 20:55Right.
- 20:55Yeah.
- 20:56We tried to solve that by avoiding using notebook files.
- 21:00That's why we convert everything into a PIE file.
- 21:03Now you can use source control and everything around it.
- 21:06It's just plain code.
- 21:07Right, and the output goes somewhere else.
- 21:08Yes.
- 21:09And it's not part of the diff or whatever.
- 21:11Right, right.
- 21:12But you can actually export the results as a notebook file if you want to go back.
- 21:17Like if you want to share the results with someone, send someone a notebook file.
- 21:21So we joke that wrong and I fight, but we work really closely together because so many scenarios are,
- 21:27I explore in notebooks.
- 21:28Now I want to build a .py file and VS Code.
- 21:31And maybe I make some changes that I actually want to now share that as an updated notebook.
- 21:35We work very hardly to make that end-to-end complete scenario that's super easy.
- 21:40Yeah, that's cool.
- 21:41I guess while we're on the subject, maybe we could talk about like collaboration.
- 21:45If I'm working on an Azure notebook, I go over there.
- 21:48Can I share that kind of Google Docs style?
- 21:51With collaboration?
- 21:52Not yet.
- 21:53We're thinking about how we could maybe leverage something like VS Code Live Share,
- 21:56where you could do live sharing with individual people and watch them edit all within the same document.
- 22:01But this is something that has come up in a few notebooks products before and then sometimes been rolled back
- 22:07because it's not super easy with the formatting.
- 22:10But yeah, so right now in Azure Notebooks, you can share a notebook publicly and you can clone it.
- 22:15And we can collaborate that way, but not yet with the live co-editing.
- 22:18Yeah, cool.
- 22:19That's something you can do in VS Code with the Visual Studio Live Share feature.
- 22:22Yeah, maybe people don't know about that.
- 22:24I did talk to Dan Taylor in the previous episode, but maybe people didn't hear so.
- 22:28Live Share enables real-time co-editing and co-debugging across different machines or across different OS.
- 22:35So the idea is any number, I guess up to 30 at the moment, any number of developers can collaborate real-time.
- 22:45And it's not just screen sharing.
- 22:47It's real session share, being shared.
- 22:49So anyone can make changes to the same code base and everybody else can see it and you can run the code and debug and everyone else can see that too.
- 22:58So essentially you can encourage a lot of scenarios around like pill programming or just remote troubleshooting.
- 23:07And we also see like that being used in classroom settings too.
- 23:10Like a teacher is hosting a session with 30 students looking at the same thing.
- 23:16And that's pretty interesting.
- 23:17That actually generated a lot of interesting scenarios.
- 23:20Yeah, I bet it did like office hours, but I'll help you by just being on your system basically, right?
- 23:26Yeah, absolutely.
- 23:27So we actually extended that functionality beyond the basic support.
- 23:32So now we have added the Jupyter support on top of Live Share as well.
- 23:36So now you can imagine you're working on your notebook, you want some help and somebody else can connect to your session, you can run a cell.
- 23:45And both of your machines are going to see the plots, the data frames and everything the same on the screen.
- 23:51So that's pretty cool.
- 23:52Yeah, that seems super cool.
- 23:53Like one of the problems, of course, especially I think in data science would be the actual data, right?
- 23:59Like if you have a gigabyte of data and then you're talking to that from your notebook or from these like notebook-like PyFiles, it's one thing to say, well, yeah, you can just grab the notebook or grab the Python file out of GitHub.
- 24:11But then there's a gig of data, you got to get to them somehow, right?
- 24:15So being able to like connect in and just sort of run in place would be cool.
- 24:19Yeah, actually, everything happens on the host machine.
- 24:21Meaning if the guest machine doesn't have the same setup, same environment setup, that's okay because nothing is required on the guest machine.
- 24:31You literally just need VS Code installed.
- 24:34And then all the like building and IntelliSense debugging and all the packages, environment settings, everything is streamed from the host machine.
- 24:43So you can literally see everything exactly the same.
- 24:45Yeah, that's really nice.
- 24:46You know, I have some friends who did a lot of paired programming.
- 24:49It was always, well, let's set up a virtual machine and like do a shared remote desktop so we can both type or other like weird things.
- 24:55Yeah, it's a lot of work to get us set up.
- 24:58I'm really excited about this.
- 24:59This is cool.
- 25:00And how about on Azure Notebooks?
- 25:01Can you like, if I have a gig of data, can I like upload that in there?
- 25:05Like what's the story with the data backing them?
- 25:07Yeah, so you can either store things locally in Azure Notebooks within your project.
- 25:12And so if you cloned it, you'd clone that data with and none of that's going to your local machine.
- 25:16So you don't have to worry about those things.
- 25:18It's all Azure hosted.
- 25:19It happens really quickly.
- 25:19The cloud is fast.
- 25:21So yeah, you can also, you know, connect to an Azure Blob store.
- 25:25So for instance, in the demo Ron and I are doing today, we put a bunch of pet images that we're classifying in a Blob store and we pull them down in Azure Notebooks and then send it out and test it on our web service from there.
- 25:36Yeah, that's cool.
- 25:37I guess that would be the most cloud natural cloud native sort of solution is we'll put it in like cloud storage and then talk to it or read it or write it.
- 25:44Right, right.
- 25:44Yeah, okay.
- 25:45Yeah, that's pretty awesome.
- 25:46So I know that Visual Studio Code is free, right?
- 25:50Free open source and so on.
- 25:51Yes, everything we do here.
- 25:53The Python extension and Jupyter support is part of the Python extension, which is also all free at open source.
- 25:59So I don't need to install anything else.
- 26:01It's just like when the Python extension updates itself, then magically.
- 26:05It's all in there.
- 26:06It's in there.
- 26:06Okay, super cool.
- 26:07What about Notebooks?
- 26:08Notebooks is free.
- 26:09Okay.
- 26:10You can, you know, we let you run for free on our hosted compute.
- 26:14You can connect to an Azure VM if you want a more beefy machine, GPUs, etc.
- 26:20You can connect to an Azure VM, in which case those would be paid.
- 26:23Right, so I would pay for like a fancy VM that has GPUs and then I would talk to it?
- 26:27Yes, exactly.
- 26:28How does that work, right?
- 26:29Like instead of, I wouldn't just go to my VM I set up and just like pip install Jupyter and do stuff there, right?
- 26:36Like it sounds like it would be different.
- 26:37Yeah, so we actually use something called a data science virtual machine in Azure.
- 26:41And with that, Jupyter's already installed there.
- 26:44So from Azure Notebooks, you just, we have an easy compute picker that'll automatically populate with the list of your data science virtual machines that you have access to.
- 26:52You just click on it, hit run, and everything just works.
- 26:55And you're running your notebook on that VM.
- 26:57Yeah, that's cool.
- 26:58Are there like scientists and companies and stuff using that a lot to do cool stuff?
- 27:02Yeah.
- 27:02We have a bunch of companies as well as education, research.
- 27:06We see a lot of researchers using it, especially because for the free classroom settings, people use that a lot.
- 27:12Yeah, that seems pretty cool.
- 27:14One of the things I saw on the Azure Notebooks that I thought was kind of cool is a lot of different languages supported.
- 27:20Yes.
- 27:21Yeah, so what languages are, can I run there?
- 27:23I mean, there's Python, obviously.
- 27:24So Python 2 and 3, and then Fsharp and R.
- 27:28Okay.
- 27:29So Fsharp is kind of surprising, right?
- 27:30Fsharp is like a functional .NET programming language, which I haven't really done very much with.
- 27:36But what I didn't see there was Csharp.
- 27:38And I figured if you're going to have Fsharp, maybe you would also just throw in Csharp for the fun of it.
- 27:42Like, that's kind of interesting.
- 27:43Why not?
- 27:43It's something we're thinking about.
- 27:45We haven't, you know, we see so much of our usage is Python.
- 27:48So from that, we really focus on making that our optimal experience.
- 27:52And that's where most of our energy goes.
- 27:53But we definitely do hear requests every now and again for Csharp.
- 27:58And it's one of those, similar to what I was talking about earlier, where you see so much Python usage with notebooks, but there's so many other scenarios.
- 28:04And Csharp is a perfect example.
- 28:06You know, how can you experiment with Csharp on notebooks?
- 28:08So something we love to do, just haven't done yet.
- 28:11Yeah, yeah, sure.
- 28:12No, I mean, I think definitely focusing on Python and Python 3, that's like the sweet spot, right?
- 28:17Of course.
- 28:17But just, yeah, the Fsharp being there kind of stood out to me.
- 28:21So if I'm building these notebooks or even with VS Code, like, what are some of the other things in Azure that people are using and connecting to?
- 28:30Like, I know there's a bunch of other data science, machine learning stuff going on there.
- 28:33Oh, yeah.
- 28:34What are some of the cool scenarios?
- 28:35So the very basic thing we can start with is definitely just beefy machines, right?
- 28:40Yeah.
- 28:40Give me some GPUs.
- 28:42Right, GPUs, faster machines.
- 28:43And then, so on top of that, Azure provides what we call data science VMs.
- 28:49These are, think of those as VMs pre-installed with, like, data packages pre-installed.
- 28:54So when you go there, everything is already there.
- 28:56Like, Jupyter Notebooks is installed.
- 28:57All those packages are already there.
- 29:00So you can definitely connect to that.
- 29:01We have Windows.
- 29:02We have Linux.
- 29:03Different OSs, depending on what you want.
- 29:05So that's kind of the fairly common use case of Azure resources.
- 29:09Of course, you can use storage if you want to store data there.
- 29:12So you can do all that already.
- 29:15On top of that, Azure also provides a service that's machine learning specific called Azure Machine Learning Service.
- 29:22It is a comprehensive set of services that covers the entire workflow in machine learning.
- 29:28So starting with data.
- 29:29So Azure Machine Learning Service can help you manage data.
- 29:33Like, we provide what we call a data store, which is part of the service.
- 29:37So you don't have to manage your storage separately.
- 29:40Machine Learning Service knows where to find your data for training, for example.
- 29:44I see.
- 29:44It's probably, you don't have to, like, use the blob storage API.
- 29:47Yeah, and then you figure out how to connect to that thing, right?
- 29:50Yeah, exactly.
- 29:50So Azure Machine Learning Service is part of the whole world.
- 29:52The machine learning service manages the whole world for you.
- 29:55And then moving on, of course, for training, you need more compute.
- 29:58Like VMs we talked about.
- 30:00So Azure Machine Learning Service can help you manage compute as well at scale.
- 30:04So you can say, I want 50 machines, up to 50 machines, but scale them back down if I'm not using them.
- 30:12Which is the best part because I'm terrible at controlling my costs.
- 30:15Right.
- 30:15Scale down to zero.
- 30:16Yeah, scale down to zero.
- 30:18But you can scale up to as many as you want pretty fast.
- 30:22Yeah, that's cool.
- 30:22And that's good that if you forget.
- 30:23Right.
- 30:24Yeah.
- 30:24Which I always do.
- 30:26Yeah, you won't spend all your money.
- 30:27Right, right.
- 30:28Especially when they're like, you know, you have like a 16-node GPU cluster.
- 30:32Right.
- 30:32Keep them running for days.
- 30:34That'll be...
- 30:35Yeah, it's a big bill.
- 30:36Yeah.
- 30:36So it also helps you manage your training jobs.
- 30:39So you have different training runs and you have different results you want to keep around.
- 30:45So Azure Machine Learning Service can help you manage all that.
- 30:48So for example, you have one experiment that has like 100 repeated runs.
- 30:52Each run has different results.
- 30:54And at the end of a run, you generate a different model file.
- 30:57So that's all being stored as part of a service.
- 31:00So you can always go back, look at a model and go back and say, oh, this is the run I did that got to this model.
- 31:07So you can always trace back.
- 31:09So that's all managed.
- 31:11And then of course, once you have the model at the end of training, you can download it to local and do whatever you want with it.
- 31:17Right.
- 31:17But also you could have the Machine Learning Service manage it for you.
- 31:21Imagine if you have multiple models and you have multiple versions that becomes a nightmare to manage.
- 31:27So you can have Machine Learning Service to manage all that in a central location.
- 31:32Not only that, but also once you have that registered with the service, it's super simple to turn the model into a runnable service.
- 31:39Like literally, we can do that in five minutes.
- 31:41That's cool.
- 31:42Turn that into a service that's running in a single container that Azure can spin up for you fairly quickly.
- 31:48Really, five minutes, everything's done.
- 31:50Then you can start using this model already.
- 31:52So you talked about this pet image.
- 31:54Yes.
- 31:54So what are you trying to find from these pet images?
- 31:58Yeah.
- 31:58So the end result is basically you can send our web service an image of a pet, cat or dog, not like an obscure pet.
- 32:05Not a lizard.
- 32:05Yeah.
- 32:06And our model will send back probabilities of different breeds.
- 32:11So if you send a golden retriever, I had my roommate wanted to test it with her golden retriever from home.
- 32:16So send that.
- 32:16And it got 99.7% confident that it was a golden retriever.
- 32:20That's awesome.
- 32:21Yeah.
- 32:21So you could do that like with this thing she's talking about, right?
- 32:24Yeah.
- 32:24You turn it up and you say turn it into a service.
- 32:26Yeah.
- 32:26And then it's like a HTTP post an image to it or something.
- 32:29And then it says, here's a JSON result.
- 32:31Yeah.
- 32:32Exactly.
- 32:32So we're going to talk about all that in our build talk.
- 32:35Yes.
- 32:36Oh, yeah.
- 32:36Which is now available online at the time of this podcast.
- 32:39Yeah.
- 32:41We can put a link to it in the show notes actually thanks to the power of time travel and recording
- 32:46and all that.
- 32:47This portion of Talk Python To Me is sponsored by Backlog from NewLab.
- 32:52Developers know the importance of organization and efficiency when it comes to collaborating on a team.
- 32:57And Backlog is the perfect collaborative task management software for your team.
- 33:02With Backlog, you can create tasks, track bugs, make changes, give feedback, and have team conversations right next to your code.
- 33:08You track progress with features like Gantt and Burndown charts.
- 33:11You document your processes right alongside your wikis.
- 33:15You can integrate with the tools you use every day like Slack, Jira, and Google Sheets.
- 33:18You can automatically register issues from email or web form submissions.
- 33:22Take your work on the go using their top rated mobile apps available on Android and iOS.
- 33:27Try Backlog for your team for free for 30 days using our special URL at talkpython.fm/backlog.
- 33:33That's talkpython.fm/backlog.
- 33:38You know, one thing that I saw when I was going through your website that I thought was super cool was this LIGO project.
- 33:45So, you know, Python has been at the center of a bunch of super cool science stuff, right?
- 33:51Like, Kyle Cranmer and his team did a bunch of stuff with Python around the Higgs boson discovery.
- 33:57There was Dr. Katie Bowen and the black hole picture.
- 34:02And then the LIGO experiment, which is detecting, like, you know, I still just don't have my mind around, like, general relativity.
- 34:09But, like, the space-time, you know, with, like, the curvature of gravity and all that.
- 34:14And so, the idea is if, like, there's enough of a disturbance in it, it should have a wave, right?
- 34:21And, you know, Einstein predicted that.
- 34:23But just recently, the LIGO project detected black holes colliding and actually captured that.
- 34:30And, you know, that was Azure Notebooks, apparently.
- 34:33Yeah, they do use Azure Notebooks.
- 34:35I'm not sure if it was used for the specific black hole collision.
- 34:38Yeah, yeah, yeah.
- 34:39They do use it, yeah.
- 34:40I think it's just so cool that Python and Notebooks, in particular, seem to be showing up around all this, like, super cool science.
- 34:48I guess, let me ask both of you, you know, when you talk to people who are coming into the Python world and into the notebook type of space, what are they coming from?
- 34:58Is that, like, MATLAB or other tools?
- 35:00You know, like, where are they coming from?
- 35:01I see a lot of users coming from R and RStudio.
- 35:05That's kind of the world.
- 35:07But they see, like, some of they still, I've seen users who use a mix of those two languages.
- 35:12They still feel like R has done something really well and they already have things set up there.
- 35:17But they also see, like, all these Python packages that make things easy.
- 35:21So they wanted to use that as well.
- 35:23So I definitely see a lot of that.
- 35:25Yeah, I think what's cool about Python is you do kind of land on it from a lot of different paths.
- 35:30So I had a user I was talking to last week who was saying, you know, I feel like they're business analysts and they've been using Excel for so many years.
- 35:37And they were like, I feel like Python has become the next thing once you've learned Excel.
- 35:41And now, you know, you want to do more advanced things or go from Excel into Python.
- 35:44But then you'll talk, I was talking to a researcher a couple of weeks ago who also teaches a course.
- 35:48And he was saying their course was in MATLAB two years ago.
- 35:52Then they moved to R for a year.
- 35:54And now they're standardizing across their department on Python.
- 35:58Because it is so, they're like, people would start in MATLAB.
- 36:01Then they need R for a different course.
- 36:03And it was just too much.
- 36:04But they felt like Python would cover all their courses, use cases and make their students happy.
- 36:09Yeah, that's pretty interesting.
- 36:10I'm sure they have a little bit of whiplash going on.
- 36:12Yeah, I know.
- 36:13But Python's interesting because it's not just useful for this like focused data analysis.
- 36:19Right.
- 36:20Like if I go and learn MATLAB and I say I'm getting a degree in math or biology or whatever,
- 36:26and then I leave and I'm not still doing research in biology, my MATLAB skills are probably not helpful.
- 36:32For the most part, right?
- 36:34It's not like, well, I'm going to go and like get recruited to work as a MATLAB person.
- 36:38Maybe, but not nearly to the extent that Python skills will like open up the door to parallel careers.
- 36:45And so I think whenever I think of students or academic programs, I think, you know,
- 36:49it's really good that they're doing something like Python, even if it weren't Python,
- 36:53something that is like a general skill independent of like the research or the PhD or whatever, right?
- 36:59And I know they've standardized like high school, the AP curriculum in the US has standardized on Python
- 37:05for being the introductory language, which I thought was really cool because when I took it, it was Java.
- 37:09And I kind of never used Java.
- 37:11Right.
- 37:12Yeah.
- 37:13Yeah.
- 37:13Python is definitely what used in so many different areas.
- 37:17Like for one, being able to build web apps, that's huge.
- 37:20And in the data science area and beyond those two, we also see a lot of just general purpose scripting using Python.
- 37:28Yeah.
- 37:28And on top of whatever else they're using, right?
- 37:31Yeah.
- 37:32Yeah.
- 37:32And the IoT stuff as well, right?
- 37:34Like it's, you got CircuitPython and MicroPython.
- 37:36Oh, yeah.
- 37:36That's super cool.
- 37:37So I think that's pretty cool.
- 37:38Now, one thing I did want to ask you about, because I think this is super positive, but I don't really know why it's so different in data science.
- 37:46I feel like in data science, the core projects, NumPy, Jupyter, and whatnot, are well-funded, at least compared to, say, Flask for web development or, you know, SQLAlchemy.
- 37:58Like you go and you look at NumPy, and it's got like, I don't remember exactly, like Sloan Foundation funding and DARPA funding maybe.
- 38:07But there's like these large groups funding these data science projects.
- 38:10Why do you think data science, open source, gets so much support like this, whereas a lot of the rest of Python kind of doesn't?
- 38:18I mean, it's not like Instagram isn't worth, you know, billions of dollars and based on Python as well.
- 38:23Or, you know, there's a hundred examples like that.
- 38:25Do you have thought?
- 38:26Since I'm relatively new to the area, to the space, I'm not super familiar with those particular projects and how they got funded.
- 38:34But I feel like, just make a feel, like the popularity in the space, like interest in the space, just AI and data science in general got a lot of attention, for sure, from all sorts of people.
- 38:47And it's not just like, hey, we build this for fun, right?
- 38:52But also, we want to take AI, we want to build that into our businesses.
- 38:56And that's something serious, that it better make good predictions, right?
- 38:59If this is going to impact my business or people's real life, like making predictions for patients and that serious stuff.
- 39:08So we need to get it right.
- 39:09It better work great.
- 39:10All those packages we rely on, right?
- 39:12They're fundamental to the prediction and data analysis.
- 39:16And that might be why it's easier to get attention and funded because the value to the business, like we see in real life.
- 39:24I have a guess for myself as well, but I want to hear your thoughts.
- 39:27Yeah.
- 39:27I was thinking something similar just in terms of the enterprise use cases.
- 39:32And of course, there's all the power of buzzword and data science.
- 39:36Is it based on AI?
- 39:37We're going to pay for that.
- 39:38Yeah, I love that.
- 39:38Yes.
- 39:39AI infuse everything.
- 39:41So I think that likely definitely helps.
- 39:43And then like you were referencing a few of those projects where, you know, science and research, which might be more ingrained in grant worlds versus something like Instagram.
- 39:52Exactly.
- 39:53Like there's already like a grant infrastructure, right?
- 39:56Right.
- 39:56Like it's super normal to go, I'm going to apply for a $3 million grant for this project.
- 40:02Right.
- 40:02Right.
- 40:02And it's, I guess, because it lives in that world so much, maybe that's a little bit why.
- 40:06Yeah.
- 40:07I don't know.
- 40:07It's interesting.
- 40:08Yeah.
- 40:08The other reason I was thinking is the data scientists usually report to like executives.
- 40:14That helps too.
- 40:15Leverage those one-on-ones.
- 40:18Yeah.
- 40:19Exactly.
- 40:19You know, yeah, we need a little bit of support here.
- 40:22Yeah.
- 40:23So let's see.
- 40:24I got a few other things I want to ask you about before we run out of time here.
- 40:28So, you know, not too long ago, GitHub was acquired by Microsoft.
- 40:31Like what changes have you seen internally or like in the Azure data science side of things as a result?
- 40:38Actually, long before the acquisition, Microsoft internal teams have already started to adopt Git for source control, like in our internal teams.
- 40:49That has happened even before this.
- 40:51So I would say after the acquisition, there's definitely more use of Git, GitHub.
- 40:57And also we see more integrations that we are building with GitHub being a front door to developers.
- 41:04And so more integration into like Visual Studio Code, better experience there.
- 41:09And we also build new features on GitHub as a result of GitHub being part of Microsoft.
- 41:15Yeah, that's cool.
- 41:16And you guys did do the virtual file system stuff contribution back to GitHub so that you could actually put Windows in there.
- 41:22Because apparently it was broken.
- 41:24Catherine, how about you?
- 41:25Yeah, it's been super exciting.
- 41:27I mean, like Ron was saying, I mean, Git is so ubiquitous that we were using it a lot beforehand.
- 41:32But now the acquisition has just opened the door to so many opportunities in terms of product integrations.
- 41:39And it kind of has reshifted a lot of our thinking across our different products, particularly in developer division where Ron and I work.
- 41:45What should we build into our product first?
- 41:47What would be a good integration where we could leverage GitHub for this?
- 41:51It's opened up a bunch of new scenarios and hopefully customers will continue to see the value from it.
- 41:56Yeah, that's cool.
- 41:56Everybody at Microsoft uses Git now.
- 41:58Yeah.
- 41:59Even as PMs, we write documentation.
- 42:02And then we're checking there, have to use Git.
- 42:06Microsoft Docs are all on Git now, which is fun.
- 42:09Yeah, all our documentations run on Git.
- 42:11So that's one single system that we use.
- 42:13Yeah, that's super cool.
- 42:14So with Azure Notebooks, what's the version control story?
- 42:18I know what it is for the Python.
- 42:20PY files.
- 42:21Just check them into GitHub or wherever.
- 42:23Yeah, so for Azure Notebooks right now,
- 42:25you can launch a terminal within Azure Notebooks that'll connect you to the container you're running your project in.
- 42:33And then from there, you can use the Git command line as you're used to.
- 42:36And we also have two views in Azure Notebooks.
- 42:39There's the vanilla classic Jupyter UI.
- 42:41And then you can also use the JupyterLab UI and install any Git extensions you want to in either of those ecosystems.
- 42:48That's cool.
- 42:48Yeah, I hadn't really thought about that.
- 42:49I guess it is baked into JupyterLab probably, right?
- 42:52Yeah.
- 42:52Yeah.
- 42:53Cool.
- 42:53So one thing that I did think was pretty neat is on the Azure Notebook page, you have a bunch of featured projects that are kind of cool.
- 42:59So maybe I could talk a little bit about something.
- 43:02So there's one that talks about getting started with Azure machine learning.
- 43:06That's pretty cool.
- 43:06But then the second one was the Python Data Science Handbook by Jake VanderPlas.
- 43:11Yes.
- 43:11That's cool.
- 43:12Yeah.
- 43:12Maybe you want to talk about those a little bit?
- 43:13Like just how people can find them as well?
- 43:15Yeah.
- 43:16We feature a few projects that are six or so that we kind of rotate in or out depending on new releases or anything like that.
- 43:23Jake's book is usually always there because people love that.
- 43:26And we love it.
- 43:27It's kind of our, it's such a big book of notebooks.
- 43:30Yeah.
- 43:30Listeners aren't familiar with it.
- 43:32It's like a whole O'Reilly book written all in Jupyter Notebook.
- 43:35So it's a massive GitHub repository.
- 43:37So we'll use it for like stress testing our systems and stuff because it's so big.
- 43:41It's kind of become our de facto standard.
- 43:43But we also have things like I think University of Cambridge Introduction to Python course is featured there, which is super cool.
- 43:49And it's really great for all of our education scenarios that use Azure notebooks to see that.
- 43:54And then it also feeds a lot of online course inspiration as well.
- 43:58So we'll see a lot of people coming from different EDU, Coursera courses.
- 44:01So we try to feature that content as well.
- 44:03That's cool.
- 44:04You see people creating like online courses and books and stuff like that.
- 44:07Yeah.
- 44:08And something like any cloud hosted notebooks makes such a great case for online courses.
- 44:13So you don't have to spend 10 minutes telling people how to install things.
- 44:17And then you're not there in person to help them with any installation.
- 44:20So being able to use something like Azure notebooks where everything's just ready and you can clone this repo and you're good to go.
- 44:26It's definitely has been super helpful.
- 44:28Yeah, that's cool.
- 44:29Definitely when I've done training and stuff, it's like a lot of it is let's make sure everyone can run Python.
- 44:34Like just type Python 3 dash capital V.
- 44:37Tell me what you get.
- 44:39Are you okay?
- 44:40Is it a number?
- 44:41Is it 3, 4?
- 44:44That's a very important first step.
- 44:46Right.
- 44:47Yeah.
- 44:47Yeah.
- 44:48Yeah.
- 44:48So we try to limit the time spent there and maximize time spent on code.
- 44:51Yeah.
- 44:52That's cool.
- 44:52Yeah.
- 44:53Did you hear about the announcement of Python shipping with the next version of Windows?
- 44:57The next major release in Windows?
- 44:59This was Steve Dower talked about this at PyCon.
- 45:03And basically, you know, Steve got Python 3.7 in the Windows store.
- 45:08Yes.
- 45:09And that was cool.
- 45:09So if you need to go install it, that would set it up.
- 45:11Yeah.
- 45:12So apparently now Python is going to come as a little shim in Windows.
- 45:16So if you type Python.
- 45:17Right.
- 45:18Yeah.
- 45:18It'll pop up that store thing and say click here to install it and then type it again.
- 45:22Yes.
- 45:22I know Steve worked on that hard.
- 45:24Finally made it happen.
- 45:26Yeah.
- 45:26That's awesome.
- 45:27I really think that's going to be a huge, huge deal.
- 45:29I mean.
- 45:30Yeah.
- 45:30So many people get lost in that first initial hurdle.
- 45:33So hopefully it'll help.
- 45:34Yeah.
- 45:35I mean, it still doesn't solve all the, you know, pip install this.
- 45:37Right.
- 45:38First step.
- 45:40Yeah.
- 45:40We're getting closer.
- 45:41It's at least there's one less bit of friction there.
- 45:44Yeah.
- 45:44Definitely.
- 45:44Yeah.
- 45:45Yeah.
- 45:45So let's see.
- 45:46I guess, you know, maybe you could each chime in about what was your favorite thing that
- 45:50you saw or coolest thing here at the conference?
- 45:53I'm super excited about the new terminal that ships in Windows.
- 45:57Yeah.
- 45:57That sounds pretty cool.
- 45:58Yeah.
- 45:58I haven't used it myself, but it looks pretty cool.
- 46:01And then I already heard of like comments about, hey, I want to switch to Windows now for development
- 46:09because now I can do everything on one machine.
- 46:12Like it's pretty cool.
- 46:14I'm looking forward to start using it.
- 46:15Yeah.
- 46:16That thing has not changed in a really long time.
- 46:18Yeah.
- 46:19I know.
- 46:19And I'm glad they focused on that.
- 46:21Yeah.
- 46:21Because command line is the center of developer workflow.
- 46:25And we definitely think that's important too.
- 46:29Yeah.
- 46:30I feel that's actually an interesting point.
- 46:31I wonder how much of like people sort of doing a lot of open source other like Microsoft
- 46:37outreach to other platforms outside of Windows, bringing people that kind of live in that space,
- 46:42which is often more command line terminal driven back end, like sort of going like,
- 46:47all right, why is it such a bad experience here on Windows?
- 46:49Yeah.
- 46:49On the command prompt and like sort of get, I wonder like there's probably some cycle there.
- 46:53Oh yeah, absolutely.
- 46:54They have definitely went through like multiple iterations.
- 46:58Yeah.
- 46:59But because it used to work very differently than the other platforms.
- 47:02Yeah.
- 47:03But now it is important that we get that right and make that better.
- 47:06So make Windows a great development environment again.
- 47:10Very cool.
- 47:10Yeah.
- 47:11That's a good one.
- 47:11How about you?
- 47:11Yeah.
- 47:12So I thought the terminal and the WSL, Windows subsystem for Linux announcements were all really
- 47:17great.
- 47:17I also really like, we talked a bit about Azure machine learning and originally that had their
- 47:23own APIs, which they'll still maintain, but they're also introducing compatibility with MLflow,
- 47:28which is a Databricks project from the Spark community around managing ML life cycles.
- 47:34And I thought that was another cool combination where we're enabling the open source community
- 47:39on Azure platforms.
- 47:40So I was excited about that as well.
- 47:42All right.
- 47:42Big things that are like work with that API.
- 47:44Yeah.
- 47:45Yeah.
- 47:45So you can use the MLflow APIs and it'll work perfectly with your Azure machine learning workspace
- 47:50and track the model life cycle.
- 47:52Very nice.
- 47:52Yeah.
- 47:53That's really, really cool.
- 47:54All right.
- 47:55Well, one more question and then I'll ask you the two sort of closing questions, of course.
- 48:00So the final question is, I feel like over the last five, six years, Python has been super, super
- 48:07popular.
- 48:07Have you seen the Stack Overflow article?
- 48:10Yeah.
- 48:10The incredible growth of Python?
- 48:12Yeah.
- 48:12Yeah.
- 48:12It's in one of our slide deck versions.
- 48:15So there it has this huge, huge growth and it's really positive.
- 48:19It's so fun to be part of that community.
- 48:21Oh, yeah.
- 48:21Absolutely.
- 48:22Super exciting.
- 48:23It's super cool.
- 48:23I feel like a lot of those, the new folks to that graph, they're not everyone, but a lot
- 48:30of them are coming from the data science side of things.
- 48:33What do you think about this?
- 48:34Yeah, absolutely.
- 48:34I've seen an article actually on Stack Overflow last year, analyzing why Python is growing
- 48:41so fast.
- 48:42I think one of the conclusions that author made was because of AI and machine learning becoming
- 48:48more and more popular in just like any businesses.
- 48:52Because it used to be a very tech-driven thing that's only high-tech companies are doing that.
- 48:57But now we want to infuse AI everywhere in all different businesses.
- 49:00And then we see that start to come up.
- 49:04A lot of developers want to do something with AI.
- 49:07And then Python being a natural choice for doing that job.
- 49:11That's why we've seen a lot of Python growth coming definitely from that space.
- 49:16And actually, one of the data points he pointed to was the fact how fast Pandas as a data package
- 49:24has grown in the past few years.
- 49:26as one indication that how much data science work, the workload has been growing in the
- 49:31Python world.
- 49:32So it's super exciting.
- 49:33So like Python is now the number four on the most popular language list.
- 49:38Went from like, was it six or seven last year?
- 49:42Yeah, it's definitely growing.
- 49:43And now it's number four.
- 49:45Yeah, we're definitely kind of working on the most very hot area where there's Python and
- 49:52AI and the intersection in between.
- 49:54Oh yeah, you put those two together.
- 49:55Thanks for keeping us employed.
- 49:56Yes.
- 49:57But yeah, I was like wrong with saying, I also think it's cool because I think you can see
- 50:02the power of Python really quickly in a data science scenario, especially with the community
- 50:07around it and all of the different packages you can use.
- 50:10I think that really shines in data science and ML cases.
- 50:13I mean, even just with like visualization libraries, there's so many and there's so many that do
- 50:17such like cool, powerful things that I feel like when people are first getting exposed to
- 50:22Python through data science, it really shines and shows the power of it.
- 50:26Yeah, it's true because you can really quickly generate a graph or a model or something like
- 50:31that.
- 50:31Yeah, like a 3D plot.
- 50:32It's awesome.
- 50:33Yeah.
- 50:34As opposed to like, let's build a little game, right?
- 50:36Like it still takes a while to build tic-tac-toe.
- 50:38Right, right, right.
- 50:39And then it just looks like a terminal thing.
- 50:41You're like, well, it's not so impressive.
- 50:42Exactly, yeah.
- 50:43Yeah, that's a pretty good point.
- 50:44All right, cool.
- 50:45Well, it's been a super interesting compare and contrast, the .py versus the Notebooks way
- 50:52of working.
- 50:53But thanks for both of you for sharing the stories.
- 50:55Let me ask you a quick question before we get out of here.
- 50:57Although I'm especially wrong, I'm sure I'm going to be able to guess your answer here.
- 51:01So are you going to write some Python code?
- 51:05What editor do you use?
- 51:06We just do the code.
- 51:07You guess right.
- 51:08Right on.
- 51:10I said, if I'm writing some Python code, usually Notebooks, but I used to be a Vimmer,
- 51:15and now I use a Vim extension for VS Code when I'm in an editor environment.
- 51:20That's cool.
- 51:21You kind of brought them together.
- 51:22Yeah, I brought them together.
- 51:23It's just been great.
- 51:24Yeah, it's nice.
- 51:25I need my key mapping.
- 51:27Yeah, it's all in there.
- 51:28So when I can get that with the power of VS Code, I'm happy.
- 51:32Then you're happy.
- 51:33Awesome.
- 51:33And then, you know, there's so many packages out there that people might know about.
- 51:38So have you come across one that's like, oh, wow, this is really cool.
- 51:42People should check it out.
- 51:43Notable PyPI package?
- 51:45I haven't like deeply doing this myself, but I looked at like Plotly, which does 3D plots.
- 51:52It's one of the first things I tried when I first joined the team.
- 51:56And we actually can render that inside VS Code too.
- 51:59And you can interact with that plot.
- 52:00And I thought that was super cool.
- 52:02Oh, yeah.
- 52:02That's pretty cool.
- 52:03Yeah.
- 52:03Plotly is great for graphics.
- 52:05Yeah, I'm a sucker for a good visualization library too.
- 52:09So yeah, I like Boca.
- 52:11I like Plotly.
- 52:13Yeah, I think those are probably my favorites.
- 52:15I'm trying to think if there's any.
- 52:16Yeah, those are really cool.
- 52:17I'll throw one out that's notebook related that's not graphical is Paper Mill.
- 52:22Have you tried Paper Mill?
- 52:23Oh, yeah.
- 52:23Yes, Paper Mill is very cool.
- 52:24Yeah, kind of turn your notebook into almost like a function you can call or something like that.
- 52:29Yeah.
- 52:29It's pretty wild.
- 52:30All right.
- 52:30Well, thank you both for being on the show.
- 52:32It's been a lot of fun to talk about it.
- 52:34I'm happy to see the work you all are doing in VS Code around sort of editorifying notebooks.
- 52:40And also, yeah, good work on the cloud stuff.
- 52:42Yeah.
- 52:42Thank you.
- 52:43Awesome.
- 52:43Super fun.
- 52:44Thanks for having us.
- 52:45Yeah.
- 52:45Yeah.
- 52:45Thanks for being here.
- 52:46Bye.
- 52:46This has been another episode of Talk Python To Me.
- 52:49Our guests on this episode have been Rong Lu and Catherine Kampf.
- 52:53And it's been brought to you by Linode and Backlog.
- 52:56Linode is your go-to hosting for whatever you're building with Python.
- 53:00Get four months free at talkpython.fm/Linode.
- 53:03That's L-I-N-O-D-E.
- 53:05With Backlog, you can create tasks, track bugs, make changes, give feedback, and have team conversations
- 53:12right next to your code.
- 53:13Try Backlog for your team for free for 30 days using the special URL talkpython.fm/backlog.
- 53:20Want to level up your Python?
- 53:23If you're just getting started, try my Python Jumpstart by Building 10 Apps course.
- 53:28Or if you're looking for something more advanced, check out our new async course that digs into
- 53:33all the different types of async programming you can do in Python.
- 53:36And of course, if you're interested in more than one of these, be sure to check out our
- 53:40Everything Bundle.
- 53:40It's like a subscription that never expires.
- 53:42Be sure to subscribe to the show.
- 53:44Open your favorite podcatcher and search for Python.
- 53:47We should be right at the top.
- 53:48You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 53:53and the direct RSS feed at /rss on talkpython.fm.
- 53:57This is your host, Michael Kennedy.
- 53:59Thanks so much for listening.
- 54:01I really appreciate it.
- 54:02Now get out there and write some Python code.
- 54:04I really appreciate it.
- 54:24Thank you.