A.I, Data and Software Engineering

Tagpython

Top programming languages to learn 2020-2021

programming languages

“What is the best programming language to learn” is generally not a good question. A language should bind to a purpose, developing environment. Set it aside, popular languages often come with trending jobs. Here is the list of top 7 programming languages to consider in 2020 and 2021. 1.  Python python trademark The programming language continues to be one of the best programming...

Advanced Python: Object operations and comparisons

python trademark

In many cases, it is convenient to perform mathematical operations on objects rather than numerical values. Python classes have the ability to emulate the behaviour of numeric values to support operations like addition and subtraction. You can override many more to support number-like functionality. Numeric functions In the following table, the right column contains expressions...

Advanced Python: classes String and computed attribute

python icon

This article demonstrates more advanced features of Python classes and their customisation. Specifically, how enum objects are created, class to strings, and computed attribute. Class string values A string is typically an informal representation of the object. However, it’s just a nicely in human-readable form. Python provides 2 common methods, i.e. str() and repr(). We can...

Advanced python: comprehension

list comprehension

In this article, we’ll learn about a Python language construct known as comprehensions for creating a new sequence based on existing one but its syntax is more human-readable than lambda functions. These can be applied to lists, sets, and dictionaries.  REVIEW Lambda and map Lambda is an anonymous function (function without name). Let have a quick look at the following example for...

Advanced python: collections

python icon

In part 2, we introduced advanced python knowledge with built-in functions and other useful tools for sequence iteration, data transformation. Advanced python part 3 will continue with collections to manipulate our data. Named tuple Suppose we want to define a data structure to represent a geometric point on a typical x and y-axis. We could easily do this by defining a regular...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Pin It on Pinterest