Open In App

Pandas and NumPy Exercise for Data Analysis

Last Updated : 22 Dec, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

NumPy Exercises for Data Analysis

NumPy Array Exercises

NumPy Matrix Exercises

NumPy Indexing Exercises

NumPy Sorting and Searching Exercises

NumPy Random Exercises

NumPy Strings Exercises

>>> More

Pandas Exercises for Data Analysis

Pandas Dataframe Exercises

Pandas Dataframe Row Exercises

Pandas Daraftame Columns Exercises

Pandas Datetime Exercises

>>> More



Similar Reads

PyMongoArrow: Export and Import MongoDB data to Pandas DataFrame and NumPy
If you are a data scientist or a Python developer who sometimes wears the data scientist hat, it is highly likely that at some point you were required to work with these three tools & technologies: Pandas, NumPy and MongoDB. Pandas: Pandas is a fast, powerful and easy-to-use open-source data analysis and manipulation tool, built on top of the P
8 min read
Data analysis using Pandas
Pandas are the most popular python library that is used for data analysis. It provides highly optimized performance with back-end source code purely written in C or Python. We can analyze data in Pandas with: Pandas SeriesPandas DataFramesPandas Series Series in Pandas is one dimensional(1-D) array defined in pandas that can be used to store any da
4 min read
Pandas Functions in Python: A Toolkit for Data Analysis
Pandas is one of the most used libraries in Python for data science or data analysis. It can read data from CSV or Excel files, manipulate the data, and generate insights from it. Pandas can also be used to clean data, filter data, and visualize data. Whether you are a beginner or an experienced professional, Pandas functions can help you to save t
6 min read
RFM Analysis Analysis Using Python
In this article, we are going to see Recency, Frequency, Monetary value analysis using Python. But first, let us understand the RFM analysis briefly. What is RFM analysis? RFM stands for recency, frequency, monetary value. In business analytics, we often use this concept to divide customers into different segments, like high-value customers, medium
3 min read
Difference between Numpy array and Numpy matrix
While working with Python many times we come across the question that what exactly is the difference between a numpy array and numpy matrix, in this article we are going to read about the same. What is np.array() in PythonThe Numpy array object in Numpy is called ndarray. We can create ndarray using numpy.array() function. It is used to convert a l
3 min read
Create a Pandas DataFrame from a Numpy array and specify the index column and column headers
This article demonstrates multiple examples to convert the Numpy arrays into Pandas Dataframe and to specify the index column and column headers for the data frame. Example 1: In this example, the Pandas dataframe will be generated and proper names of index column and column headers are mentioned in the function. This approach can be used when ther
4 min read
Python | Numpy numpy.resize()
With the help of Numpy numpy.resize(), we can resize the size of an array. Array can be of any shape but to resize it we just need the size i.e (2, 2), (2, 3) and many more. During resizing numpy append zeros if values at a particular place is missing. Parameters: new_shape : [tuple of ints, or n ints] Shape of resized array refcheck : [bool, optio
2 min read
Python | Numpy numpy.transpose()
With the help of Numpy numpy.transpose(), We can perform the simple function of transpose within one line by using numpy.transpose() method of Numpy. It can transpose the 2-D arrays on the other hand it has no effect on 1-D arrays. This method transpose the 2-D numpy array. Parameters: axes : [None, tuple of ints, or n ints] If anyone wants to pass
2 min read
Python | Numpy numpy.ndarray.__lt__()
With the help of numpy.ndarray.__lt__() method of Numpy, We can find that which element in an array is less than the value which is provided in the parameter. It will return you numpy array with boolean type having only values True and False. Syntax: ndarray.__lt__($self, value, /) Return: self<value Example #1 : In this example we can see that
1 min read
Python | Numpy numpy.ndarray.__gt__()
With the help of numpy.ndarray.__gt__() method of Numpy, We can find that which element in an array is greater then the value which is provided in the parameter. It will return you numpy array with boolean type having only values True and False. Syntax: ndarray.__gt__($self, value, /) Return: self>value Example #1 : In this example we can see th
1 min read
Practice Tags :