How to convert 1d signal to 2d signal?
You make it by applying a short-time Fourier transform to successive overlapping portions of your signal. The number of frequencies is proportional to the window size (nperseg in the above docs). You need to determine the appropriate frequency resolution for EEGs in order to set this.
Is signal 1d or 2d?
If a signal depends on only one variable then we call it one dimensional, and if a signal depends on two variable we call it a two dimensional signal. But when we represent an one dimensional signal, we use two axes(amplitude vs. time).
What is 1d signal?
A signal which is a function of single independent variable is called one dimensional signal.