UCSB and P/NP

Is it okay to take statistics as pass/no pass or is that unacceptable because it’s a major prerequisite? I know I’m capable of passing the class, but I’m not the best with math and don’t think I could pull off an A.

You must take it for a letter grade.