Update pandas-series.md

pull/1100/head
Ashita Prasad 2024-06-23 12:52:35 +05:30 zatwierdzone przez GitHub
rodzic 372f5ff634
commit 33be2407c8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -256,8 +256,8 @@ Here one thing we should keep in mind that both the series object should have sa
| **Functions** | **Description** |
|--------------------------|---------------------------------------------------|
| `<series>.head(n)` | return the first n elements of the series |
| `<series>.tail(n)` | return the last n elements of the series |
| `<series>.head(n)` | return the first n elements of the series |
| `<series>.tail(n)` | return the last n elements of the series |
```python
import pandas as pd
@ -282,6 +282,7 @@ dtype: int64
If you dont provide any value to n the by default it give results for `n=5`.
### Few extra functions
| **Function** | **Description** |
|----------------------------------------|------------------------------------------------------------------------|
| `<series_object>.sort_values()` | Return the Series object in ascending order based on its values. |