This repository contains solutions to weekly exercises for a Python programming course, focused on object-oriented programming and data manipulation using Pandas.
- Variables, data types, and basic operations.
- String manipulation and basic input/output.
- Conditional statements and loops.
- Creating and using functions.
- Importing and utilizing Python standard library modules.
- Understanding scope and recursion.
- Lists, tuples, and dictionaries.
- Working with sets and frozensets.
- List comprehensions and dictionary comprehensions.
- Reading from and writing to files.
- Handling exceptions with try-except blocks.
- Working with different file formats (text, CSV).
-
Product Class:
- Create a
Producto
class with attributes:codigo
,nombre
,precio
, andtipo
. - Implement methods to calculate total price, getters, setters, and a custom string representation.
- Create a
-
Atoms and Inheritance:
- Create an
Atomos
class with attributes:simbolo
,nombre
,electrones
, andnumero_atomico
. - Implement methods to add/remove electrons and calculate the atom's charge.
- Create subclasses
Semimetales
,Metales
,Radioactivos
, andNoRadioactivos
, each with specific attributes and methods, including radiation control, magnetism, and radioactivity status.
- Create an
-
Pandas Basics:
- Introduction to Pandas: Series and DataFrames.
- Data loading, cleaning, and preprocessing.
- Data analysis: groupby, aggregation, and filtering.
- Data visualization basics using Pandas.
-
IMDB Data Analysis:
- Analyze two datasets:
imdb_elenco.csv
andimdb_titulos.csv
. - Perform data manipulation and exploration, including filtering, merging, and summarizing data from the IMDB datasets.
- Analyze two datasets:
Note: The .csv
files used in Week 6 are too large to be uploaded to GitHub. If you need access to these files, please contact me directly, and I will provide them to you.