jemorriso / PySBR

MIT License
77 stars 24 forks source link

Issue with LineHistory() and multiple participants #1

Closed Justin-Wise closed 3 years ago

Justin-Wise commented 3 years ago

When I run: ol = LineHistory(max(e.ids()), ncaab.market_ids('ps')[0], sb.ids('Bovada')[0],[baylor[0],gonzaga[0]]) print(ol.dataframe())

I only get the dataframe for Gonzaga line history, and not both. Should the function be able to accept a list of Team IDs and return a full line history with both teams?

jemorriso commented 3 years ago

Yes, you are correct it should be able to get line histories for both teams in the game. I will investigate this and get back to you. Thanks for posting

jemorriso commented 3 years ago

Fixed and released to PyPI as part of version 0.2.0.