Pankaj Kumar

Pankaj Kumar

I have been working on Python programming for more than 12 years. At AskPython, I share my learning on Python with other fellow developers.
Pandas Check If A DataFrame Is Empty

4 Ways to Check if a DataFrame is Empty

Welcome to this comprehensive guide on how to determine if a DataFrame is empty using Python’s popular library, Pandas. In this data-driven world, managing and analyzing data effectively is an important skillset. Pandas is a powerful tool for data manipulation,…

np.argmax

Python np.argmax() function

NumPy (np) is one of the most popular libraries for mathematical and scientific calculations. It provides a lot of functions to work with multidimensional arrays. In this article, we will focus on Python np.argmax() function. Python np.argmax() function As the…

Python Course – lambda functions

Lambda functions are also called anonymous functions. An anonymous function is a function defined without a name. It can take any number of arguments. The scope of this function is limited to that defined scope only.

Python Course – Numbers

In Python Numbers stores the numeric values. Numbers are immutable data types and assigns a new location if you change the value. Immutable objects can’t change their state, value or content.

Python Course – while loop

In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.