-
How to work with DataFrame in Python?
Once we data in DataFrame i.e. DataFrame is prepared, independent of source of data (csv,xls,db etc.) we can work with it, like it is a table in database, selecting element of our interest. We have loaded data from csv file and created DataFrame. Now, we will see different select operation on this DataFrame. Selecting a…
-
How to do Socket Programming using PERL
What is SOCKET? Socket is a mechanisms that creates virtual connection between different processes. Established connection is duplex in nature. This was scaled over OS for communication between systems across geographical location. Network communication between systems happens only because of Socket. Let’s understand Socket programming using SERVER-CLIENT model. Server Side Socket Calls : For creating…
-
How to replace substring using dictionary in Python
String or text manipulation is major requirement of modern times. Regex is a option for string manipulation with multiple features. However, getting hang of regex is complex and people tend to forget syntax. Today, we will explore a feature with minimum syntax and work to achieve re.sub() capabilities. Consider, Two list which are mapped one…
-
clEan COde: FUNctiONS/Methods
Scenario A family is having dinner the father ask the daughter to “psWb” the daughter does as said then the mother asked the children to “fnFdFst” and also if they have “cmpltdHw” the children didnt respond. Did you get what was the conversation ? If yes (your are not human please get a checkup 😜)…
-
cleAn CoDE – vAAriaBles
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” Martin Fowler And one from me “With bad coders come’s a great mess” me Enough of quote game let’s Start Try reading the following code snippet Did you get what’s happening here ? (Comment down) Didnt get…
-
cleAn CoDE
thIs series will maJourLy Focus on How TO WRite CLEAn cod e . CleaNN coed in Terms oF how Will we Write ClEAn code Which IS LanguagE IndePENDENT . DiSClamRE: This blog SHows hOw Do we Write CLEAN Code i.E wHAT PrinCiples we Follow To Make OUr Coed Clean And EasY TO UnDERstand. Also ThiS…
-
Lambda Functions In Python
Do more Write Less is one of the features of python. Python allows us to perform tasks and jobs with less lines of code. Lambda functions are one of the ways to achieve this. Let us Dive into Lambda Functions. What is Lambda Function? A quicker way to write functions in python is termed as…
-
What is The Go Programming Language ?
Go is an open source programming language that is available for different Binary Distribution like Linux, macOS, Windows and many more. The Go programming language helps programmers to be more productive as it is expressive, concise, clean and efficient. The Go Language’s concurrency mechanisms helps programmers to write programs easily that get the most out…
-
What is The Go Programming Language ?
Go is an open source programming language that is available for different Binary Distribution like Linux, macOS, Windows and many more.The Go programming language helps programmers to be more productive as it is expressive, concise, clean and efficient.The Go Language’s concurrency mechanisms helps programmers to write programs easily that get the most out of multicore…