North Hayward to/from SF, is BART safe?

Thinking of taking this route on a Saturday morning/noon as a solo female. Would it be safe? Or better to take uber?