DATA MUNGING
DATA CLEANING PYTHON
MACHINE LEARNING RECIPES
PANDAS CHEATSHEET
ALL TAGS
# How to delete instances with missing values in Python?

This recipe helps you delete instances with missing values in Python

In many dataset we find missing values so how to delete missing values.

So this is the recipe on how we can delete instances with missing values in Python.

```
import numpy as np
```

We have only imported numpy which is needed.

We have created array of which we will delete missing value.
```
X = np.array([[1.1, 11.1],
[2.2, 22.2],
[3.3, 33.3],
[4.4, 44.4],
[np.nan, 55]])
```

We will drop missing value by using np.isnan() and we will print it.
```
X = X[np.isnan(X).any(axis=1)]
print(X)
```

So the output comes as

[[nan 55.]]

**
Download Materials
**

In this R data science project, we will explore wine dataset to assess red wine quality. The objective of this data science project is to explore which chemical properties will influence the quality of red wines.

In this deep learning project, you will learn to build an accurate, fast, and reliable real-time fruit detection system using the YOLOv4 object detection model for robotic harvesting platforms.

In this Project we will build an ARCH and a GARCH model using Python

MLOps on GCP - Solved end-to-end MLOps Project to deploy a Mask RCNN Model for Image Segmentation as a Web Application using uWSGI Flask, Docker, and TensorFlow.

In this time series project, you will explore various time series smoothing techniques and build a moving average time series forecasting model in python from scratch.

This Project Explains how to deploy a machine learning model to the cloud (Google Cloud Platform) using both traditional approach and containerized approach

Build your own image similarity application using Python to search and find images of products that are similar to any given product. You will implement the K-Nearest Neighbor algorithm to find products with maximum similarity.

Given big data at taxi service (ride-hailing) i.e. OLA, you will learn multi-step time series forecasting and clustering with Mini-Batch K-means Algorithm on geospatial data to predict future ride requests for a particular region at a given time.

In this data science project in R, we are going to talk about subjective segmentation which is a clustering technique to find out product bundles in sales data.

In this deep learning project, you will implement one of the most popular state of the art Transformer models, BERT for Multi-Class Text Classification