News

Tuples A tuple is a collection of different data types which is ordered and unchangeable (immutable). Tuples are written with round brackets, (). Once a tuple is created, we cannot change its values.
In this case, the assert_type() call of assert_type(pd.IndexSlice[ind, :], tuple["pd.Index[int]", slice]) works with mypy 1.13, fails with the 1.14 dev version. This is due to a change in typeshed ...
Slicing is a process to retrieve parts of a string, array, list, or tuple. Basically, we pass a start and end index to specify the position of data we’re interested in.