work around stupid pandas indexing
Merge pull request #127 from drammock/fixLogitForPandas

work around stupid pandas indexing