Skip to content

Commit 5b7a3ad

Browse files
Update docs/Pandas/pd_data_analysis.md
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
1 parent 014be20 commit 5b7a3ad

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/Pandas/pd_data_analysis.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ Once the data is ready, you can compute summary statistics to get insights about
7474

7575
|Method|Description|
7676
|:-----|:----------|
77-
|`df.rename(columns={'old':'new'})`|Renames columns.|
78-
|`df.drop(columns=['col'])`|Removes one or more columns.|
79-
|`df.replace(old, new)`|Replaces specific values.|
80-
|`df.astype('type')`|Changes the data type of a column.|
81-
|`df.sort_values(by='col')`|Sorts rows by column values.|
82-
|`df.reset_index(drop=True)`|Resets the DataFrame index.|
77+
|`df.mean()`|Computes the mean (average) for numeric columns.|
78+
|`df.std()`|Computes the standard deviation for numeric columns.|
79+
|`df.min()`|Returns the minimum value for each column.|
80+
|`df.max()`|Returns the maximum value for each column.|
81+
|`df.median()`|Computes the median (50th percentile) for numeric columns.|
82+
|`df.corr()`|Computes pairwise correlation between numeric columns.|
83+
No newline at end of file

0 commit comments

Comments
 (0)