Posts

Showing posts with the label Array Types

Featured Post

14 Top Data Pipeline Key Terms Explained

Image
 Here are some key terms commonly used in data pipelines 1. Data Sources Definition: Points where data originates (e.g., databases, APIs, files, IoT devices). Examples: Relational databases (PostgreSQL, MySQL), APIs, cloud storage (S3), streaming data (Kafka), and on-premise systems. 2. Data Ingestion Definition: The process of importing or collecting raw data from various sources into a system for processing or storage. Methods: Batch ingestion, real-time/streaming ingestion. 3. Data Transformation Definition: Modifying, cleaning, or enriching data to make it usable for analysis or storage. Examples: Data cleaning (removing duplicates, fixing missing values). Data enrichment (joining with other data sources). ETL (Extract, Transform, Load). ELT (Extract, Load, Transform). 4. Data Storage Definition: Locations where data is stored after ingestion and transformation. Types: Data Lakes: Store raw, unstructured, or semi-structured data (e.g., S3, Azure Data Lake). Data Warehous...

How to Create an Array and Its Types in Python

Image
Python supports various array types. Here is a list of arrays and how to create examples for your reference.  What is an array? A  Python array  is a class that mimics the array type of other languages and offers efficiency in storage, exchanging that for flexibility. How to create an array Here is the syntax to create an array: data = array('f', [12.8, 5.4, 8.0, 8.0, 9.21, 3.14]) It creates an array of 6 floating point numbers; the type is indicated by the 'f' as the first parameter to the constructor. This concept is unlike the Python norm of types being dynamic and malleable. An array is an array of one kind of thing, and an array can only hold a restricted set of types. Types of arrays Here is a list of arrays: 'b' A C++ char type 'B' A C++ unsigned char type 'i': A C++ int type 'l': A C++ long type 'f': A C++ float type 'd': A C++ double type What is an array type? Arrays are class objects and are provided in the buil...