Python Create Subarray From Array Value Tokens