Featured Post

Python map() and lambda() Use Cases and Examples

Image
 In Python, map() and lambda functions are often used together for functional programming. Here are some examples to illustrate how they work. Python map and lambda top use cases 1. Using map() with lambda The map() function applies a given function to all items in an iterable (like a list) and returns a map object (which can be converted to a list). Example: Doubling Numbers numbers = [ 1 , 2 , 3 , 4 , 5 ] doubled = list ( map ( lambda x: x * 2 , numbers)) print (doubled) # Output: [2, 4, 6, 8, 10] 2. Using map() to Convert Data Types Example: Converting Strings to Integers string_numbers = [ "1" , "2" , "3" , "4" , "5" ] integers = list ( map ( lambda x: int (x), string_numbers)) print (integers) # Output: [1, 2, 3, 4, 5] 3. Using map() with Multiple Iterables You can also use map() with more than one iterable. The lambda function can take multiple arguments. Example: Adding Two Lists Element-wise list1 = [ 1 , 2 , 3 ]

2 Top Differences Automation Vs Internet of Things

Five reasons why IoT automation provides opportunities to deliver better product or Services. The data from sensors is a golden asset to derive benefits and to apply in products or services.

Automation and IoT both are different 

Automation

The automation is based on the data collected from various devices and make it happen when something goes wrong you can say as automation.

The best example is based on sensor generated data the automation tool take corrective action during course of flying from one country to other.

  Internet of Things

  1. More mobile phones than fixed
  2. New architecture models (ex: Cloud computing)
  3. The new protocol (Ipv6)
  4. Everything is Sensor-laden
  5. More machines than people

The Growth of Internet Usage

The internet will be double in size every 5.32 years. More devices can be connected to the internet through IP. The internet limitation in IPv4 is 4 billion addresses.

But, the internet limitation for IPv6 is 2^128. The total IP traffic over the internet is 1 ZettaByte as of 2011.

Data process
Wisdom from Data

Data 

  1. Information-It is the data after you did clean the raw data.
  2. Knowledge-The ideas or patterns you obtain from cleaned data.
  3. Wisdom-Building models and you can make automate the certain task.

Comments

Popular posts from this blog

How to Fix datetime Import Error in Python Quickly

SQL Query: 3 Methods for Calculating Cumulative SUM

Python placeholder '_' Perfect Way to Use it