›Find the most negative headline
2.4 · Challenge
Find the most negative headline
In this challenge, you will write sentiment.mostNegative, an aggregation function that returns the text with the lowest compound score from a group of rows, and use it to find the most negative headline for each stock.
If you did not complete the previous challenges, run these commands to reach the starting state. The first command copies the finished sentiment.label and sentiment.score functions and the procedure into your project:
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register