Local Co anisotropy in Y-Co compounds