Soumendra's Blog

A star can be used in many scenarios in Python. Let’s start.

Photo by Daniel Olah on Unsplash

Star as a multiplication operator

>>> 5 * 6
30
>>> 'star' * 2
starstar
>>> ['star'] * 2
['star', 'star']

Stars as exponential operator

>>> 2 ** 3
8

Star in arguments

>>> def add_num(*args):
... for arg in args: print(arg)
... return f"the sum is: {sum(args)}"
... …

Refactoring is the process of changing a software system in such a way that it does not alter the external behaviour of the code yet improves its internal structure.” What does that exactly mean? I mean, we’re not changing how it behaves, so the code’s going to work the same…

Overview

A Soviet/Russian 100kV three single phase oil Circuit Breaker. (Do not judge the size of a Circuit breaker by its cover photo)

According to Wikipedia the definition of Circuit Breaker in Electrical technology.

A circuit breaker is an automatically operated electrical switch designed to protect an electrical circuit from damage caused by excess current from an overload or short circuit. Its basic function is to interrupt current flow after a fault is…

Approaching the problem

Problem

Do you want to predict a category (classification), a quantity (regression), an anomaly (anomaly detection), finding a relationship between variables in different databases (association rules or recommendation) or do you want to discover structure in unexplored data (clustering)?

Available resources

The quantity, quality, variety of data available play an…

Business requirement

  • There are data coming to my system from multiple sources MySQL, logs and including occasional files uploads.
  • The data comes both static and dynamic way i.e. real-time data as well as batch data.
  • I have to build a system which combines all these data inputs and prepares analytics over it.

Soumendra's Blog

Senior development engineer at IBM India. Aspiring Solution Architect. Views are personal and not represent my organization.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store