Latest / Talk Python To Me / #139: Paths into a data science career
Transcript
- 0:00Data science is one of the fastest growing segments of software development,
- 0:03but it takes a slightly different set of skills than your average full-stack development job.
- 0:07This means there's a big opportunity to get into data science, but how do you do it? How do you get
- 0:13into the industry? Well, that's what Hugo Brown Anderson is here to tell us all about.
- 0:18This is Talk Python To Me, episode 139, recorded November 7th, 2017.
- 0:23Welcome to Talk Python To Me, a weekly podcast on Python, the language, the libraries, the ecosystem,
- 0:43and the personalities. This is your host, Michael Kennedy. Follow me on Twitter, where I'm at
- 0:48mkennedy. Keep up with the show and listen to past episodes at talkpython.fm, and follow the show on
- 0:53Twitter via at Talk Python. Talk Python To Me is partially supported by our training courses.
- 0:58Have you tried to learn Python but got stuck or lost focus? We know how it feels to try and jam
- 1:04fact after fact, loop construct after turn hair expression, into your head. At best, it's boring.
- 1:10At worst, it can turn you off programming altogether. That's why we built our course,
- 1:15Python Jumpstart by Building 10 Apps. This course guides you through carefully planned applications.
- 1:20It starts simple but progresses to quite real apps. Best of all, you won't be learning dry
- 1:26facts. You'll be learning like the pros do by building real applications and learning in
- 1:31context. If you want to start building with Python, just visit talkpython.fm/course to get
- 1:37started. Hugo, welcome to Talk Python.
- 1:40Thanks, Michael. Great to be on the show.
- 1:42It's fabulous to have you here. I think it's time that we do a dive into how people become
- 1:49data scientists and how they get into data science. And really, I've done a couple of shows on becoming
- 1:55programmers, but that's not exactly the same thing as becoming a data scientist in the sense. So,
- 1:59I'm super excited to talk to you about all these different paths into data science and how people
- 2:04can kind of level up in that space.
- 2:06I'm really excited also because I've been thinking about this a lot lately, of course.
- 2:11Yeah, of course. It's a really important topic. I mean, data science, I really attribute Python's
- 2:16meteoric growth over the last three years to data science. I know it's growing in other areas and
- 2:21it's playing important parts all over. But data science, the rise of Python in data science and the
- 2:27rise of Python becoming more popular, those two graphs seem like the same.
- 2:31Absolutely. And you can see the Python community embracing this as well. I mean, I was at PyCon in
- 2:36Portland where you are this year and we had two keynotes, although many keynotes, but Jake
- 2:41Vanderplass and Catherine Huff seeing, you know, such data science luminaries and thought leaders being
- 2:47invited to something like PyCon to give keynotes more and more is really exciting.
- 2:53Yeah. And Jake VanderPlas's keynote especially struck a nerve with me because it really opened
- 2:59my eyes to, you know, basically his message was this Python ecosystem is a mosaic and there's many
- 3:06different ways in which people are using Python and basically many different things that Python means
- 3:12to different people. And the way that maybe a web developer working on a large scale web app works
- 3:18is really different than the way a data scientist exploring astronomical data would work.
- 3:23But these are both super valid and reinforcing ways to work. And I really liked his message.
- 3:28For sure.
- 3:28Yeah. Awesome. Okay. So before we get into pass into data science, let's get your story. How did you get
- 3:35into programming in Python?
- 3:36Okay. So at grad school, I'm from Australia. I went to the University of New South Wales for grad school.
- 3:42I did pure math there and I did a bit of MATLAB. I'd done some Maple as an undergrad, but all of this was
- 3:48relatively minimal. When I started my postdoc, I moved away from pure math and went into more applied math that I'd done as part of my undergrad.
- 3:58I was working in cell biology, in fact, in Germany, and I was working in biophysics. So thinking about kind of the physical,
- 4:06mechanical principles of how cells grow, reproduce, that type of stuff.
- 4:11It sounds really interesting.
- 4:12It was incredible. And I was actually working in an institute of maybe 400 cell biologists and theorists dedicated. So it wasn't on a university campus. It was an incredible environment.
- 4:24But I was hired ostensibly to do mathematical modeling. But the biologists I work with kept on coming and asking me the same questions with respect to data analysis, statistical inference, this type of stuff, which I didn't know a great deal about at the time.
- 4:39But with my quantitative training, I really could pick it up on the fly. And so I started working more on the data analysis and statistical inference in conjunction with the modeling.
- 4:49Of course, to do that in to do that today, you need to be able to program. Right. Because data sets are so large. I mean, you can't you can't do it with pen and paper like they they used to.
- 5:00So I started learning Python and and R to to do this. I learned online by online courses, a lot of web web resources.
- 5:10And in fact, you know, the open source community in Python and R really embracing. So any any questions I had, I could pick up on the fly.
- 5:19Yeah, that's really cool. And I definitely see this working with scientists or in these types of areas. Very important.
- 5:27How how much programming did the biologists do? Like, did they program in MATLAB? Were they just Excel people?
- 5:35Like, how much were they kind of taking care of themselves? And how much were you solving their like science problems?
- 5:41So the answer then, which this was now, well, seven years ago, I didn't quite realize that.
- 5:46The answer then was MATLAB. Grad students would come to me and say, I need to learn how to do this image analysis in MATLAB.
- 5:58Or how do we estimate these statistical parameters? How do I get the mean out of this data set using using MATLAB?
- 6:05Something I saw.
- 6:07Maybe three or four years ago was a conversion in which more and more students came and started asking to learn Python and and R.
- 6:17biology is R a lot of the time, but more and more Python in physics and at R in biology.
- 6:24And I think people just started seeing seeing the value.
- 6:27Also, I think there's there's a challenge that MATLAB is incredible for a number of things.
- 6:34But part of their their business means they're embedded in institutions.
- 6:39And it's it's really tough for institutions to break away.
- 6:42It's generational in a lot of ways, actually, because, you know, the guys at the top who they MATLAB work worked for them in a number of respects.
- 6:50But seeing kind of the resurgence of this, this these open source libraries for academic research is really exciting.
- 6:56It's super exciting. And to be fair, you know, the world looked really different 25 years ago in scientific computing than it does now.
- 7:05Like open source was not so much of a thing.
- 7:07It was, you know, your alternative was probably like C++ or something. Right.
- 7:11Absolutely. I mean, maybe Fortran. Right.
- 7:13But it was not they were not great tools.
- 7:16So it was a super clear choice to choose MATLAB.
- 7:19But you're right now. It's the senior professors that have been doing MATLAB for 30 years and all their work is in MATLAB.
- 7:24You know, there's probably a tendency to just kind of stick with that.
- 7:27Your your students come on to help you like, hey, you got to learn MATLAB because that's where I work.
- 7:31Right. Something like this. That's correct.
- 7:35But I do think there's some really interesting.
- 7:37You know, growth in around sort of trying to displace MATLAB.
- 7:43I mean, there's SageMath also from Seattle, you know, similar similar place to where Jake van der Plassen, the e-science institute is up there.
- 7:52But yeah, I think it's it's really powerful to see people coming in learning Python.
- 7:57I think one of the major advantages that people get is you can take that into general industry when you're done.
- 8:04Like if you go and study applied math, but then you actually don't become a professor.
- 8:07What are you going to do? Right.
- 8:09Well, the knowing Python has a lot more doors that get open for you than knowing MATLAB.
- 8:16Yeah. And you can collaborate with anyone around the world as well.
- 8:19Somebody to to read and execute your code doesn't require them to have a proprietary license.
- 8:24Yeah, that's a really good point.
- 8:26I think, you know, the cost of these proprietary systems like MATLAB or Maple, like you mentioned, are really problematic.
- 8:32Right. Like I did some work with Wavelet decomposition.
- 8:37And that was like a two thousand dollar add on to MATLAB.
- 8:40I mean, that's a crazy amount of money for one license.
- 8:43Absolutely. Right.
- 8:44That's probably like pip install something now.
- 8:46That's right.
- 8:47And so I mentioned Katie Huff's keynote at PyCon.
- 8:51She in this keynote did a wonderful thing where she laid out a series of points of what scientific research and scientific methodology has been historically and needs to be and demonstrated that open source communities actually are far better at all these scientific principles than most other communities that have existed since since the ancient Greeks.
- 9:11So things such as version control, reproducibility, absolutely open code bases, this type of stuff is exactly what science needs now, particularly as, you know, we're all this buzz term reproducibility crisis.
- 9:24It's incredibly important that all of our tools and techniques are open.
- 9:27Yeah, that's a really interesting point that open source kind of is very much in the same has the same zen as the principles of scientific research and exploration.
- 9:36Right. Yeah.
- 9:37Yeah, that's awesome.
- 9:38So that was how you got into Python and programming.
- 9:41How about now?
- 9:42What do you do today?
- 9:42So I work for a startup called DataCamp and we do online education for data science.
- 9:49So we have an in-browser platform and now we have a mobile app, actually, where people can come and learn and practice and apply data science.
- 9:57Until recently, so I've recently changed positions in the company.
- 10:02Until recently, I was working on curriculum building.
- 10:04So when I joined the company, we had two Python courses.
- 10:07And over the past year and a half, I built it out with colleagues and external instructors to around 30 courses.
- 10:13So that job was really ideation, what courses will look like, high level view of a curriculum, figuring out what data sets to use in courses, techniques to teach, whether it's scikit-learn, pandas, how to approach these APIs.
- 10:28We've taught them with wonderful people such as Andreas Muller of scikit-learn, great courses with the people at Anaconda, spend my days writing code and explanations for courses, marketing material, being on calls and on GitHub with instructors, which was so much fun to work.
- 10:44I think this is, you know, I actually did basically the same job, but for a different focus curriculum.
- 10:51But for a long time, I was sort of head of curriculum at a company called Developmentor, which just got acquired and don't do that anymore.
- 10:59But it was really fun to sort of look broadly at a technology, think about how do people get started?
- 11:07How do they become experts?
- 11:08What are the important parts?
- 11:09And really try to piece that together as like a jigsaw puzzle.
- 11:12It's a fun job.
- 11:13It's super fun.
- 11:13And particularly, just trying to match up all those different parts of curriculum building.
- 11:18So just making sure that, you know, five days in a row, I'm not in the weeds of figuring out which data sets to use.
- 11:26So mixing up high level curriculum building with being in the weeds.
- 11:29Yeah, that's awesome.
- 11:31It's definitely a social side of programming.
- 11:33For sure.
- 11:34And now I've transitioned to a job working as a data scientist, a data science advocate and evangelist for DataCamp.
- 11:42So I'm doing data science on a daily basis, writing articles about data science for our community, pedagogical articles, technical blog posts, topical.
- 11:52So currently I'm writing and developing an analysis of the Me Too movement on Twitter.
- 11:59So seeing how that is developed using the Twitter API and Python and a package called Tweepy.
- 12:04Yeah, so doing data science.
- 12:06For example, the Twitter analysis I just spoke about.
- 12:10I'm also doing data science on student data to see how we can cluster users and cluster our students and see best learning techniques for students.
- 12:20So I think that's a lot of things.
- 12:25I think that's a lot of things that I'm doing.
- 12:25I think that's a lot of things that I'm doing.
- 12:26I think that's a lot of things that I'm doing.
- 12:26I think that's a lot of things that I'm doing.
- 12:26I think that's a lot of things that I'm doing.
- 12:27I think that's a lot of things that I'm doing.
- 12:28I think that's a lot of things that I'm doing.
- 12:37I think that's a lot of things that I'm doing.
- 12:37I think that's a lot of things that I'm doing.
- 12:37I think that's a lot of things that I'm doing.
- 12:39I think that's a lot of things that I'm doing.
- 12:41I think that's a lot of things that I'm doing.
- 12:43I think that's a lot of things that I'm doing.
- 12:44I think that's a lot of things that I'm doing.
- 12:45a student imports pandas as PD.
- 12:48What are the top three mistakes they make straight away?
- 12:52And these types of things will be of interest to us, to our students, and also to the open
- 12:56source community at large.
- 12:58Yeah, I think that's really interesting.
- 13:00These ideas of helping people with that first step.
- 13:04Because a lot of times getting into a new technology or a new library, it's those first steps that
- 13:09are the hardest to take.
- 13:11Absolutely.
- 13:12Nice.
- 13:12And are you also doing a podcast?
- 13:14Exactly.
- 13:15I'm currently developing a podcast called Data Framed, which is about data science,
- 13:20about what data scientists do on a daily basis, and about the societal impact of data science,
- 13:25which is really exciting.
- 13:27Because I think it can be of great value to our students, and it can be of great value to
- 13:32a lot of working data scientists.
- 13:33So for example, data scientists working at Uber really may have no idea what data scientists
- 13:38working at Netflix or data scientists working in astronomy do on a daily basis.
- 13:43Because it's a term that encompasses so much of what working professionals do.
- 13:48I think it's really exciting for me and will be for the community as well.
- 13:52Yeah, I think that's awesome to shine a light on these different areas.
- 13:55I mean, the stuff that you're doing at Uber, like you said, is really, really different than maybe
- 14:00trying, if you're working at, say, a police department, trying to understand how police violence or violence
- 14:10against police happens.
- 14:11And these are really, really different.
- 14:12But maybe there's lessons to be learned from one to be applied to the other.
- 14:16Absolutely.
- 14:16And all the way from that to city transit data, how I live in New York, and New York
- 14:22transit has a huge API, the MTA, where you can go and access data with respect to how the subway
- 14:31works and how decisions are implemented around that.
- 14:33Yeah, that's really interesting.
- 14:35I bet there's some awesome data science stories to be told out of the public transit of these major cities.
- 14:41Absolutely.
- 14:41There's a blog called iQuantNY, which is all about getting access to public New York data and seeing what you can find in it.
- 14:51So that's a great blog to check out.
- 14:53Yeah, there's probably a lot of data science going on there in New York around the stock market as well.
- 14:58Yeah, absolutely.
- 15:00Oh, man.
- 15:00Of course, they don't share that so much.
- 15:03Yeah.
- 15:03Once you find something that works, they keep that quiet, right?
- 15:06Yeah, that's it.
- 15:07The other thing I've been doing recently is these Facebook Live Code Along sessions.
- 15:13So I'm a huge fan of live coding.
- 15:17I know it's probably slightly masochistic, but I don't have a huge problem.
- 15:21One of my favorite things about live coding, one of the most valuable moments for me and people
- 15:25coding along is when I make a mistake that I can't figure out and I need to go and use a search engine
- 15:32and go and stack overflow.
- 15:33And people see me kind of figure it out in real time.
- 15:36And actually, I think Jake VanderPlus one up that one.
- 15:40So where he was doing a live coding session and found a bug in scikit-learn and went in
- 15:47and issued a PR in the coding session that fixed the bug.
- 15:52And that's online somewhere.
- 15:54That is awesome.
- 15:55Yeah.
- 15:56But the Facebook stuff's great because Facebook's really pushing their live sessions at the moment.
- 16:01So everyone who follows us, we've got now, I think, 330,000-odd followers on Facebook.
- 16:09When I start a live code along session, they all get notified and a whole bunch of them jump on and
- 16:14interact and it's super fun.
- 16:16And they can comment just below the video.
- 16:18I've got a colleague there who filters the questions and I answer some of them.
- 16:22And that's also a lot of fun.
- 16:23That's a really interesting trend.
- 16:25I haven't seen a whole lot of that previously, but I did just talk about on Python bytes last week,
- 16:32this AI framework that you can basically plug your AI into almost any game and then teach it to play that game.
- 16:43And the guy who runs that, he actually has a Twitch channel.
- 16:47And some of his Twitch code along building up these AIs and teaching them to play various games sessions are like six hours long.
- 16:55That's really cool.
- 16:55And it's, it was really, I'd never really watched one of those.
- 16:58It's really quite interesting, actually.
- 16:59Yeah.
- 16:59It's a whole different world, isn't it?
- 17:02Yeah, it sure is.
- 17:03I mean, a lot of the stuff that's online is really polished or somewhat polished,
- 17:07but it's at least intended to be polished and like packaged up for like, here's a 20 minute little thing.
- 17:11Whereas, you know, those are more like, let's just explore this until we have the answer.
- 17:15That's cool.
- 17:16Yeah, exactly.
- 17:17Nice.
- 17:18All right.
- 17:18So careers into data science, career paths into data science.
- 17:22Let's, let's talk about those.
- 17:23I think we'll, in this conversation, move to maybe more technical, more specifically data sciencey material.
- 17:31But the first thing I wanted to state very passionately is that, as with anything, but perhaps more so in data science, be active, be curious, and be part of a community.
- 17:42There are lots of budding data scientists, aspiring data scientists, working data scientists, hiring managers out there.
- 17:50And getting in touch with them and putting yourself out there is incredibly important.
- 17:56So to that end, I'd really suggest starting on some basic data science projects, if there's your first foray into it.
- 18:03And we can talk about what that could look like in a second and create a public profile.
- 18:07Get yourself a GitHub account to do that.
- 18:10Maybe have a little blog where every now and then you post some analysis you've done.
- 18:14Even if it's a basic exploratory data analysis, that's great.
- 18:20And put some words in there, put some images and figure out how to communicate around this.
- 18:26Go to conferences.
- 18:27Go to meetups and talk to people.
- 18:30Hackathons are also fantastic.
- 18:31Yeah.
- 18:32Hackathons, that's definitely a nice way to meet people who are, you know, more than just sitting next to you at a presentation.
- 18:40But actually, you know, you're kind of working together a little bit.
- 18:42That's cool.
- 18:43Yeah.
- 18:44I think I definitely encourage people to create some kind of blog or write stuff.
- 18:49I think that that's really valuable.
- 18:50And it doesn't have to be, you don't have to wait until you're an expert for sure at like something.
- 18:55It could be you're solving some problem and you couldn't find a way online how to solve that particular problem.
- 19:01So, you know, blog about that, right?
- 19:03Talk about what you tried, what didn't work.
- 19:05There's a lot of people who would be interested in following along this I'm getting started sort of story.
- 19:11Absolutely.
- 19:12And also, do a bit of self-promotion or marketing.
- 19:16I'm not suggesting like, you know, get your paid ads on Facebook.
- 19:19But, you know, if somebody asks a question on Reddit or Quora or Stack Overflow and you think your response may be helpful, get out there and put it there.
- 19:30There are also a number of blogs that have really wide distribution where you can write analyses for them as well.
- 19:37I mean, DataCamp, we've got a community section where we solicit external contributions.
- 19:43The Open Data Science Conference, ODSC, has a blog where they do the same.
- 19:47So, once you feel a bit more comfortable with your material, definitely put it out there.
- 19:54And I know that that can be difficult as well.
- 19:57So, there's certainly a bit of a loss of ego that needs to occur in this scenario.
- 20:03But just remember, there's a lot of interesting stuff going on out there and you can be part of it.
- 20:08Absolutely. And, well, I think it's really, really important on how you frame what you've created and presented.
- 20:13If you say, I'm the expert in this thing and then you're not, well, then, you know, people may find that out and that's going to go badly.
- 20:18But if you're really upfront, like, look, I'm really just getting started, everyone.
- 20:21But here is something that I couldn't find any help with.
- 20:23And here's what I figured out and I thought it was awesome.
- 20:25Like, nobody's going to knock you for that, right?
- 20:28Absolutely.
- 20:28Well, except for maybe on Reddit, they might send something angry.
- 20:32But you've got to have to take it.
- 20:35There'll always be at least one troll, right?
- 20:36That's right. That's right.
- 20:38But, you know, it's totally, totally worth it.
- 20:40This portion of Talk Python To Me has been brought to you by Rollbar.
- 20:44One of the frustrating things about being a developer is dealing with errors.
- 20:48Relying on users to report errors, digging through log files, trying to debug issues,
- 20:53or getting millions of alerts just flooding your inbox and ruining your day.
- 20:57With Rollbar's full-stack error monitoring, you get the context, insight,
- 21:01and control you need to find and fix bugs faster.
- 21:03Adding Rollbar to your Python app is as easy as pip install Rollbar.
- 21:07You can start tracking production errors and deployments in eight minutes or less.
- 21:12Are you considering self-hosting tools for security or compliance reasons?
- 21:16Then you should really check out Rollbar's Compliance SaaS option.
- 21:19Get advanced security features and meet compliance without the hassle of self-hosting,
- 21:24including HIPAA, ISO 27001, Privacy Shield, and more.
- 21:29They'd love to give you a demo.
- 21:30Give Rollbar a try today.
- 21:32Go to talkpython.fm/Rollbar and check them out.
- 21:36The other thing you brought up is a GitHub repo or a GitHub profile.
- 21:41And I think that that's super important.
- 21:42One of the things about GitHub is you can't fake the commit history over time very easily,
- 21:49right?
- 21:49Like if you say, I've been doing this for three years, but your GitHub repo only has like
- 21:53a week of activity, that's not a great sign.
- 21:56So if you're planning this, like, you know, do that stuff early so that it can, you know,
- 22:02sort of create this history that is proof of what you've been doing.
- 22:06Absolutely.
- 22:07And something I did when I was starting up my profile on GitHub, I had a sticker, a sticky,
- 22:13like a literal sticky on my computer screen, not the app stickies.
- 22:17But I had a sticky that said commit to GitHub today.
- 22:20Just like I didn't actually do it every day.
- 22:22But you can actually see before I joined DataCamp that there was a lot of public activity I was
- 22:29doing.
- 22:29One, because I really enjoyed it.
- 22:31But two, because I made an active decision to put myself out there.
- 22:35Yeah, it makes a huge, huge difference.
- 22:37So conferences, what are some of the data science conferences that people should go to?
- 22:42I really like the Open Data Science Conference, ODSC, which I mentioned earlier.
- 22:48And in fact, that's where I met the DataCamp people.
- 22:51And I had two, well, three, let's say two and a half job offers from going to the going
- 22:57to ODSC.
- 22:58I also, I also think not only conferences, but but meetups are incredibly useful.
- 23:06I know it depends which city you're in.
- 23:08But in New York, there are a lot of interesting meetups.
- 23:11A lot of a lot of people go there after work because they love data science.
- 23:15And even more so, you have hiring managers and recruiters get up.
- 23:19Literally, the organizers at these meetups say at the start or the end, hey, anyone who has
- 23:23a job, stand up and tell us what it is.
- 23:25Yeah, I see that definitely in the Python programming meetups as well.
- 23:28And I agree.
- 23:29That's a great way to get connected with your local people, not just people in the industry,
- 23:36but people down the street, right?
- 23:38Absolutely.
- 23:39And the great thing about data science recruiters and data science people in HR and managers
- 23:45is that there are a significant number of jobs out there.
- 23:49So they're really interested in the conversation.
- 23:52As someone approaching data science at the moment, you are in a relative position of power.
- 23:58I mean, it is competitive.
- 23:59But compared to the recruiters, they'll be definitely up for a conversation in a way that they wouldn't
- 24:04in other industries currently.
- 24:06And I remember I had a conversation with this great guy from Goldman Sachs where I just asked
- 24:11him up front, you know, what are mistakes that you've had people make in interviews that
- 24:16I should not make?
- 24:18And he gave me lots of great feedback.
- 24:19One example, he said, if you don't know something, just admit you don't know it and say that's
- 24:24a gap and I'm looking forward to filling that.
- 24:26He had guys where it was one guy he asked what the bias variance trade-off meant.
- 24:30And it was on a call and he heard the guy start typing and then answered the question.
- 24:35Okay.
- 24:35Yeah.
- 24:36Yeah.
- 24:37Pro tip, use a touch pad, some kind of touch device if you're going to Google during your
- 24:43interview.
- 24:44Exactly.
- 24:45The other thing, when you go to conferences and hackathons and this type of stuff, conferences
- 24:50are also great because they have sprints.
- 24:53A lot of the big, you know, packages, whether it be scikit-learn, pandas, gen-sim, project
- 24:59Jupyter, which we'll talk about later on, I think.
- 25:02They have sprints when the conference ends where you can go and help contribute to the
- 25:06project.
- 25:07The communities are super open.
- 25:09You can start.
- 25:10They actually encourage you to start by just helping out with documentation, which is a
- 25:15huge bottleneck at a certain point in open source software development.
- 25:19So you can actually be an active member of these development communities immediately without
- 25:24being like, oh, I don't know how to, you know, define this class correctly.
- 25:30Yeah.
- 25:30Well, I think another huge benefit of that is if you do want to have your public profile
- 25:36have, you know, PRs against say pandas or scikit-learn or something like that, those are
- 25:43mature, polished libraries that are hard to just get into yourself.
- 25:47But if you go to a sprint and sit down with somebody who's an expert and you guys do it
- 25:50together, well, there's a pretty quick way to get up to speed to where that you can start
- 25:55doing those things if you want.
- 25:56That's one of your paths you want to follow.
- 25:58And you're right.
- 25:59You're there at these sprints and you're able, you know, best case scenario to be pair
- 26:02programming with core developers on pandas or scikit-learn or numpy, right?
- 26:09That's crazy.
- 26:10Yeah.
- 26:11And so when you go to that job interview and they say, well, how does it really work inside
- 26:14pandas when you do this?
- 26:15Like, which would be better?
- 26:17Should I do this or that?
- 26:17You're like, well, internally it does this.
- 26:19And so here's why you do that.
- 26:20Like, that's an incredible answer.
- 26:21And you could totally get those kinds of insights from these sprints.
- 26:25I agree.
- 26:25Absolutely.
- 26:25And what that also demonstrates is that you're entrepreneurial, which I think, you know,
- 26:30a lot of people are looking for these days, someone who will, you know, take responsibility
- 26:34and run with it.
- 26:36Yeah.
- 26:36That puts you in a pretty thin group already, which is great.
- 26:40Yeah.
- 26:42You also said that reading blogs and things like that pretty helpful.
- 26:47Absolutely.
- 26:48Read as widely as possible.
- 26:50I think reading blogs, getting on newsletters, following people on Twitter is one of my greatest,
- 26:57greatest resources.
- 26:58So we've chatted about Jake VanderPlas.
- 27:01On the R side, you have Mara Averick, Hadley Wickham, Hilary Mason's great, Dave Robynson on the R side.
- 27:07I follow all these people, so you may as well follow me, Hugo Bowne, because I retweet a lot of this stuff.
- 27:12Catches the important retweets, right?
- 27:14As well.
- 27:15We're really arcing up on the Datacamp community at the moment.
- 27:21And as I said, ODSC has a fantastic blog.
- 27:24Python Weekly.
- 27:26There are so many different places.
- 27:28And I'll include a significant number of links in the notes of this podcast on this stuff as well.
- 27:35Yeah.
- 27:36I find that Twitter is super, super valuable.
- 27:38I also find Reddit, actually, if you don't mind, a few angry comments every now and then.
- 27:43Certainly, the Reddit community is great and really smart.
- 27:47So you can drop in on the data science one or the Python one and pick up a lot there.
- 27:53Yeah.
- 27:54Cool.
- 27:55And so this kind of sets the stage for you to be prepared to get a job, to make the connections to get a job.
- 28:02But eventually, probably most people's goals are to go get some kind of working data science job, right?
- 28:10Yes.
- 28:10So you already brought up recruiters.
- 28:13And I think that's certainly one of the possibilities.
- 28:16Probably one of the least effective ways to get a job is to just go to the career page and just apply by filling out the online form.
- 28:26You know, like a recruiter can help you get inside.
- 28:30If you have a friend that you know works at that place, ask for an introduction, right?
- 28:35I think most jobs that are really great jobs start looking for someone to fill it by saying, all right, team, who knows somebody who would be awesome for this job?
- 28:47Anyone?
- 28:47And then it becomes this open search, right?
- 28:50So how do you get inside this first round before it becomes just posted on the career page?
- 28:56I actually think hackathons are a great way to do that because you actually start coding with people there, do a bit of pair programming, and you get to meet people there.
- 29:07When there are jobs going around, there are a lot of working data scientists from all levels at these hackathons.
- 29:14I also think more specific online platforms, AngelList, if you want to work with startups, there's a lot of stuff happening there.
- 29:25And LinkedIn, in North America anyway, making your LinkedIn profile as attractive as possible will definitely help.
- 29:34And you'll get inbound mail coming as opposed to needing to go to the apply page.
- 29:39Yeah, and you're in a much better place when people are reaching out to you rather than the other way around, for sure.
- 29:43I think that's totally right.
- 29:45Yeah.
- 29:46The other, this is general advice to anyone applying for a job, and maybe everyone knows this, but when I heard it a few years ago, it blew my mind.
- 29:53And if you're applying for a job and sending a cover letter, use the same font and the same colors as that company's website.
- 30:00How interesting.
- 30:01Yeah, that's pretty easy to do, right?
- 30:03Yeah, exactly.
- 30:04And generally, they love it.
- 30:06We got one recently at Datacamp.
- 30:07We were like, wow, this looks really nice.
- 30:09And then we're like, wait a second.
- 30:10Oh, they've done that.
- 30:11And when we realized that they'd done that, it was even stronger.
- 30:14Yeah.
- 30:15Well, I think, you know, I did, I was on the receiving end of people applying for jobs for quite a while.
- 30:21Yeah.
- 30:22To me, when I saw something come in and it was just a standard resume or like, here, I'm applying for this job.
- 30:30Here's my info.
- 30:31If it wasn't, I think your company is amazing because, and I want to work with you to do X, like that went straight in the trash.
- 30:39Like if there was not something about the job, the place, the, you know, if it was just like, here's a copy of my Word document.
- 30:48It was like, well, here's a copy of my recycle bin.
- 30:51Next.
- 30:51Exactly.
- 30:52And it's the same when recruiters reach out to you.
- 30:54I mean, you know, I get recruiter mail on LinkedIn, which is like, your skill set matches our company.
- 30:59And I'm like, come on.
- 31:00Right?
- 31:00Yeah, exactly.
- 31:01It's not even, hey, you've done this cool stuff in Python and whatever it may be.
- 31:05But this actually speaks to something else, which is making it particular to the company and also making it particular to yourself.
- 31:12So being yourself when doing data science or trying to build your portfolio is incredibly important.
- 31:18I think playing to your own strengths, a lot of aspiring data scientists feel they need to be a data science unicorn so that they can, you know, they can do the data munging, data collection, data manipulation, machine learning, statistical inference, Bayesian methods, data visualization, data, you know, like this is crazy.
- 31:38Right?
- 31:39And when you're trying to teach people data science and they feel that that's, that's totally overwhelming.
- 31:44I'm actually overwhelmed by that, that sentence I just, just stated.
- 31:47Sounds like a PhD in math plus programming, right?
- 31:50Exactly right.
- 31:51And you don't need to be an expert at machine learning algorithms.
- 31:54For example, to be an effective data scientist, that will make you some sort of effective data scientist.
- 31:59But playing to your own strengths and realizing that data scientists work in teams.
- 32:03So I've, I've worked on a course recently with an educator and data scientist, Sergey Fogelson, who he manages a four person data science team at Viacom here at Times Square.
- 32:16And on his, I was chatting with him about his team.
- 32:19And he said, if everyone he hired, like knew the ins and outs of support vector machines, that would be a horrible team.
- 32:25He's got one person who is great at statistical data visualization.
- 32:31He has one person who's a data engineer and fantastic at that.
- 32:34He has one person who does the machine learning stuff and also has a background in math and physics.
- 32:40So he can actually explain the ins and outs of these algorithms to, to the rest of the team.
- 32:44I actually forget what the fourth, fourth person does.
- 32:48But that, that speaks to the fact that managers are aware that when they hire in teams, they're going to hire people with, with different strengths.
- 32:55And for that reason, I'd suggest to anyone entering data science to do things that interest you, have a play around.
- 33:02Like when developing your portfolio, you'll see, you've got to do different steps in the data science pipeline, figure out what you enjoy the most, and then apply for those jobs as well.
- 33:11Yeah, I totally agree with you.
- 33:13And I think one of the underlying things you're touching on here is authenticity.
- 33:17Because if you feel like someone is reaching out to you and they're being super authentic, like you said earlier about that, well, you know, I honestly have no idea what that term means, but I'm super excited to learn it if it's important.
- 33:27Like I would love, like I'm not against, you know, not against it.
- 33:30I just don't know every single little detail about this.
- 33:33I think when people are hiring, if you see the enthusiasm, you see some real problem solving skills and some authenticity, it really goes a long ways.
- 33:43Yeah.
- 33:43And being able to adapt, pivot and learn as well.
- 33:47So being able to say, hey, this is what I've learned in the past year.
- 33:51I have no idea what that means, Mrs. Hiring Manager, but I'm willing to learn that is incredibly important in this space.
- 33:59Because in all honesty, in five years, it might not be Python with the, you know, Julia may come up.
- 34:04R may really, really blast in again.
- 34:07So the ability to learn and relearn, I think, is incredibly important and demonstrating that.
- 34:14Yeah, absolutely.
- 34:15Because at a minimum, you have to learn the details and the ins out of like that actual problem set and that industry that maybe you don't have.
- 34:22So another thing you touched on was do what interests you.
- 34:27Because then you have the enthusiasm and that really is super powerful as well.
- 34:31And I'm a big fan of combining what you're interested in or what you have expertise in plus programming, plus data science.
- 34:40And I think it really gives you like this superpower.
- 34:43Like you talked about this cell biology project that you had.
- 34:47Like they were probably like, you know, go to Hugo.
- 34:50He can solve the problem because he both owns, he controls the magic of programming and he can do this biology stuff.
- 34:56And so there's this, this really unique set of skills.
- 35:01Like you don't, you don't go from like a million data scientists and how do you differentiate yourself from them?
- 35:06You're like, I'm, I'm the data scientist that also understands wind power like nobody else.
- 35:12So if I'm trying to apply to like a renewable energy company, like, well, that's a clear win, right?
- 35:16For sure.
- 35:18And I definitely think you've got to be doing something you're interested in.
- 35:22I think a lot of people may say, I'm going to do a Kaggle competition because that's what people do.
- 35:27I think Kaggle competitions are great, but choose one that you're super interested in.
- 35:31If, if you're interested in flight patterns in North America, do a Kaggle competition about, you know, how often flights are delayed, which airlines, which cities, that type of stuff.
- 35:39If you're a movie buff, jump into the movie lens data set and try to develop a basic recommender systems, recommendation systems engine.
- 35:48If you're into Yelp reviews, if, okay, if, if you hate Yelp reviews that don't give you enough information, try to learn a bit of natural language processing or natural language.
- 36:00understanding by segmenting or filtering or clustering these, these Yelp reviews.
- 36:05So doing things that interest you is incredibly powerful when developing your data science portfolio.
- 36:10But also it makes sense, right?
- 36:12In the sense that if someone's talking to you about something that they don't really care about, you're not that affected.
- 36:18Whereas we've all, we all love listening to people who are passionate about something, right?
- 36:22So that's, that's very powerful.
- 36:24Another approach, I actually had this conversation with a data scientist and statistician.
- 36:30in the R ecosystem, Mina Chetungkaya Rundle.
- 36:36I'm sorry if I got that pronunciation wrong, but we were discussing this and she said, yeah, do stuff that interests you or stuff that you have to do.
- 36:44And I said, what do you mean?
- 36:45And she said, well, let's say you're doing, you're trying to learn data science and you're doing your budgets, your monthly family budgets in Excel.
- 36:52Try to do that in R.
- 36:53Try to develop a minimal dashboard or in Python and see how that goes.
- 36:58If you wear a Fitbit, you know, get your Fitbit data out of CSVs and have a look at your own sleeping patterns and your own heart rate data and accelerometer data and that type of stuff.
- 37:08And write something on your blog or on GitHub about that.
- 37:13Right.
- 37:13I think even, you know, companies get created out of those types of activities, right?
- 37:18You're like, you know, I really wish I could do this thing better for myself.
- 37:21And I'm like, wait a minute.
- 37:21This seems like everybody must have this problem.
- 37:23And this is a cool solution.
- 37:24What can I do with that?
- 37:25Right?
- 37:26Exactly.
- 37:26This portion of Talk Python To Me was brought to you by GoCD.
- 37:31GoCD is an on-premise, open-source, continuous delivery tool to help you get better visibility into and control of your team's deployments.
- 37:39With GoCD's comprehensive pipeline modeling, you can model complex workflows for multiple teams with ease.
- 37:46And GoCD's value stream map lets you track changes from commit to deploy at a glance.
- 37:52Say goodbye to deployment panic and hello to consistent, predictable deliveries.
- 37:56We all know that continuous integration is super important to the code quality of your applications.
- 38:00Choose the open-source local CI server, GoCD.
- 38:04Learn more at talkpython.fm/gocd.
- 38:08That's talkpython.fm/gocd.
- 38:11I love that you spoke to this idea of creating superpowers by combining two or more areas of expertise because I think that will also help differentiate you.
- 38:21You know, a lot of people are out there trying to get data science jobs.
- 38:24But if you're data science plus, you differentiate yourself from everyone else who's speaking about data science.
- 38:31So if you're interested in data science plus analyzing genomic data or data science plus analyzing, as we discussed, Yelp reviews, that type of stuff will help differentiate you from the masses.
- 38:42Yeah, absolutely.
- 38:43If I was on the hiring side and I saw this is a person who is a proper data scientist, but they also know my industry, like that goes right at the top.
- 38:51That's great.
- 38:52Exactly.
- 38:52So let's talk about programming skills a little bit.
- 38:55Love to.
- 38:56Yeah.
- 38:56So I'm familiar with the programming skills you need to be a web developer, but how about data scientists?
- 39:02Like what do you think people should really focus on there?
- 39:05Currently, I would learn at least one technology really well by applying it to projects, the types of projects we've just discussed.
- 39:13I think the two most applicable technologies right now are Python and R.
- 39:18So if you learn one of them really well by applying it to projects, I'm not necessarily going and saying going and learning all the ins and outs of object oriented programming in Python.
- 39:30But the type of stuff you pick up when doing a project of, you know, analyzing social media trends using Twitter, you'll gain so much knowledge doing that.
- 39:40I'd also suggest learning a bit about others to be able to speak the language.
- 39:44So if you choose Python, I'd then learn a bit of R and not necessarily as much as you know in Python, but being able to speak that language will really help you in whatever roles you enter in the future.
- 39:57Yeah, certainly having these multiple languages as your skill set to understand like, well, maybe over in R, there's this really cool way to do this one thing that's not so easy in Python.
- 40:07And that can help you think of different ways to solve the problem, or maybe it's just not so obvious in Python how to do it, right?
- 40:13So that can definitely open your mind to like different avenues of solving these problems.
- 40:17And you maybe can grab a library that's important over there, port it over to Python and use it if you'd rather, right?
- 40:22For sure.
- 40:23And I think one great example of this is, so I use Python substantially more than I use R these days.
- 40:30One case in which maybe I'll jump into R is doing some, you know, very basic exploratory data analysis and filtering and that type of stuff.
- 40:38Because all these new tidyverse tools developed by Hadley Wickham, among other people, are incredibly useful for kind of rapid iteration of exploratory data analysis in a way that the more Pythonic tools perhaps are not.
- 40:55Sure. Yeah, that's a good example.
- 40:57So what do you think about, I'm not sure what the proper way to say, like sort of software engineering type of skills, like refactoring, design patterns, those kinds of ideas.
- 41:09Like how important is that kind of stuff versus a good exploratory, just we're just going to find the answer.
- 41:15We're just going to like rummage through this data type of programming.
- 41:18That's an incredibly important question that I don't have a concrete answer to yet.
- 41:23But I think what people need to do is, I mean, you don't want to go down the hole of becoming a developer.
- 41:31You're trying to do a data sign.
- 41:33I didn't actually mean it's a hole that you enter when you're becoming a developer.
- 41:36But you don't want to go down the hole of, you know, developing software engineering best practices and only focusing on that.
- 41:42But you do need basic programming best practices.
- 41:45So the first things are, you know, having a style guide, Python, pepe, all the way, commenting your code, using version control, have a workflow.
- 41:55And maybe you don't have this at the very start, but do exploratory data analysis and write exploratory code while it's working for you.
- 42:03But when you start tripping over it, when it starts to become more inefficient, then perhaps start to refactor your code.
- 42:08Have some, you know, put your functions in modules, in .py files, for example.
- 42:15Have an editor that you use or notebooks.
- 42:20Yeah.
- 42:20One of the areas that I see that this kind of stuff becomes really important is people can do super important work, especially if they're coming more from the science side towards the programming rather from the software side towards the data.
- 42:32Is they're really good at writing scripts that will answer their problem, but they're not super reusable.
- 42:40Right.
- 42:40They're kind of just like it goes through the steps that I need to solve my problem rather than here's the thing I could make an open source project.
- 42:45And imagine if pandas was just crammed inside of some other application in a way that wasn't able to become this amazing thing.
- 42:53Right.
- 42:53Exactly.
- 42:54And that's a huge bottleneck for working scientists.
- 42:58I mean, the type of code I saw, I don't want to be too hard on the biologists, but the type of code I saw was really like we had to go through it in serious detail to figure out what was happening in there, even when it was published.
- 43:14And of course, remember that you're writing code for other people to read.
- 43:18But more importantly, you're writing code for future you to read.
- 43:21Yes.
- 43:21So be good on future you.
- 43:24Yeah.
- 43:25I often have this thought of like, if I do this, my future self will thank me in programming, but also just in like making coffee before I go to bed.
- 43:32Right.
- 43:33Get ready to press the button.
- 43:34That's it.
- 43:35And I also think there are a few other technologies which we've spoken to in some sense.
- 43:40Git is incredibly useful.
- 43:41There can be a slightly steep learning curve before you see the value there.
- 43:47But I do think version control is incredibly necessary for data science moving forward.
- 43:55Learning Bash, a bit of shell, is really useful.
- 43:58If you're in a job and you need to spin up an AWS instance, you'll need to know a bit of that stuff.
- 44:05I don't necessarily, you know, say, spend weeks or months using it.
- 44:09And I know all of this can be quite overwhelming, all these different tools.
- 44:13But if you know a bit of each, you'll be in good stead for getting into data science.
- 44:19Yeah, what's worked for me a lot in these things is like, it's not like, well, I want to know Bash and Linux.
- 44:23So I'm just going to like study them to death.
- 44:25It's like, I have this problem I need to solve with Linux.
- 44:28Let me learn enough to make that problem, to solve that problem.
- 44:31And then you just keep doing this.
- 44:33Like you build up enough to like kind of hit most of the important areas anyway.
- 44:37Exactly.
- 44:38And once again, you're speaking to doing projects, right?
- 44:41Like having some particular project which you can do and learn tools around it.
- 44:46And as we've discussed, putting that on your blog, having, you know, a blog post, how I use Linux to solve this part of this problem.
- 44:54And if someone asks you about it, you can say, yeah, I know this and that about it.
- 44:58And you can check out more content on my blog.
- 45:01I think that's incredibly useful.
- 45:02Or on my GitHub, right?
- 45:03Yeah, yeah, absolutely.
- 45:04It's super important.
- 45:05So we talked about the programming stuff, kind of low level.
- 45:10What are the core skills?
- 45:11I mean, do I need to go and do I need a math degree to be a data scientist?
- 45:15Do I need to be a scientist, a programmer?
- 45:17Like what are the core skills?
- 45:18So you definitely don't need a math degree to be an effective data scientist.
- 45:23I do think, though, if you learn a bit along the way, let's say you're totally not into matrices and linear algebra and all of that jazz.
- 45:32That's cool.
- 45:34But if you do learn a bit along the way and try to not be scared of it, you know, you'll become probably a bit more effective.
- 45:41So I'd suggest you to try and ease yourself into that stuff.
- 45:44But the more important initial skills, being able to explore data, being able to read in a data set using Pandas, for example, or Data Table in R, and check it out.
- 45:57Look at some figures.
- 45:58Look at some summary statistics.
- 46:01That type of stuff.
- 46:02Very related to this is data cleaning and data manipulation.
- 46:05Anyone who's, you know, there's the saying that 80% of my job is cleaning data and manipulating it.
- 46:12And it's a joke because it's more like 95% of most people's jobs.
- 46:15And I think this is incredibly important.
- 46:19Statistics, I think, is really essential in data science.
- 46:25But I need to be careful there because when I say statistics, I don't mean the central limit theorem.
- 46:31I'm talking about applied statistics or practical statistics.
- 46:34And actually, when I was wrapping up my postdoc, I was asked the same question so many times by students that I started running workshops in R and Python called An Introduction to Practical Statistics, where we'd take their data sets and see how we can find out stuff in them from Python and R.
- 46:50So what I'm talking about there is, you know, how to compute the mean standard deviation, how to do basic statistical modeling, fitting polynomials, that type of stuff.
- 47:02Right. And answering, is this a trend, you know, are these correlated or not?
- 47:07Things like that, right?
- 47:08Exactly. And thinking about how then that translates in to my initial question as well.
- 47:14It's not only, you know, does this look linear?
- 47:17It's what are the implications of this?
- 47:19What can I tell to someone who doesn't know something about the Pearson correlation coefficient?
- 47:23How can I explain this in human terms to a manager, for example?
- 47:28Bootstrapping is an incredibly useful technique in statistics that I think everyone should know.
- 47:33I might try to explain very briefly what bootstrapping is.
- 47:37Yeah, yeah. Go for it, because I'm not entirely sure what it is myself.
- 47:40So, and it means something different in the world you're from as well, I think.
- 47:43Yes. There's two meanings of bootstrap that I know of already.
- 47:46Neither of them are what I'm thinking of.
- 47:48So I don't think what you're thinking of.
- 47:50Think about this. You've got some data set, people's heights in a certain population.
- 47:54And you have the average. So this is the average height of this data set.
- 47:59But you know that, let's say you only have 10 data points or 20 data points.
- 48:02You know that this won't actually be the average height of the entire population, right?
- 48:08So what you do is, so the average height you've got has some sort of error bars associated with it.
- 48:14And what you want to do is estimate those error bars.
- 48:17And so what you do is, you resample from the sample you have.
- 48:22So if you have 20 data points, you can resample 20 with replacement to get a slightly different average.
- 48:27You can do that 100, 1000 times.
- 48:30And then you get some sort of distribution of potential means or potential averages.
- 48:35So that will tell you, that's the bootstrap of the average.
- 48:37That will tell you kind of the spread of possible averages in the total population.
- 48:41But the great thing is that this isn't just, this doesn't just apply to averages or means.
- 48:48You know, you can do this with any statistic under certain scenarios.
- 48:50And it gives you a pretty good idea of what you're looking at statistically.
- 48:54That's really cool. It's like meta statistics, like statistics about statistics.
- 48:57Exactly.
- 48:59And the great thing is, once you have that distribution of means, you can visualize it, right?
- 49:03So you get a distribution, you can have a look at it.
- 49:06And that speaks to the next core skill that I think everyone, if you're not going to be a specialist in data visualization, that's fine.
- 49:12But as a working data scientist, you'll be asked time and time again to explain your results.
- 49:16And a picture is worth a thousand lines of code.
- 49:20So I think that's incredibly important to become adept at data visualization.
- 49:25I think the fifth point, which is a term on everyone's tongue, is machine learning, the related deep learning.
- 49:33I think machine learning is incredibly important for working data scientists.
- 49:38But I don't want aspiring data scientists or software engineers who are trying to enter the data science space to fall into the trap of thinking, if I can machine learn, in inverted commas, you know, that makes me a data scientist.
- 49:56And I'd suggest that definitely learn a bit about deep learning, but don't get sucked in or too sucked in unless you want that to be your focus.
- 50:04And then really do it, right?
- 50:06Yeah, it's definitely one of the most mysterious and sort of new buzzy parts of data science.
- 50:13Exactly.
- 50:13And the way it's related to this, you know, kind of re-burgeoning concept of artificial intelligence is fascinating.
- 50:20But it's, you know, there's also a potential for a bubble.
- 50:24I don't want to be too harsh on it because it's incredibly important.
- 50:27And the effects on, you know, on society and the way we live will be huge.
- 50:32But we need to be careful as well.
- 50:33Yeah, well, I think the probably the danger is that it can become the hammer where everything becomes a nail to hit it with.
- 50:39There was this funny image I retweeted on Twitter yesterday.
- 50:42I don't know where it came from originally, but there's this huge bulldozer thing.
- 50:46Instead of having like a big scoop on the end of its arm, it had like a little regular person-sized shovel.
- 50:51And it was like digging with it.
- 50:53And the quote was something like, you know, machine learning solution when all you really needed was a few if statements.
- 50:59It's something like that.
- 51:00That's fantastic.
- 51:02Yeah, and I do see that possibly being a danger, right?
- 51:05It's not the only way to solve problems.
- 51:06But the problems that they can solve are like they were unsolvable before.
- 51:10So it really does have the possibility to open new doors.
- 51:14All right.
- 51:14But it's not the only only tool for it.
- 51:16Yeah.
- 51:17I mean, you know, the pendulum swings both ways.
- 51:20And part of the reason it's really buzzy now is because it has been incredibly effective, as we've seen.
- 51:24Yeah.
- 51:25And these companies are saying, hey, we have tons of data and we don't fully understand it.
- 51:28Could this maybe be our magic silver bullet to unlock something we didn't know about?
- 51:33Yeah.
- 51:33And also you said story.
- 51:35Yeah.
- 51:35Storytelling, right?
- 51:37Storytelling is incredibly important.
- 51:38And I think, you know, even when you're writing a chunk of code, you're telling a story to future you or someone else who's reading it and trying to interpret it.
- 51:48But when developing a data science project, you're introducing them to a data set.
- 51:53You're showing them exploratory data analysis.
- 51:55You're potentially showing them some statistical inference, machine learning pipelines.
- 51:59So being able to explain in a variety of terms what your data science story is, is incredibly important.
- 52:08And to give takeaways at the end, to give an introduction, this type of stuff.
- 52:11So considering it a story and also thinking who your target audience is.
- 52:15If you want to, you know, write a blog post which a hiring manager can understand, that's one thing.
- 52:22But if you want to write a blog post who's someone who's, you know, very well versed in machine learning can understand, they're very different things.
- 52:29So just kind of think about that.
- 52:31Practice that.
- 52:32And read what other people do as well.
- 52:35There's a website.
- 52:36I can't remember what it is.
- 52:37But it's called something like, you know, 100 Interesting Jupyter Notebooks in Data Science.
- 52:43Yeah, I think I've seen that.
- 52:44That's really cool.
- 52:45Yeah.
- 52:45Yeah, that definitely is a great place.
- 52:48I think Jupyter Notebooks really are powerful and they've brought storytelling to code in a way that just wasn't there before.
- 52:55Absolutely.
- 52:56And the idea of being able to interactively write your code and see output straight away below the cell you've written in is really strong.
- 53:04And this was actually one of Jake Vanderpluss's points, right, in his PyCon keynote where, you know, someone said to him,
- 53:09Oh, I can't believe you use Jupyter.
- 53:11It's so slow and beefy.
- 53:14And he was like, Oh, I never thought about that.
- 53:16But that doesn't affect my workflow.
- 53:19It's really about, you know, speed of development for me, not speed of execution, I think, was his term.
- 53:26And that he can go in there.
- 53:27And we all can write some code, see the output, get some cool visualizations, move on, write some markdown in there in order to have some text and tell that story.
- 53:37Now, one of the greatest things, of course, now is that has been for some time that GitHub renders Jupyter Notebooks as well.
- 53:44So you can just give someone a link to your Jupyter Notebook on GitHub and they can go and check it out immediately without even needing to clone the repository.
- 53:53Oh, I didn't know that.
- 53:53That's awesome.
- 53:54Yeah.
- 53:54Yeah.
- 53:55Very cool.
- 53:55So I guess we're kind of getting near the end.
- 53:58Probably we've got to wrap it up a bit.
- 54:00But one of the final things we should focus on is, you know, it's a time of unparalleled information and learning resources.
- 54:10I mean, 20 years ago, it was get a book or get a degree.
- 54:13There's a whole lot more than that now, right?
- 54:16Absolutely.
- 54:16So you guys at DataCamp already have, you have a ton of courses for data scientists.
- 54:21Yeah.
- 54:22So I definitely think one way to keep up to date with what's happening in the field is online education.
- 54:27And there are lots of platforms for this which offer different things.
- 54:30So I think Coursera and edX, you know, open the world of online education, not only in data science and programming,
- 54:37but everything from, you know, the humanities to space exploration to politics, you know, and it's an incredible platform.
- 54:45Oh, sorry.
- 54:46Both of them are.
- 54:48Yeah.
- 54:48What we do at DataCamp is we're building a vertical platform for people to learn data science.
- 54:55And what we offer really, one of our major value propositions is it's more personalized in the sense that you get a shell and you get to write a script in the course.
- 55:07And you get automated personalized feedback.
- 55:10So let's say I try to import Pandas and then read in a CSV, but I pass the wrong argument to it or the wrong separator or something like that.
- 55:19DataCamp will say, hey, you passed in this argument.
- 55:22Why don't you try doing this instead in order to import it, read the CSV correctly?
- 55:29So we have a mixture of videos and interactive coding sessions.
- 55:32There are lots of other great places.
- 55:34Kevin Markham has his data school, which is great for Pythonic data science.
- 55:39Yeah, Kevin Markham.
- 55:40Yeah, Kevin Markham is doing really awesome stuff.
- 55:41Shout out to Kevin.
- 55:42I was just talking to him yesterday, actually.
- 55:44And he and I have done a little bit together.
- 55:46He's got some really cool stuff for data science and Python for sure.
- 55:51Absolutely.
- 55:52And of course, your courses, your talk Python courses for pure Python.
- 55:56Everyone should do this.
- 55:56Well, thank you very much.
- 55:57I appreciate the shout out.
- 55:58That's awesome.
- 55:59Of course.
- 56:00All right.
- 56:00Well, hopefully people who are getting started in data science or the programs, they want
- 56:05to move into data science.
- 56:06Hopefully this has been really helpful.
- 56:07I think there's a pretty concrete roadmap of steps that you can take to get there.
- 56:13So thanks for laying that out for us.
- 56:14Absolutely.
- 56:16And thanks for coming up with this idea for us to have this chat as well.
- 56:19Yeah, it's been really cool.
- 56:20Yeah, it's super fun.
- 56:21I think everyone's going to enjoy it, I think.
- 56:22All right.
- 56:23So before I let you get out of here, though, you've got two questions to answer.
- 56:27First of all, if you're going to write some code, namely Python code, really, what editor
- 56:30do you open up?
- 56:31When I use an editor, which I do for scripting, I'll use Atom.
- 56:34But as we've said, for most data science, I do it in Jupyter Notebooks.
- 56:38I love Jupyter Notebooks.
- 56:39Also, I'd recommend very soon, or even now, people checking out JupyterLab.
- 56:45I don't know JupyterLab.
- 56:46Tell us about it.
- 56:47JupyterLab's amazing.
- 56:49It's really a modular infrastructure for data science and scientific computing.
- 56:56So you open up your JupyterLab kernel, and you can have a Jupyter Notebook in there.
- 57:03You can have a terminal in there.
- 57:04You can have a markdown file, which you see rendered immediately.
- 57:08You can even have notebooks.
- 57:10You and I can open Jupyter Notebooks in our respective JupyterLab environments and collaborate
- 57:15on them in real time.
- 57:17And you can paste code into the chat that then I can paste into my notebook.
- 57:22So it's really kind of a new modular infrastructure.
- 57:24That's awesome.
- 57:25It's like social Jupyter.
- 57:27Yeah, absolutely.
- 57:29That sounds great.
- 57:29So that's super exciting.
- 57:31And the development around that is really strong.
- 57:35Nice.
- 57:36Okay.
- 57:36So notable PyPI package.
- 57:39Okay.
- 57:39So there are so many.
- 57:40It's so hard.
- 57:42It's like 120,000 almost now.
- 57:44It's insane.
- 57:45I actually, I'll mention one that I recently discovered, and I've only played around with,
- 57:49but it seems super cool.
- 57:49It's called Newspaper.
- 57:51And I've been thinking about it a bit recently.
- 57:52I spent a lot of my time trying to scrape HTML and prettify it.
- 57:58So, and for that, I use, generally, I use requests and BeautifulSoup, which those are huge.
- 58:03But that isn't, those aren't the ones I'm talking about at the moment.
- 58:05This is called Newspaper.
- 58:06And it's a really simple API for scraping articles and curating them and doing natural
- 58:10language processing.
- 58:11So you can, you know, get in touch with the New York Times or whatever it may be.
- 58:17Scrape the article really easily.
- 58:18There are some natural language processing methods, title methods, text methods, that type of stuff,
- 58:23where it'll, you know, I think the method, I probably won't get this right, but it's something
- 58:27like NLP method, and it spits out keywords and topics and that type of stuff.
- 58:32So I've only played around with it.
- 58:33Yeah, it's an incredible library.
- 58:35Yeah, I just discovered it recently as well.
- 58:37And basically, the idea is, instead of combining requests, plus BeautifulSoup, and then you
- 58:43have to, you get the text and the semantic markup, and you got to do whatever you're going to
- 58:46do.
- 58:46It's like, you can just point it at an article and say, who was the author?
- 58:50When was this published?
- 58:51Exactly.
- 58:52What are the keywords?
- 58:53And you can point it at the homepage, like the homepage of the New York Times to say,
- 58:57what are the articles on this page?
- 58:58It's crazy.
- 58:59It's awesome.
- 58:59And it deals with date times in a really intuitive, nice way, which date times are the bane of
- 59:06my existence a lot of the time.
- 59:07Why are date times so hard?
- 59:09They are, though.
- 59:10It really is tricky.
- 59:11So I think James Gleick has this thing where it's an article about how there should just be
- 59:16one time zone.
- 59:17I'm not going to go into that, but I'm just putting that out there.
- 59:20It's not obvious who would be the center of that time zone, but...
- 59:23Yeah, that's a big debate there, right?
- 59:25But I wake up at two in the afternoon, and then I get up, right?
- 59:29Like, that would totally simplify things.
- 59:31His argument is that time zone is a historical artifact that we need to get rid of.
- 59:35But that's my notable PyPI package.
- 59:38I just wanted to give a few shout outs to a bunch of others from the data science Python
- 59:43stack.
- 59:43And this list is by no means exhaustive, but I use Pandas, scikit-learn, NumPy is huge.
- 59:50Matplotlib, Seaborn, Altair, and Bokeh are all great for data viz.
- 59:54DAS for distributed computing.
- 59:56PyMC3, stats models.
- 59:58These are all really interesting and core elements of the data science Python stack that I use and
- 1:00:06love.
- 1:00:06Yeah, those are all very, very good ones.
- 1:00:08So awesome.
- 1:00:09Yeah, newspaper.
- 1:00:10Lots of fun with that one.
- 1:00:12All right.
- 1:00:12So here you go.
- 1:00:14Final call to action.
- 1:00:14People, they want to get into data science.
- 1:00:16What do you say?
- 1:00:17Get out there and do things.
- 1:00:19Play to your own strengths.
- 1:00:20Be brave.
- 1:00:21And something we haven't really chatted about, realize that imposter syndrome is a real thing
- 1:00:27for everybody.
- 1:00:27So at the inaugural JupyterCon this year, Fernando Perez, the creator of iPython, for real, the
- 1:00:35creator of iPython and co-leader of Project Jupyter, encouraged everyone to realize that
- 1:00:40everyone has imposter syndrome and that he himself has imposter syndrome.
- 1:00:44So anytime you think you're an imposter, remember that Fernando Perez feels the same way.
- 1:00:49He's out there changing the world and so can you, right?
- 1:00:51Exactly.
- 1:00:52Awesome.
- 1:00:53That's it.
- 1:00:53All right.
- 1:00:53Well, great to talk with you.
- 1:00:54And thanks for coming on the show.
- 1:00:56Such a pleasure.
- 1:00:57Thank you.
- 1:00:59This has been another episode of Talk Python To Me.
- 1:01:02Today's guest has been Hugo Brown Anderson.
- 1:01:04And this episode has been brought to you by Rollbar and GoCD.
- 1:01:08Rollbar takes the pain out of errors.
- 1:01:11They give you the context and insight you need to quickly locate and fix errors that might have
- 1:01:16gone unnoticed until your users complain, of course.
- 1:01:19As Talk Python To Me listeners, track a ridiculous number of errors for free at
- 1:01:23rollbar.com slash Talk Python To Me.
- 1:01:26GoCD is the on-premise, open-source, continuous delivery server.
- 1:01:30Want to improve your deployment workflow but keep your code and builds in-house?
- 1:01:34Check out GoCD at talkpython.fm/gocd and take control over your process.
- 1:01:41Are you or a colleague trying to learn Python?
- 1:01:43Have you tried books and videos that just left you bored by covering topics point by point?
- 1:01:48Well, check out my online course, Python Jumpstart, by building 10 apps at
- 1:01:52talkpython.fm/course to experience a more engaging way to learn Python.
- 1:01:56And if you're looking for something a little more advanced,
- 1:01:59try my Write Pythonic Code course at talkpython.fm/pythonic.
- 1:02:04Be sure to subscribe to the show.
- 1:02:06Open your favorite podcatcher and search for Python.
- 1:02:09We should be right at the top.
- 1:02:10You can also find the iTunes feed at /itunes,
- 1:02:13Google Play feed at /play, and direct RSS feed at /rss.
- 1:02:18on talkpython.fm.
- 1:02:19This is your host, Michael Kennedy.
- 1:02:21Thanks so much for listening.
- 1:02:22I really appreciate it.
- 1:02:23Now get out there and write some Python code.
- 1:02:25I'll see you next time.
- 1:02:26Bye.
- 1:02:26Bye.
- 1:02:26Bye.
- 1:02:26Thank you.
- 1:02:46Thank you.