Data Warehousing
Top 88 Data Modeling Interview Questions and Answers
Here are data modelling interview questions for fresher as well as experienced candidates. 1) What...
Slicing data is trivial with numpy. We will slice the matrice "e". Note that, in Python, you need to use the brackets to return the rows or columns
## Slice import numpy as np e = np.array([(1,2,3), (4,5,6)]) print(e) [[1 2 3] [4 5 6]]
Remember with numpy the first array/column starts at 0.
## First column print('First row:', e[0]) ## Second colprint('Second row:', e[1])
Output:
First row: [1 2 3] Second row: [4 5 6]
In Python, like many other languages,
print('Second column:', e[:,1])
Second column: [2 5]
To return the first two values of the second row. You use : to select all columns up to the second
## Second Row, two values print(e[1, :2]) [4 5]
Here are data modelling interview questions for fresher as well as experienced candidates. 1) What...
Data modeling is a method of creating a data model for the data to be stored in a database. It...
What is Data warehouse? A data warehouse is a technique for collecting and managing data from...
Data mining is looking for hidden, valid, and all the possible useful patterns in large size data...
{loadposition top-ads-automation-testing-tools} ETL testing is performed before data is moved into...
What is Teradata? Teradata is massively parallel open processing system for developing large-scale data...