the _asdict method returns an ordereddict with the field names mapped to index keys and the values mapped to the dictionary valuesfor examplethe _replace method returns new instance of the tuplereplacing the specified valuesfor examplearrays the array module defines datatype array that is similar to the list datatype except for the constraint that their contents must be of single type of the underlying representationas is determined by the machine architecture or underlying implementation the type of an array is determined at creation time and it is indicated by one of the following type codescode type python type minimum bytes 'bsigned char int 'bunsigned char int 'upy_unicode unicode character 'hsigned short int 'hunsigned short int