kopia lustrzana https://github.com/animator/learn-python
Add files via upload
rodzic
0b013ec748
commit
7cec11807f
|
@ -0,0 +1,7 @@
|
||||||
|
**View the top rows of the frame**
|
||||||
|
**Pandas Dataframe/Series.head() method**
|
||||||
|
The pandas library in Python provides a convenient method called head() that allows you to view the first few rows of a DataFrame. Let me explain how it works:
|
||||||
|
|
||||||
|
*The head() function returns the first n rows of a DataFrame or Series.
|
||||||
|
*By default, it displays the first 5 rows, but you can specify a different number of rows using the n parameter.
|
||||||
|
** Example**
|
Ładowanie…
Reference in New Issue