Subscribe to DSC Newsletter

Steve miller's Blog – December 2019 Archive (1)

Using "record id's" to facilitate processing in Python-Pandas and R-data.table.

ID card template example

Both R and Python-Pandas are array-oriented platforms that support fast filtering through vectors of record-id's. In Python-Pandas, such vectors are implemented via Pandas's powerful index construct; in R-data.table, they're accessible through the "which" and "" functions. In both instances, joins to record-id vectors generate fast subsetted access.

How is the record-id vector approach helpful? For starters, the analyst can encapsulate common…


Added by steve miller on December 13, 2019 at 5:51am — No Comments

© 2021   TechTarget, Inc.   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service