import numpy as np


def data_processing():
    x = np.array([[1, 2, 4], [3, 4], [1, 2, 3, 4, 5, 6, 7]])
    y = sum(x.tolist(), [])
    print(np.array(y))


data_processing()

238d70f5eb8a23211877d42cd89e8ff7884f5701
<mask token>

<mask token>


def data_processing():
    x = np.array([[1, 2, 4], [3, 4], [1, 2, 3, 4, 5, 6, 7]])
    y = sum(x.tolist(), [])
    print(np.array(y))


<mask token>

<mask token>


def data_processing():
    x = np.array([[1, 2, 4], [3, 4], [1, 2, 3, 4, 5, 6, 7]])
    y = sum(x.tolist(), [])
    print(np.array(y))


data_processing()

import numpy as np


def data_processing():
    x = np.array([[1, 2, 4], [3, 4], [1, 2, 3, 4, 5, 6, 7]])
    y = sum(x.tolist(), [])
    print(np.array(y))


data_processing()
