Filtering NumPy Array

Submitted by moazkhan on

In this tutorial you will learn:

  • What is Array Filtering?
  • Boolean Array based filtering

Array Filtering

Separating specific elements based on a specific condition and making another array from those elements is called filtering. Filtering can be carried out either by iterating complete array and checking each element against a specific condition or it can be carried out using by applying a Boolean array on the given array which we want to filter out.

Boolean Array Based Filtering

Employee Leave Management System

Submitted by razormist on
Employee Leave Management System with Source Code is a C++ program that can establish a leave for employee and monitor the daily records. The system was developed using C++ language. The system can be access without providing login information, the user can navigate the user by entering a certain keys. The user can add new employees, modifying employee information, can delete specific row, and can

NumPy Search Sort

Submitted by moazkhan on

In this tutorial you will learn:

  • NumPy searchsorted function()
  • How to use NumPy searchsorted?
  • Python syntax

NumPy searchsorted() function

NumPy searchsorted() function works well for the sorted arrays as this algorithm specifies the index into which the number should be inserted inorder to maintain a sequence and search order of the array. The seachsorted() alogirthm performs a binary search as it compares the target value to the middle element of the array and progresses accordingly.

Examples

Get Time Difference Between Two Date Using PHP

Submitted by razormist on
In this tutorial we will create a Get Time Difference Between Two Date using PHP. The code will automatically calculate the time between the two given date. This is a user-friendly kind of program feel free to modify it. To learn more about this tutorial, just follow the step below.

Getting Started:

First you have to download & install XAMPP or any local server that run PHP scripts.

TicTacToe Game in Python GUI

Submitted by donbermoy on
About the Project The TicTacToe GUI game starts with a GUI board. First, the player has to click on any box to start the game. It contains the Minimax algorithm, which is a decision rule used for a two-player game. You can also see the score of the players at the bottom of the board. A simple 2D GUI is provided for comfortable gameplay. The gameplay design is so simple that users won’t find it

NumPy Where Function

Submitted by moazkhan on

In this tutorial you will learn:

  • What is array search?
  • NumPy where() function
  • Python Syntax

Array Search

Array search is carried out to check whether a specific element (alphabet / word / number) exist in an array or not. Generally all the searching algorithms return index of the number being searched and procedure involves iterating through each element of the array. There are two methods in NumPy for searching the array

Flappy Bird Game Using Pygame

Submitted by razormist on
Flappy Bird Game with Source Code is a Python program that is a single-player arcade game that is similar to the ones from Android and IOS system. This program was developed using Python language. The program is very simple, the player can control the bird by clicking the screen with left click in order to move the bird upward. The player must survive until the end to get higher score than anyone