Python Practice › Pandas Programs › Program 21
Maximum of a Series
Write a pandas program to find the maximum value.
Input
[54, 38, 67, 87]
Output
87
Approach
max().
Solution
import pandas as pdprint(pd.Series([54, 38, 67, 87]).max())Output
87
Learn the concept
New to this topic? Read the lesson, then come back.