Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
#17 Control Structures and Functions | Python for Data Science
Play lesson

Python for Data Science - #17 Control Structures and Functions | Python for Data Science

4.0 (2)
25 learners

What you'll learn

This course includes

  • 9.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Welcome to 'Python for Data Science' course ! This video transitions from data manipulation to programming concepts in Python, covering control structures and functions, which are essential for automating tasks and creating reusable code blocks. Control structures allows you to control the execution order of your code. It covers the if-elif-else family for conditional execution, where code blocks are executed based on the truth value of conditions. Looping structures, like for and while loops, are explained for repetitive tasks. For loops iterate over a sequence, while while loops continue execution as long as a condition remains true.It also explains how to define functions using the def keyword, specify parameters (inputs), and return values (outputs) (). You'll further learn how to call functions with different arguments and use them to streamline your code and improve readability. The lecture highlights the distinction between functions that accept single arguments, multiple arguments, and those returning multiple output values, which are packaged as a single object, like a tuple. In summary, this video introduces the fundamental programming constructs of control structures and functions in Python, providing you with the tools to write more efficient, organized, and reusable code for your data science projects. NPTEL Courses permit certifications that can be used for Course Credits in Indian Universities as per the UGC and AICTE notifications. To understand various certification options for this course, please visit https://nptel.ac.in/courses/106106212 #ControlStructures #Functions #ifelif #forloop #whileloop #FunctionDefinition #FunctionArguments #FunctionOutputs

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere