#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 26 16:30:29 2017

@author: apple
"""

import numpy as np



data1d = [1,2,3,4,5]


arr1d = np.array(data1d)


data2 = [range(1,5),range(5,9)]

arr2 = np.array(data2)

print(arr2)

arr2.tolist()

print(arr2)