ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 60 - DP-600 discussion

Report
Export

HOTSPOT

You have a Fabric tenant that contains a lakehouse named Lakehouse1. Lakehouse1 contains a table named Nyctaxi_raw. Nyctaxi_raw contains the following columns.

You create a Fabric notebook and attach it to lakehouse1.

You need to use PySpark code to transform the data. The solution must meet the following requirements:

* Add a column named pickupDate that will contain only the date portion of pickupDateTime.

* Filter the DataFrame to include only rows where fareAmount is a positive number that is less than 100.

How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


Question 60
Correct answer: Question 60
asked 02/10/2024
Evgeniy Lyashonkov
34 questions
User
0 comments
Sorted by

Leave a comment first