Articles by Azka Iftikhar
Convert entire dataframe to lower case [SOLVED]
There are multiple methods to convert lower case entire dataframe in Python Pandas.
How to remove vector nth element in C++? [SOLVED]
In this article we will learn c++ vector remove nth element. Vectors are a part of the c++ STL library. They are containers but can change memory at runtime.
Setting an array element with a sequence [SOLVED]
Dive deep into the intricacies of "Setting an Array Element with a Sequence" with our comprehensive guide. Uncover common pitfalls, master powerful techniques, …
How to shuffle two NP arrays together [SOLVED]
In this article we learned how we can shuffle two np arrays together using permutations or randomize function from np module. We also learned a bit about the np …
Solved: How to test if string is empty in GoLang?
In this article, we will discuss How to test if string is empty or not empty in golang? Golang is a relatively new language based on the C language but with
Solved: Generate GPS Coordinates in Python [With Examples]
Generate GPS coordinates using python. Generate randon GPS coordinates of any country using python. random GPS coordinate generator
Java WatchService Examples [Monitor Directory and Files]
The Java WatchService can monitor a Path for changes to any file or directory in the hierarchy. We can choose to receive events when files or directories are …
SOLVED: Measure Execution Time in Python [5 Methods]
python execution time in milliseconds, python measure execution time, running time python, python running time, python timeit, python time function runtime, …
Print a list in reverse order with range()? [SOLVED]
In this article we will learn how we can print a list in reverse order with range() in Python for which first we need to know what range() is and how it works.
Sort short_names in reverse alphabetic order [SOLVED]
In this article we will study how we can sort short_names in reverse alphabetic order in python using built in functions with a little modification to them.
How to use cin for an array in C++ [SOLVED]
In c++ cin array is not performed in one cin statement. In this article we will learn about array input in c++. To understand array input, we first need to
Matplotlib.pyplot.vlines() - Draw vertical lines
Use matplotlib.pyplot.vlines to draw vertical lines in Python with examples.
Python calculate 6 months ago from today [SOLVED]
In this article we have shared multiple ways to calculate date and time of 6 months ago from today in Python
Python convert user input to asterisk [SOLVED]
There are multiple ways to convert user input to asterisk in Python. We have covered some of the easy methods using python modules.
Java Boolean Operator Explained [Practical Examples]
There are multiple java boolean operators such as logical operators that include logical operators, like the logical AND and logical OR as discussed above, …
Java DecimalFormat Explained [Practical Examples]
The java DecimalFormat class is used to apply decimal formats that are user- defined, to apply java DecimalFormat we use the class java.text.DecimalFormat.
8 different Escape Sequence in Java with Examples
An escape sequence in java refers to a character proceeded by a backslash(), the escape sequences have special meanings. In java, while declaring a string, a
SOLVED: Mask password with asterisk from console in Java
2 different ways to mask password with asterisk from console input in Java. Hide password with asterisk in Java. Display asterisk instead of password in Java …
2 ways to add fractions in Java [Practical Examples]
Multiple code examples to show how to add fractions in Java. Add two or multiple fractions.
Install Python Package from Github [Linux and Windows]
This article is about how to install python package from GitHub, for this, you must have the latest version of python installed in your system.
How to initialize List in Java [Practical Examples]
Following methods can be used in Java to initialize list. The list interface can be initialized through 4 list classes: ArrayList, LinkedList, Stack, Vector
4 programs that shows how Java global variables work
A Java global variable is a variable that is declared outside a method or at the start of a code is a global variable, there are no access restrictions on a …
3 ways to convert CHAR to INT in Java [Practical Examples]
There are 3 methods to convert char to int in java i.e ASCII values, getNumericalValue, ParseInt using ValueOf method.
Java Predicate Explained [Practical Examples]
Java predicate function is a pre-defined user interface. Predicate is a function that returns a boolean value. And the function test(T t) evaluates the …
Java ListIterator Explained [Practical Examples]
In this article, we will discuss how we can traverse forward through a list and traverse backward through a list using java ListIterator. This iterator is one …
Java Arrays.asList Explained [Practical Examples]
The java Arrays.asList function returns a fixed-size list that contains a java Array. It acts like a list wrapped around an array, it provides a list view to an …
Java XOR (^) Operator Explained [Practical Examples]
In this article we will discuss the Java xor (^) operator, this logical operator is used in many conditional statements, it is also used as a bitwise operator …
