Sie sind auf Seite 1von 6

7/18/2019 Python Functions | DataCamp

INTERACTIVE COURSE

Python Data Create Your Free Account

Science Toolbox LinkedIn

(Part 1) or

Learn the art of writing your own functions in


Email address
Python, as well as key concepts like scoping and
error handling.
Password

Start Course For Free Play Intro Video


Get Started

By continuing you accept the Terms of Use


3 hours 12 Videos 46 Exercises
and Privacy Policy, that your data will be
stored outside of the EU, and that you are
133,764 Participants 3,650 XP
16 years or older.

Loved by learners at thousands of top companies:

https://www.datacamp.com/courses/python-data-science-toolbox-part-1 1/6
7/18/2019 Python Functions | DataCamp

Course Description
It's now time to push forward and develop your Python chops even further. There are lots
and lots of fantastic functions in Python and its library ecosystem. However, as a Data
Scientist, you'll constantly need to write your own functions to solve problems that are
dictated by your data. The art of function writing is what you'll learn in this first Python
Data Science toolbox course. You'll come out of this course being able to write your very
own custom functions, complete with multiple parameters and multiple return values, along
with default arguments and variable-length arguments. You'll gain insight into scoping in
Python and be able to write lambda functions and handle errors in your very own function
writing practice. On top of this, you'll wrap up each Chapter by diving into using your
acquired skills to write functions that analyze twitter DataFrames and are generalizable to
broader Data Science contexts.

1 Writing your own functions FREE

Here you will learn how to write your very own functions. In this Chapter, you'll learn
how to write simple functions, as well as functions that accept multiple arguments and
return multiple values. You'll also have the opportunity to apply these newfound skills to
questions that commonly arise in Data Science contexts.

VIEW CHAPTER DETAILS

Play Chapter Now

Default arguments, variable-length arguments and scope

In this chapter, you'll learn to write functions with default arguments, so that the user
doesn't always need to specify them, and variable-length arguments, so that they can
pass to your functions an arbitrary number of arguments. These are both incredibly
useful tools! You'll also learn about the essential concept of scope. Enjoy!

VIEW CHAPTER DETAILS

Play Chapter Now

https://www.datacamp.com/courses/python-data-science-toolbox-part-1 2/6
7/18/2019 Python Functions | DataCamp

Lambda functions and error-handling

Herein, you'll learn about lambda functions, which allow you to write functions quickly
and on-the- y. You'll also get practice at handling errors that your functions, at some
point, will inevitably throw. You'll wrap up once again applying these skills to Data
Science questions.

VIEW CHAPTER DETAILS

Play Chapter Now

What do other learners have to say?

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph


Lloyd's Banking Group

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden
Harvard Business School

“DataCamp is by far my favorite website to learn from.”

https://www.datacamp.com/courses/python-data-science-toolbox-part-1 3/6
7/18/2019 Python Functions | DataCamp

Ronald Bowers
Decision Science Analytics @ USAA

Hugo Bowne-Anderson
Data Scientist at DataCamp

Hugo is a data scientist, educator, writer and podcaster and DataCamp. His main interests
are promoting data & AI literacy, helping to spread data skills through organizations and
society and doing amateur stand up comedy in NYC. If you want to know what he likes to
talk about, de nitely check out DataFramed, the DataCamp podcast, which he hosts and
produces: https://www.datacamp.com/community/podcast

See More

TRACKS

Data Analyst with Python

Data Scientist with Python

Python Programmer

Python Programming

COLLABORATORS

Francisco Castro

PREREQUISITES

Introduction to Python

Intermediate Python for Data Science

DATASETS

Tweets

https://www.datacamp.com/courses/python-data-science-toolbox-part-1 4/6
7/18/2019 Python Functions | DataCamp

LEARN

Courses

Skill Tracks

Career Tracks

Pricing

Become an Instructor

RESOURCES

Community

RDocumentation

Course Editor

Upcoming Courses

Support

PLANS

For Business

For Classrooms

ABOUT

Stories

Careers

Contact

Press

Become a Partner

Privacy Policy

Terms of Use

https://www.datacamp.com/courses/python-data-science-toolbox-part-1 5/6
7/18/2019 Python Functions | DataCamp

DataCamp offers interactive R, Python, Sheets, SQL and shell courses. All on topics in data science,
statistics and machine learning. Learn from a team of expert teachers in the comfort of your
browser with video lessons and fun coding challenges and projects.

ABOUT THE COMPANY

© 2019 DataCamp Inc.

https://www.datacamp.com/courses/python-data-science-toolbox-part-1 6/6

Das könnte Ihnen auch gefallen