count number of rows
#count total rows in data frame
nrow(df)
#count total rows with no NA values in any column of data frame
nrow(na.omit(df))
#count total rows with no NA values in specific column of data frame
nrow(df[!is.na(df$column_name),])
count number of rows
#count total rows in data frame
nrow(df)
#count total rows with no NA values in any column of data frame
nrow(na.omit(df))
#count total rows with no NA values in specific column of data frame
nrow(df[!is.na(df$column_name),])
Excel sheet count rows
=COUNTIF(RANGE, CONDITION)
Example: =COUNTIF(C1:C30, "Paris")
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