Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.44 KB

readme.md

File metadata and controls

44 lines (34 loc) · 1.44 KB

Big Data Computation with Python

Description

This repository contains practical exercises and assignments for the Big Data Computation course at Gunadarma University, 2023. The focus is on using Python for big data computation, including matrix operations and NumPy arrays.

Table of Contents

Resources

Python Matrices and NumPy Arrays

Matrix Definition

A matrix is a two-dimensional data structure where numbers are arranged into rows and columns. For example, a 3x4 matrix (read as "three by four") has 3 rows and 4 columns.

Python Matrix

Python does not have a built-in type for matrices. However, we can treat lists within lists as matrices. For example:

A = [[1, 4, 5], 
     [-5, 8, 9]]

NumPy Array

NumPy is a library for scientific computing that supports multi-dimensional arrays. For example:

import numpy as np

a = np.array([1, 2, 3])
print(a)
print(type(a))

GUNADARMA UNIVERSITY - 2023 X Webkumal