data-engineer-professional video for the name and age of each person entering a museum are added manually in a CSV file. The following code block intends to
The name and age of each person entering a museum are added manually in a CSV file. The following code block intends to read that CSV file and convert it into a DataFrame: schema = StructType ([ StructField ( "name" , StringType ()), StructField ( "age" , IntegerType ())]) df = spark . read . format (“ csv ”) . schema ( schema ) ___________________ . load (“/ tmp / logs . csv ”) What should be replaced with the blank to ensure that the records having NA in the age column are not added to the DataFrame?