| datat.rvectors | index ../datat/rvectors.py |
Utility to make R vectors according to type (e.g. a list of integers will be
converted to an IntVector). Python's None is translated to NA in R. Handles
strings, integers, floats and booleans (True/False).
Usage example:
rvectors.make_r_vector([1,2,3,7,None]) # --> IntVector, last item NA
| Modules | ||||||
| ||||||
| Functions | ||
| ||