Working remote in CA for NYC University then move to NYC, Residency and Tax Questions.

Dear Tax Experts,

My daughter worked in CA for local company until 2020 fall, she went back to a university in NYC for graduate school. As in pandemic, she stayed in CA until Sept. 2021. She has W2 as teaching assistant from school. As NY state consider all her W2 as NYS income, what about NYC income? Turbotax asked me about income during residence in NYC as part year city resident, should I put partial income as NYC income? What is CA tax law, does it consider the NYC school income as CA income while she lived in CA (8 months)? What about other incomes like interest and dividend, should I divide them by the two states? or it should all go to NYS/NYC? what is my daughter's residency in NY, part year or non resident?

 

Thanks a lot for your help!!!

I really appreciated it!!!