Featured post

Best Machine Learning Book for Beginners

You need a mixof different technologies for Data Science projects. Instead of learning many skills, just learn a few. The four main steps of any project are extracting the data, model development, artificial intelligence, and presentation. Attending interviews with many skills is not so easy. So keep the skills short.
A person with many skills can't perform all the work. You had better learn a few skills like Python, MATLAB, Tableau, and RDBMS. So that you can get a job quickly in the data-science project.
Out of Data Science skills, Machine learning is a new concept. Why because you can learn Python, like any other language. Tableau also the same. Here is the area that needs your 60% effort is Machine learning.  Machine Learning best book to start.

Related Posts How to write multiple IF-conditions in Python Simplified

Python Assigning Multiple Values at Once

Assigning values to a variable is similar to other languages. In python, you can find different styles. Usually, a variable takes or stores values when the programmer assigns. Check my below example for understanding quickly. Here is Python For Loop Tricky Example.***Python Assigning the Values At once.a = 1b = 1c = 1d = 1or, you can assign simultaneously as;a=b=c=d=1
Python Assigning Multiple Values at Once The other way you can assign as;a, b, c, d = 10, 1, 3.5, 'Srini'From the above, you can understand as below:The '10' assigns to a.The '1' assigns to b.The '3.5' assigns to c.Then 'Srini' to d. ReferencesPython Basics Variable Assignment

Tag Length Value TLV Ideas to decode Quickly

Basically, in TLV, the format is Tag, Length, and Value. In the list of protocols, TLV is one of the types. Transmitting the data depends on the protocol you used. However, many financial transactions still follow the TLV format. 
According to IBM, TLV data is three parts. The tag tells what type of data it is. The length field has a length of the value. The Value field has actual value.

Structure of TLV.TLV comprises three field values.  TagLengthValueEMV formulated different tags. They have their own meanings. Usually, the Tag and Length together takes 1 to 4 bytes.
The Best example for TLV.In the below example, you can find the sample TAG, LENGTH, and VALUE fields.

[Tag][Value Length][Value] (ex. "9F4005F000F0A001")

Tag Name = 9F40

Value Length (in bytes) = 05 
Value (Hex representation of bytes. Example, "F0" – 1-byte) = F000F0A001

In the above message, tag 9F40 has some meaning designed by EMV company. Here you can find a list of EMV Tags.
How to read the TLVTag: 1…

Python 'getsizeof' Return Value a Quick Example

In Python, we use objects like List (arrays). You already know that Objects have some data. Counting the number of elements present in it is not easy. You may ask a question on how to get the size.Do not worry, I am sharing the command for you.How to Import the Library?>>> import sysSys library is the library you need to import to use the SIZE commands.Congrats for you since you have now imported the SYS library. The command name is getsizeof.
Check the below example.print("An Integer:") i = int(100) print(sys.getsizeof(i))

The result will be: 100If I want to say more about the size command, it is length like command. It gives the result based on the object. Suppose, if you use Strings, you will get String length.

Best Example of SIZE command.Example:1print("Empty string:") empty_string = "" print(sys.getsizeof(empty_string)) 
Example:2print("A normal string") s = "Hello world" print(sys.getsizeof(s))
Example:3 print("Increa…

Python IF Statements Multiple Conditions Examples

I shared how to write multiple if conditions (statements) in Python. These are the best examples useful for interviews and projects.
Many programmers confuse how to write IF conditions in Python. The below examples act as a handy guide for beginners and experienced.
Python IF Statements the Best Examples
IF, IFIF 'ELSE'IF 'or'IF 'and'Nested IFIF 'continue'IF 'break'
In Python,  the decision making logic you can write with IF condition. You can write multiple IF conditions (Single way decision). At the same time, you can write IF and ELSE conditions (Two-way decision).
Multiple IF conditions the best example.def main():         celsius = float(input("What is the Celsius temperature? "))         fahrenheit = 9/5 * celsius + 32         print("The temperature is", fahrenheit, "degrees Fahrenheit.")  # Print warnings for extreme temps  if fahrenheit > 90:  print("It's really hot out there. Be careful!")  if fahrenhe…

Play with Python Regular Expressions Like Tennis

Regular Expressions are something like to find a matching string in another string. You will get either 'True' or 'False' as a response.
I am not sharing here how to play tennis. My intention is if you just follow ideas, you can play tennis today.
Python Regular ExpressionsWhat is a regular expressionHow does python supportBest examplesLet us start - What is Regular Expression.>>> haystack = 'My phone number is 213-867-5309.' 
>>> '213-867-5309' in haystack 

This is just a fundamental use of the regular expression. The real use of Regular Expression comes here. That is - to find if the main has any valid phone number.
Regular expressions also called regexes.
Two Main Reasons Why We use Regular ExpressionsData mining - to get required data if it is present are notData validations - to get an answer if the received string is valid or not. How Python SupportsPython has its own regular expression library. That is called re. What you need to d…

Understanding Python Function Quickly

In Python, you can define and call the function. Once you define the function, you can call it later from the other program. I have shared the structure of the function. And, I have added the three key rules of Python function; useful for interviews. 🔑Three Key rules.A function definition is executable.The function body will be executed only when it is can assign default parameter value for a function.
Structure of the Python Function.

 Understanding Python Function Quickly 

1. Key Elements.You will find here three key elements of the Python function. Here you can read the parameter vs argument differences.

Name of a function. The name of a function is any valid identifier. It should be noted though that the name of a function should be meaningful and, if possible, convey the task to be performed by the function.Parameter. The list of parameters (separated by commas) is given in the parentheses following the name of the function. The parameters are basically the input to the fu…