100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
FODS - Summary Exercise sessions $2.79   Add to cart

Summary

FODS - Summary Exercise sessions

 24 views  0 purchase
  • Course
  • Institution

A summary of all important terms, steps taken in exercises etc. of all the exercise sessions of FODS throughout the year. Used as prepartion for oral exam.

Preview 2 out of 15  pages

  • June 3, 2024
  • 15
  • 2023/2024
  • Summary
avatar-seller
Summary of Exercise sessions

Exercise session 1

Session Overview
Topic: Introduction to Python/Recap
• Basics of Python: Variables, Lists, Loops, Functions, and Methods.
• Introduction to using packages.

Key Python Concepts

1. Variables
• Definition: Storage of values with a specific, case-sensitive name.
• Data Types:
o Int(eger): Whole numbers (e.g., 23).
o Float: Numbers with fractional parts (e.g., 2.3).
o Str(ing): Text (e.g., "word").
o Bool(ean): True or False.
• Operations: Arithmetic operations differ based on data types.


2. Lists and Loops
• Lists: Collections of values, which can contain any data type, including other lists.
• Operations:
o Subsetting: Selecting values from a list.
o Slicing: Selecting sublists.
o Loops: Iterating through lists using "for" statements.


3. Functions and Methods
• Function: A block of code that runs when called, can take parameters, and return
data.
o Syntax: def function_name(parameters): followed by indented code block and
return statement.
• Methods: Functions associated with specific objects (e.g., list.append()).


4. Packages
• Definition: Directories of Python modules containing functions, methods, and types.
• Examples: Numpy, Matplotlib, Scikit-learn.
• Usage:
o Install: Typically pre-installed in sessions.
o Import: Use import package_name.
o Access: Call functions/methods from the package.

Exercises Overview

Level 1: Variables
• Save and call values using variables.

, • Different data types and operations.
• Formative tests to check understanding and correct mistakes.

Level 2: Lists and Loops
• Create and manipulate lists.
• Use loops to iterate and perform operations on list elements.
• Formative tests to identify and fix common mistakes.

Level 3: Functions and Methods
• Build and call functions with parameters.
• Utilize methods specific to object types.
• Formative tests to practice writing and debugging functions.

Level 4: Packages
• Explore and use packages like Matplotlib and Pandas for data visualization and
analysis.
• Exercises focus on installing, importing, and utilizing package functionalities.


Exercise session 2

Session Overview
Topic: Data Visualization & Analysis
• Recap on variables, lists, loops, functions, and methods.
• Exercises on using Matplotlib and Pandas for data understanding.

Key Concepts Recap

1. Variables
• Different Data Types: Int, Float, Str, Bool.
• Assigning and calling values with variables.

2. Lists and Loops
• Lists as collections of values.
• Iterating through lists using "for" statements.

3. Functions and Methods
• Functions: Blocks of code that run when called, can take parameters and return
data.
• Methods: Functions associated with specific objects.

4. Packages
• Definition: Groups of specific functions, methods, and object types.
• Examples: Numpy, Matplotlib, Scikit-learn, Pandas.
• Importing packages and their functions.

Data Visualization with Matplotlib

Data Manipulation with Pandas

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller jefdecuyper. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $2.79. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80630 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$2.79
  • (0)
  Add to cart