Пакет: python3-rdata (0.5-3)
Ссылки для python3-rdata
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код python-rdata:
Сопровождающие:
Внешние ресурсы:
- Сайт [github.com]
Подобные пакеты:
parses R dataset (.rda) files
The common way of reading an R dataset consists on two steps:
* First, the file is parsed using the function parse_file. This provides a literal description of the file contents as a hierarchy of Python objects representing the basic R objects. This step is unambiguous and always the same. * Then, each object must be converted to an appropriate Python object. In this step there are several choices on which Python type is the most appropriate as the conversion for a given R object. Thus, we provide a default convert routine, which tries to select Python objects that preserve most information of the original R object. For custom R classes, it is also possible to specify conversion routines to Python objects.
The basic convert routine only constructs a SimpleConverter objects and calls its convert method. All arguments of convert are directly passed to the SimpleConverter initialization method.
It is possible, although not trivial, to make a custom Converter object to change the way in which the basic R objects are transformed to Python objects. However, a more common situation is that one does not want to change how basic R objects are converted, but instead wants to provide conversions for specific R classes. This can be done by passing a dictionary to the SimpleConverter initialization method, containing as keys the names of R classes and as values, callables that convert a R object of that class to a Python object. By default, the dictionary used is DEFAULT_CLASS_MAP, which can convert commonly used R classes such as data.frame and factor.
Другие пакеты, относящиеся к python3-rdata
|
|
|
|
-
- dep: python3
- интерактивный высокоуровневый объектно-ориентированный язык (версия python3 по умолчанию)
-
- dep: python3-numpy
- Fast array facility to the Python 3 language
-
- dep: python3-pandas
- data structures for "relational" or "labeled" data
-
- dep: python3-xarray
- N-D labeled arrays and datasets in Python 3
Загрузка python3-rdata
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 14,1 Кб | 82,0 Кб | [список файлов] |