1. Home
  2. Docs
  3. pandas
  4. describe()

describe()

describe() ফাংশনটি ডেটা ফ্রেমের পরিসংখ্যানিক সারসংক্ষেপ তথ্য প্রদান করে। এটি প্রতিটি সংখ্যাপদ কলামের জন্য মোট, গড়, মানদণ্ড, সর্বনিম্ন, প্রথম কোয়ার্টাইল, মধ্যক কোয়ার্টাইল, তৃতীয় কোয়ার্টাইল, ম্যাক্সিমাম এবং পাঁচটি শতকরা তথ্য প্রদর্শিত করে।

import pandas as pd

data = {'Name': ['John', 'Alice', 'Bob'],
        'Age': [25, 30, 35],
        'City': ['New York', 'London', 'Paris']}

df = pd.DataFrame(data)
print(df.describe())
Python

আউটপুট :

        Age
count   3.0
mean   30.0
std     5.0
min    25.0
25%    27.5
50%    30.0
75%    32.5
max    35.0
Python

How can we help?