Unexpected results from logistic regression model

What exactly about the syntax doesn’t make sense? Indexing (and basically everything else) just follows the Numpy syntax