Re: Question about pyarrow array representation.

2019-02-25 Thread Wes McKinney
hi Peng, Here is a minimal reproduction of the issue you're having: In [38]: arr = np.empty(2, dtype=object) In [39]: arr[0] = np.array([1, 2]) In [40]: arr[1] = np.array([2, 3]) In [41]: arr2 = np.empty(2, dtype=object) In [42]: arr2[0] = arr In [43]: arr2[1] = arr In [45]: pa.array(arr2)

Question about pyarrow array representation.

2019-02-22 Thread peng yu
Hey channel, I'm trying to fix issue 4350 , which is a result of arrow.Table<-> pandas.df conversion is not symmetric basically we decide to use numpy array as the basis of list when converting from arrow table to pandas. which makes me wondering