Backport PR #36249 on branch 1.1.x (BUG: na parameter for str.startswith and str.endswith not propagating for Series with categorical dtype)
Backport PR #36249: BUG: na parameter for str.startswith and str.endswith not propagating for Series with categorical dtype