head examples
Example 1: "head -n"
With the flag -n | N, the head command prints out the first N lines of file(s)
head -n 7 file.txt #Prints first 7 lines of file.txt
Example 2: data.head on terminal
print(data.head())
With the flag -n | N, the head command prints out the first N lines of file(s)
head -n 7 file.txt #Prints first 7 lines of file.txt
print(data.head())