Luqman Khan

howto · 2026-11-04

How to Get Double Value by Dividing Two Integers in C#

Learn why C# integer division truncates 30 / 7 to 4 and how to convert an operand before division to get a fractional double quotient.

howto · 2026-10-31

How to Get the Length of List in Python Pandas Dataframe

Learn how to count the elements in list-valued pandas DataFrame cells with Series.map(len) and Series.apply(len), with examples of the resulting length column.

howto · 2026-10-26

Arithmetic Right Shift in C

Learn how C's single >> operator shifts unsigned values and why right-shifting a negative signed integer is not portable.

howto · 2025-03-11

How to Loop Backward Iteration in Python

Learn how to perform backward iteration in Python with various methods like range(), list slicing, and the reversed() function. This article provides clear examples and explanations to help you understand how to loop backward effectively. Perfect for beginners and experienced programmers alike, discover the best practices for iterating in reverse order.

howto · 2025-02-05

How to Split a Single Column Into Multiple Columns in Pandas DataFrame Column

In this tutorial we will learn how to split pandas Dataframe column into two columns using pandas .split() method and in this article we will see python tips and tricks in efficient manner.

howto · 2024-02-15

Modulo Operator in C#

This tutorial introduces the modulo operator in C# to get the division remainder.

howto · 2024-02-02

How to Create a Pandas Dataframe From a List of Dictionary

We will move forward on creating a Dataframe from a list of the dictionaries. Further, we will explore dice game examples and explore randint() numpy method.

howto · 2024-02-02

How to Split Strings Into Two List Columns Using str.split in Python Pandas

This tutorial introduces how to use pandas str.split() function to split strings into two list columns.

howto · 2024-02-02

How to Groupby Index Columns in Pandas

This tutorial will introduce how Python Pandas Groupby is used to categorize data and then apply a function to the categories. Use groupby() function to group by multiple index columns in Pandas with examples.

howto · 2024-02-02

How to Flatten a Hierarchical Index in Columns in Pandas

In this post, we will use the different functions to flatten a hierarchical index using Pandas dataframe columns. The method we will use is the reset index and as_index() function.

howto · 2024-02-02

How to Create a Pie Chart Using Pandas DataFrame

In this tutorial, we will introduce how the python pandas library is used to create a pie chart using a dataframe. The pie chart uses the Pandas plot() function to draw a chart. The attribute used in the plot() function is kind.

howto · 2024-02-02

How to Find the Installed Pandas Version

In this article, we introduce how to find the installed version of Python Pandas library. We used the built-in version function and other functions showing the details of other installed versions.

howto · 2024-02-02

How to Convert XML File to Pandas DataFrame

This tutorial introduces how an XML file is converted into a Python Pandas nice dataframe. The library used for this is the xml.etree.ElementTree.

howto · 2024-02-02

How to Unpivot a Python Pandas Dataframe

Ihis article discusses how to unpivot a dataframe into long format from wide format. We use the melt() function to unpivot the dataframe.

howto · 2024-02-02

How to Convert Spark List to Pandas Dataframe

We convert a PySpark row list to a Pandas dataframe. A row object in a PySpark DataFrame is defined as a single row. As a result, a dataframe can be represented as a list of row objects in Python. We use different functions to convert spark list to pandas dataframe.

howto · 2024-02-02

How to Write to the Event Log Application in C#

In this article, we will learn about writing to the event log application. There is no need to create a new Event Source repeatedly to write. We can write EventLog to an existing event source, but the name of Eventlog source should be the same as the EventLog name.

howto · 2023-10-12

Nested Classes in C#

This tutorial introduces nested classes in C# Programming. Typically, the purpose is to limit the scope of the nested class. Nested classes offer the additional possibility of private modifier and protection.

howto · 2023-10-12

Unique Items to List in C#

This tutorial introduces about unique list in programming. Typically, list is dynamic memory and there is no need about defining total length. So we can add as much data as needed. But it has issue about adding same data item, and we will resolve this issue in our article.

howto · 2022-02-03

Difference Between Shallow Copy vs Deep Copy in Pandas Dataframes

This tutorial introduces how to use Pandas dataframes to identify the difference between shallow copy and deep copy.