How to view the first few rows from data ?

# View the first 6 rows of the data

head(df, n = 6)

#df is dat frame
#n is n of rows would like to view

No comments:

Post a Comment

7 Stages of Machine Learning - Framework Introduction

Framework Introduction 7 Stages Introduction Stage 1: Problem Definition Stage 2: Data Collection Stage 3: Data Preparation Stage 4: Data Vi...