Categories
status

Array construction in R, Perl, and Python

Array construction in R, Perl, and Python

R:

data

Perl:

@data = (1, 2, 3)
@data[2..3]
%hash = ('a' =>; 'b')
$hash{a}

Python:

data = [1, 2, 3, 'a', 'b', 'c']
data[2:3]
tuple = (1, 2, 3, 'a', 'b', https://buycbdproducts.com  # immutable
dict = {'a': 'America', 'c': 'Canada'}
dict['a']
Categories
status

Installing Python without root http stackoverflow com questions…

Installing Python without root.

http://stackoverflow.com/questions/622744/unable-to-install-python-without-sudo-access