Use numeric indexing and .take instead of .loc
Use numeric indexing and .take instead of .loc

.loc is really slow with large indexes.
We can do things much faster using location based indexing
instead of label based indexing.
Here I'm replacing a .loc with a .take.

UDST/choicemodels,UDST/choicemodels