showing only a limited number of lines from the CSV file

Yyyyy
New Contributor III

Expected no of lines is - 16400

Showing only 20 No of records

Script

spark.conf.set(
    "REDACTED",
    "REDACTED"
)

# File location
file_location = "REDACTED"

# Read in the data to dataframe df
df = spark.read.format("CSV").option("inferSchema", "true").option("header", "true").option("delimiter", ",").load(file_location).show()