Just add column name in square braquets:
df['column_name'].describe()
Example:

To get a single column:
df['1']
To get several columns:
df[['1','2']]
To get a single row by name:
df.loc['B']
or by index:
df.iloc[o]
To get a specific field:
df['1']['C']
Answer from ma-ku on Stack OverflowPandas
pandas.pydata.org › docs › reference › api › pandas.DataFrame.describe.html
pandas.DataFrame.describe — pandas 3.0.1 documentation
Describing a column from a DataFrame by accessing it as an attribute.
Top answer 1 of 5
61
Just add column name in square braquets:
df['column_name'].describe()
Example:

To get a single column:
df['1']
To get several columns:
df[['1','2']]
To get a single row by name:
df.loc['B']
or by index:
df.iloc[o]
To get a specific field:
df['1']['C']
2 of 5
5
import pandas as pd
data=pd.read_csv('data.csv')
data[['column1', 'column2', 'column3']].describe()
Skytowner
skytowner.com › explore › describing_certain_columns_of_a_dataframe_in_pandas
Describing certain columns of a DataFrame in Pandas
To describe certain columns, as opposed to all columns, in Pandas DataFrame, use the [] notation to first extract the desired columns and then use the describe(~) method.
W3Schools
w3schools.com › python › pandas › ref_df_describe.asp
Pandas DataFrame describe() Method
import pandas as pd data = [[10, 18, 11], [13, 15, 8], [9, 20, 3]] df = pd.DataFrame(data) print(df.describe()) Try it Yourself » · The describe() method returns description of the data in the DataFrame.
Statology
statology.org › home › how to use describe() function in pandas (with examples)
How to Use describe() Function in Pandas (With Examples)
August 9, 2021 - The following code shows how to calculate descriptive statistics for one specific column in the pandas DataFrame: #calculate descriptive statistics for 'points' column only df['points'].describe() count 8.000000 mean 20.250000 std 6.158618 min 12.000000 25% 14.750000 50% 21.000000 75% 25.000000 max 29.000000 Name: points, dtype: float64
Pandas
pandas.pydata.org › pandas-docs › stable › reference › api › pandas.DataFrame.describe.html
pandas.DataFrame.describe — pandas 3.0.2 documentation
Describing a column from a DataFrame by accessing it as an attribute.
w3resource
w3resource.com › pandas › dataframe › dataframe-describe.php
Pandas DataFrame: describe() function - w3resource
DataFrame.describe(self, percentiles=None, include=None, exclude=None) ... Returns: Series or DataFrame Summary statistics of the Series or Dataframe provided. ... Download the Pandas DataFrame Notebooks from here.
Data Science Discovery
discovery.cs.illinois.edu › guides › DataFrame-Fundamentals › descriptive-statistics-of-columns-in-dataframes
Finding Descriptive Statistics for Columns in a DataFrame - Data Science Discovery
However, when we apply .describe() to a column of strings, we don't get an error. Instead, .describe() gives us a list of statistics that are more applicable to the string dtype. import pandas as pd\n \n#Creates a DataFrame of "movie", "release date", "domestic gross", "worldwide gross", "personal rating", and "international box office" columns\ndf = pd.DataFrame([\n {"movie": "The Truman Show", "release date": "1996-06-05", "domestic box office": 125618201, "worldwide box office": 264118201, "personal rating": 10, "international box office": 138500000},\n {"movie": "Rogue One: A Star War
datagy
datagy.io › home › pandas tutorials › data analysis in pandas › pandas describe: descriptive statistics on your dataframe
Pandas Describe: Descriptive Statistics on Your Dataframe • datagy
December 15, 2022 - In this tutorial, you learned how to use the Pandas .describe() method, which is a helpful method to generate summary, descriptive statistics on your dataframe. You learned how to use the describe method to specify particular percentiles and how to include or exclude columns based on datatypes.
EDUCBA
educba.com › home › software development › software development tutorials › pandas tutorial › pandas dataframe.describe()
Pandas DataFrame.describe() | Parameters and Examples in detail
April 12, 2023 - It allows determining the mean, standard deviation, unique values, minimum values, maximum values, percentiles, and many further analytical calculations for these pandas dataframes.
Call +917738666252
Address Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
Javatpoint
javatpoint.com › pandas-dataframe-describe
Pandas DataFrame.describe() - javatpoint
Pandas The assign() method is also responsible for adding a new column into a DataFrame. If we re-assign an existing column, then its value will be overwritten. Signature DataFrame.assign(**kwargs) Parameters kwargs: keywords are the column names. These keywords are assigned to the new column if the values are callable.