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...

4 Top Python Oops Concepts Simplify Your Coding

Oops concepts in Python explained in this post. Python supports Encapsulation, Inheritance, Abstraction, Polymorphism and Dynamic binding. These simplify your coding effort. I have given examples on Python Oops ( Object oriented) concepts.

python oops concepts

Python Oops (Object oriented) Concepts

  1. Encapsulation
  2. Data hiding and abstraction
  3. Inheritance
  4. Polymorphism (overloading/overriding)
The fifth Python special property is Dynamic binding.

#1 Python Oops Encapsulation

Wrapping of data and functions in a single unit is called Encapsulation.

Encapsulation

#2 Python Oops Data Hiding and abstraction

User program refers to methods from an object is called abstraction. Keeping all the methods under one object called data hiding.

Abstraction

#3 Python Oops Inheritance

Inhering properties means, referring property of an object of a class from an Object of the other Class.

Inheritance

#4 Python Oops Polymorphism

Poly means many. The definition of one function can use for many. 

The best example is the "+" operator. You can use it for the addition of numbers, and concatenate of String. 

Polymorphism

#5 Dynamic Binding

Dynamically you can call one procedure during the execution of the main program is called Dynamic binding. 

Dynamic Binding

Comments

Popular posts from this blog

SQL Query: 3 Methods for Calculating Cumulative SUM

Big Data: Top Cloud Computing Interview Questions (1 of 4)

How to Fix datetime Import Error in Python Quickly