Add to overview section (#24921)
This commit is contained in:
committed by
Christopher McCormack
parent
844405a4e9
commit
d99fecc8ac
@ -45,6 +45,11 @@ df.tail()
|
|||||||
```
|
```
|
||||||
This will show the last 5 rows of the data frame.
|
This will show the last 5 rows of the data frame.
|
||||||
|
|
||||||
|
To see the data types of each column in your dataframe, use the 'dtypes' method:
|
||||||
|
```python
|
||||||
|
df.dtypes()
|
||||||
|
```
|
||||||
|
|
||||||
To show descriptive statistics, such as the shape and central tendency of the dataset, the `describe` method can be used:
|
To show descriptive statistics, such as the shape and central tendency of the dataset, the `describe` method can be used:
|
||||||
```python
|
```python
|
||||||
df.describe()
|
df.describe()
|
||||||
|
Reference in New Issue
Block a user