Icon

01 Date and Time Manipulation

01 Date and Time Manipulation - Solution

Solution to an exercise for data and time manipulation.

Transform date and time values from string to the dedicated Date&Time format. Remove redundant digits from the timestamps. Extract the day of the week from the dates, and aggregate the data.

CHECK YOUR ANSWERS:
1. The highest number (9382) of last reviews were given on Sunday
2. The lowest number (3554) of last reviews were given on Thursday

Exercise: Date and Time ManipulationRead the New York City Airbnb data by executing the CSV Reader node.1) Convert the timestamps in the last_review column from string to Date&Time2) Remove rows with missing values in the last_review column3) Remove the time values from the timestamps4) Extract the day of the week from each timestamp5) Count the number of last reviews on each day of the week. Which day of the week has the highest count? Andthe lowest? Remove timeCount by weekdayRemove rows wherelast_review is missingRead AB_NYC_2019dataExtract weekday String to Date&Time Modify Time GroupBy Sorter Missing Value CSV Reader Extract Date&TimeFields Exercise: Date and Time ManipulationRead the New York City Airbnb data by executing the CSV Reader node.1) Convert the timestamps in the last_review column from string to Date&Time2) Remove rows with missing values in the last_review column3) Remove the time values from the timestamps4) Extract the day of the week from each timestamp5) Count the number of last reviews on each day of the week. Which day of the week has the highest count? Andthe lowest? Remove timeCount by weekdayRemove rows wherelast_review is missingRead AB_NYC_2019dataExtract weekday String to Date&Time Modify Time GroupBy Sorter Missing Value CSV Reader Extract Date&TimeFields

Nodes

Extensions

Links