Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

FODS - Summary Exercise sessions

Beoordeling
-
Verkocht
8
Pagina's
15
Geüpload op
03-06-2024
Geschreven in
2023/2024

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.

Instelling
Vak

Voorbeeld van de inhoud

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

Geschreven voor

Instelling
Studie
Vak

Documentinformatie

Geüpload op
3 juni 2024
Aantal pagina's
15
Geschreven in
2023/2024
Type
SAMENVATTING

Onderwerpen

$4.78
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
jefdecuyper Vrije Universiteit Brussel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
63
Lid sinds
6 jaar
Aantal volgers
17
Documenten
10
Laatst verkocht
3 maanden geleden

5.0

1 beoordelingen

5
1
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen