DataFrame using Pandas

OS (e.g. Win10): MacOS 11.5.2
PsychoPy version (e.g. 1.84.x): v2021.2.3
Standard Standalone? (y/n) If not then what?: Yes
What are you trying to achieve?:
I am trying to define a dataframe of arrays using pandas.

I have the following code:

trainingTrials = 1200
signal = np.empty(trainingTrials)
StimLength = np.empty(trainingTrials, dtype = “float”)
salience = np.empty(trainingTrials)
AidResp = np.empty(trainingTrials, dtype = “float”)
TargetLocation = np.empty([trainingTrials,2], dtype = “float”)
AidColor = np.empty(trainingTrials)

tt = {“signal” : signal, “StimLength” : StimLength, “Salience”: salience, “AidResp” : AidResp,“TargetLocation” : TargetLocation,“AidColor” : AidColor}
tt = pd.DataFrame(tt)

Then, I got:
Traceback (most recent call last):
File “/Users/yusukeyamani/Desktop/HAI Pilot Exp/”, line 1469, in
tt = pd.DataFrame(tt)
File “/Applications/”, line 435, in init
mgr = init_dict(data, index, columns, dtype=dtype)
File “/Applications/”, line 254, in init_dict
return arrays_to_mgr(arrays, data_names, index, columns, dtype=dtype)
File “/Applications/”, line 69, in arrays_to_mgr
arrays = _homogenize(arrays, index, dtype)
File “/Applications/”, line 323, in _homogenize
val, index, dtype=dtype, copy=False, raise_cast_failure=False
File “/Applications/”, line 482, in sanitize_array
raise Exception(“Data must be 1-dimensional”)
Exception: Data must be 1-dimensional

It seems similar issues are reported elsewhere when you try to create a dataframe of a list of arrays using pandas.

I appreciate any help.