DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Quick Preview Of Data

  • submit to reddit
        //Preview my data

head(df) #Return the top of df is the data set
head(df, 30) #returns the first 30 rows

tail(df)  #returns the bottom of the df.

head(tail(df, 30)) #Get the top of the bottom 30
  • r