DATA MUNGING
# How to reshape a Numpy array in Python?

# How to reshape a Numpy array in Python?

This recipe helps you reshape a Numpy array in Python

This data science python tutorial does the following: 1. Analyzes time difference between numpy and normal arrays 2. Creates numpy matrix 3. Reshapes your numpy matrix

In [2]:

```
## How to Reshape a Numpy Array or Matrix
def Kickstarter_Example_4():
print()
print(format('How to Reshape a Numpy Array', '*^52'))
# Load library
import numpy as np
# Create a 4x3 matrix
matrix = np.array([[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[10, 11, 12]])
# Reshape matrix into 2x6 matrix
print()
print(matrix.reshape(2, 6))
print()
print(matrix.reshape(3, 4))
print()
print(matrix.reshape(6, 2))
Kickstarter_Example_4()
```

Data science project in R to develop automated methods for predicting the cost and severity of insurance claims.

In this machine learning project, we will use binary leaf images and extracted features, including shape, margin, and texture to accurately identify plant species using different benchmark classification techniques.

Machine Learning Project - Work with KKBOX's Music Recommendation System dataset to build the best music recommendation engine.

In this project, we are going to work on Deep Learning using H2O to predict Census income.

PySpark Project-Get a handle on using Python with Spark through this hands-on data processing spark python tutorial.

Data Science Project in R-Predict the sales for each department using historical markdown data from the Walmart dataset containing data of 45 Walmart stores.

In this machine learning project, you will develop a machine learning model to accurately forecast inventory demand based on historical sales data.

Data Science Project in R -Build a machine learning algorithm to predict the future sale prices of homes.

Data Science Project - Build a recommendation engine which will predict the products to be purchased by an Instacart consumer again.

In this data science project, we will predict the credit card fraud in the transactional dataset using some of the predictive models.