I have a Pandas DataFrame with a MultiIndex.  The MultiIndex has values in the range (0,0) to (1000,1000), and the column has two fields p and q.
However, the DataFrame is sparse.  That is, if there was no measurement corresponding to a particular index (say (3,2)), there won't be any row for it (3,2).  I'd like to make it not sparse, by filling in these rows with p=0 and q=0. Continuing the example, if I do df.loc[3].loc[2], I want it to return p=0 q=0, not No Such Record (as it currently does).
Clarification: By "sparse", I mean it only in the sense I used it, that zero values are omitted. I'm not referring to anything in Pandas or Numpy internals.
 
                        
Consider this
dfUse
reindexwithfill_value=0from a constructedpd.MultiIndex.from_productresponse to comment
You can get min, max of index levels like this