Answered step by step
Verified Expert Solution
Question
1 Approved Answer
# Step 3 : Understand the data using SQL ( via SQLDF ) > ############## 5 . how many accidents happen on Sunday? > #
# Step : Understand the data using SQL via SQLDF
############## how many accidents happen on Sunday?
# Use sql to count how many accidents on "Sunday"
sunacc sqldfSELECT COUNT as sundayaccidents FROM df WHERE dayofweek 'Sun'"
Error in data.framedata setdiffnamesdata namesfieldtypes :
undefined columns selected
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started