head pandas python
# Returns the first 5 rows
df.head(n=5)
head pandas python
# Returns the first 5 rows
df.head(n=5)
head in python
The head() function is used to get the first n rows.
This function returns the first n rows for the object based on position.
It is useful for quickly testing if your object has the right type of
data in it.
python - head
df.head(10)
df.tail(10)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us