Write a data validation function simulating an Airflow TaskFlow task. The function must assert that row count is greater than zero and that no null values exist in the amt column, returning True if valid or raising ValueError on failure.
Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.