Graduate school expectations for undergraduate preparation depend on the specific program. For many PhD programs, an undergraduate major in the subject or a closely related one is the expectation. But there are some unusual cases. For example, economics PhD programs may look for substantial advanced math and statistics preparation more than they care about economics course work beyond the core ones like intermediate micro/macro and econometrics.