Giter Site home page Giter Site logo

pythonnumpyexercises's Introduction

Python NumPy Exercises

. Exercise_1 - Creating a User Interactive Numpy Array

The purpose of this project, creating is to one-dimensional array or two-dimensional array with user interaction.
For code explain.

. Exercise_2 - Methods of Creating Numpy Array

In this exercise, I have specified methods that can be used to create arrays with the python numpy library.
I mention seven functions you can use to create a numpy array in this exercise. These functions are shown below.
- np.zeros()
- np.ones()
- np.full()
- np.arange()
- np.linspace()
- np.random.normal()
- np.random.randint()
You can find explanations and examples of functions in this exercise.

. Exercise_3 - Search Engine

The purpose of this exercise is to find integer values received from the user in a randomly generated numpy array.
The program gives the following output:

  • The numpy list as generated randomly.(It is set to create an array with a maximum of 100 rows, 100 columns and 100 elements.)
  • Cell numbers of searched integer value.
  • Row and column numbers of randomly generated array.
  • How many times the searched integer value repeated in the array.

. Exercise_4 - Four Operations In Numpy Arrays

In this exercise I showed how to perform four operations in numpy arrays.
Methods I use for this are show below:
- np.sum()
- np.subtract()
- np.multiply()
- np.divide()

pythonnumpyexercises's People

Contributors

yasinbrcn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.