On 20/12/10 17:18, Peter wrote:
> On Mon, Dec 20, 2010 at 3:27 PM, Luca Beltrame wrote:
>> Hello,
>>
>> As I'm working with R's lists and porting some code away from R to Python,
>> I'd
>> like to know if they can be replaced with a named vector (which is what a R
>> list essentially is, to my un
On Mon, Dec 20, 2010 at 3:27 PM, Luca Beltrame wrote:
> Hello,
>
> As I'm working with R's lists and porting some code away from R to Python, I'd
> like to know if they can be replaced with a named vector (which is what a R
> list essentially is, to my untrained eye). For example:
>
> in R
>
> my.
Hello,
As I'm working with R's lists and porting some code away from R to Python, I'd
like to know if they can be replaced with a named vector (which is what a R
list essentially is, to my untrained eye). For example:
in R
my.list <- list(a="some.value", b="another.value")
in Python I would