05-Python Basic

String data-types

5. String Data Type

Strings are used to record the text information such as name. In Python, Strings act as Sequence which means Python tracks every element in the String as a sequence. This is one of the important features of the Python language.

For example, Python understands the string “hello' to be a sequence of letters in a specific order which means the indexing technique to grab particular letters (like first letter or the last letter).

Note: In most of other languges like C, C++,Java, a single character with in single quotes is treated as char data type value. But in Python we are not having char data type. Hence it is treated as String only.

[Read More]

03-Python Basic

Flow Control(loop, if-else)

3 Flow Control

Flow control describes the order in which statements will be executed at runtime.

Python has 3 types of control-flow

  • Conditional Statements or Decision Making statements
if
if-else
if-elif-else
  • Iterative Statements
for
while
  • Transfer Statements
break
continue
pass
[Read More]

02-Python Basic

Data types, dynamic and strong type

2.1 Data Types

Data Type represent the type of data present inside a variable. In Python, we are not required to specify the type explicitly.

Based on value provided, the type will be assigned automatically. Hence, Python is Dynamically Typed Language.

Python contains the following inbuilt data types

Char Type:        str
Numeric Types:    int, float, complex
Sequence Types:   list, tuple, range
Mapping Type:     dict
Set Types:        set,  frozenset
Boolean Type:     bool
Binary Types:     bytes, bytearray, memoryview
None Type:        NoneType
[Read More]

Python Virtual Environment

Virtualenv, Virtualwrapper

Virtual Environment

  • A virtual environment is a tool that helps to keep dependencies isolated.
  • It is used to manage Python packages for different projects
  • Using virtualenv allows you to avoid installing Python packages globally which could break system tools or other projects.
  • This is one of the most important tools that most of the Python developers use.
[Read More]

01-Machine Learning

Ma

1.1 Data Science

Data science is the domain of study that deals with vast volumes of data using modern tools and techniques to find unseen patterns, derive meaningful information, and make business decisions. Data science uses complex machine learning algorithms to build predictive models.

Data Science is a field which incorporates Artificial Intelligence, Data Mining, Big Data, Machine Learning, and Deep Learning.

[Read More]

02-ML | Feature Engineering

Ma

Missing Values

Missing values occurs in dataset when some of the informations is not stored for a variable.

There are 3 mechanisms

  • Missing Completely at Random, MCAR
  • Missing at Random MAR
  • Missing data not at random (MNAR)
[Read More]