Skip to content

We have created the following optional exercises for you so you can practice and self-assess your understanding of python basics and pandas.

License

Notifications You must be signed in to change notification settings

Generation-Data/python_wb_basics.pandas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Workbooks for Self-Assessing Understanding of Python Basics and Pandas

Overview

This repository contains exercises designed to help participants practice the basics of Python and Pandas. The exercises cover various data manipulation and analysis tasks, including importing data, inspecting data structures, filtering data, and more.

Getting Started

To get started, clone this repository and open it in GitHub Codespaces. When you first run it in Codespaces, the intent is to run the command python in the terminal to start a Python interactive shell, then copy and paste your written code into the shell.

Exercise File

The exercises are provided in the exercises.py file. Follow the instructions and complete each exercise step-by-step.

Solutions File

If you need help or want to check your work, you can refer to the wb_with_code.py file, which contains the solutions to the exercises.

Exercises

  1. Import necessary libraries and load data from a CSV file into a Pandas DataFrame.
  2. Inspect the DataFrame to understand its structure and content.
  3. Filter data based on specific conditions.
  4. Select specific columns and rename them.
  5. Identify and handle missing data in the DataFrame.
  6. Translate a SQL query into Pandas code.
  7. Perform grouping and aggregation operations.
  8. Export data from a DataFrame to a CSV or Excel file.

Resources

About

We have created the following optional exercises for you so you can practice and self-assess your understanding of python basics and pandas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published