Here you can find additional information on ...
list, tuple, and
np.array. In addition, you will
frequently have to work with the types dictionary
and pd.DataFrame.
Tuples are collections of different things. Once created, tuples cannot be modified. They are mainly used for returning multiple items from a function. One convenient feature: you can assign multiple values simultaneously using tuples.
my_tuple = ('high', 5)5 to 7?[1, 2, 3] and
[5, 7, 11]. In addition, generate two NumPy arrays
with the same values.'pi' as key, and the corresponding
float-value as the value.data.
Assign the key t to the numbers from zero to
6*pi, in steps of 0.1. Then assign the key
sine to the corresponding sine-values.data into the corresponding DataFrame
with df = pd.DataFrame(data), and plot the
DataFrame with df.plot().df.