Data Analysis

JupyterLab

JupyterLab is a next-generation web-based user interface for Project Jupyter.

JupyterLab enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components in a flexible, integrated, and extensible manner

Code Consoles

provide transient scratchpads for running code interactively, with full support for rich output

Kernel-backed documents

enable code in any text file (Markdown, Python, R, LaTeX, etc.) to be run interactively in any Jupyter kernel.

JupyterLab also offers a unified model for viewing and handling data formats. JupyterLab understands many file formats (images, CSV, JSON, Markdown, PDF, Vega, Vega-Lite, etc.

NumPy

Reading files using NumPy

Indexing NumPy Arrays

Slicing NumPy Arrays

Assigning Values To NumPy Arrays

wines[1,5] = 10

Arrays can either be single dimensional, two dimensional or multi dimensional

NumPy Data Types

Data Type Conversions

array-name.astype(int)

NumPy Array Operations

Single Array Math

basic mathematical operations (/, *, -, +, ^) with an array and a value, it will apply the operation to each of the elements in the array.

Multiple Array Math
NumPy has many Array Methods, such as “sum()”
Subsetting can be done by choosing certain elemnts from the array, on which a certain condition applies to. In other words, we get to filter arrays based on a certain criteria.

high_quality_and_alcohol = (wines[:,10] > 10) & (wines[:,11] > 7)