I am currently having one df which has an incomplete Index. like this:
Idx bar baz zoo
001 A 1 x
003 B 2 y
005 C 3 z
007 A 4 q
008 B 5 w
009 C 6 t
I have the complete Index([001, 002, ...... 010])
.
Would like to how to supplement the complete Index into the incomplete df.
Idx bar baz zoo
001 A 1 x
002 nan nan nan
003 B 2 y
004 nan nan nan
005 C 3 z
006 nan nan nan
007 A 4 q
008 B 5 w
009 C 6 t
010 nan nan nan
The nan
can be "", the purpose is for me to identify which case I am currently missing.
It's the first time I ask question on stackover, apology for the poor formatting.