Thank you very much for the response.
But the behavior of the same in scipy is different i.e., it omits the elements. Is this not the expected behavior ?? The same result is as follows using scipy and numpy :
>>> import numpy as np
>>> import scipy.sparse as sp
>>> m = np.arange(3, -4, -1)
>>> t = sp.spdiags(m,1,len(m),len(m))
>>> t
<7x7 sparse matrix of type '<type 'numpy.int64'>'
with 6 stored elements (1 diagonals) in DIAgonal format>
>>> t.toarray()
array([[ 0, 2, 0, 0, 0, 0, 0],
[ 0, 0, 1, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, -1, 0, 0],
[ 0, 0, 0, 0, 0, -2, 0],
[ 0, 0, 0, 0, 0, 0, -3],
[ 0, 0, 0, 0, 0, 0, 0]])