Data Warehousing
25 BEST ETL Tools in 2021 (Free & Paid)
ETL is a process that extracts the data from different RDBMS source systems, then transforms the...
In some occasions, you need to reshape the data from wide to long. You can use the reshape function for this. The syntax is
numpy.reshape(a, newShape, order='C')
Here,
a: Array that you want to reshape
newShape: The new desires shape
Order: Default is C which is an essential row style.
Exampe of Reshape
import numpy as np e = np.array([(1,2,3), (4,5,6)]) print(e) e.reshape(3,2)
Output:
// Before reshape [[1 2 3] [4 5 6]]
//After Reshape array([[1, 2], [3, 4], [5, 6]])
When you deal with some neural network like convnet, you need to flatten the array. You can use flatten(). The syntax is
numpy.flatten(order='C')
Here,
Order: Default is C which is an essential row style.
Exampe of Flatten
e.flatten()
Output:
array([1, 2, 3, 4, 5, 6])
ETL is a process that extracts the data from different RDBMS source systems, then transforms the...
What is Data Mining? Data Mining is a process of finding potentially useful patterns from huge...
What is Teradata? Teradata is an open-source Database Management System for developing large-scale...
Data Warehouse Concepts The basic concept of a Data Warehouse is to facilitate a single version of...
This Python NumPy tutorial is designed to learn NumPy basics. In this NumPy Python tutorial for...
In this Tableau Data Connections tutorial, you will learn about different data sources or data...