human
Give me a Python code to find the intersection of two arrays given the following:
Write a function to find the intersection of two arrays. Here is a solution in Python:
assistant
#Here is Python code to find the intersection of two arrays.
 def intersection_array(array_nums1,array_nums2):
 result = list(filter(lambda x: x in array_nums1, array_nums2)) 
 return result