Skip to content

ZubeidaB/Python-Exercises-Array-Manipulation-and-Transformation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python Exercises: Array Manipulation and Transformation

Welcome to my Python exercises repository! This collection of exercises focuses on array manipulation and transformation using Python. Each exercise is designed to enhance your skills in handling arrays and performing fundamental operations.

Exercise Overview

1. Creating and Manipulating Arrays

  • Create Array: Generate an array using Python.
  • Check Dimensions: Use a function to check the dimensions of the array.
  • Reshape Array: Reshape the array to explore its structure.

2. Filtering and Analyzing Data

  • Non-Duplicated Data: Create a function to obtain non-duplicated elements from the array.
  • Transform to List: Convert the non-duplicated data back to a list.
  • Statistical Analysis: Obtain the mean and quartiles for the non-duplicated data.

3. Matrix Operations

  • Add Unit to Each Element: Add a unit to each element of the array.
  • Create Diagonal Matrix: Generate a diagonal matrix based on the modified array.
  • Equally Divide: Equally divide the diagonal matrix into n spaces.

Usage

Explore each exercise independently to strengthen your Python skills in array manipulation. Code snippets and explanations are provided to aid your understanding. Feel free to modify and experiment with the code for further learning.

Getting Started

  1. Clone the repository:

    git clone https://github.com/ZubeidaB/python-exercises.git

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published