pandas最重要的一个功能是,它可以对不同索引的对象进行算数运算.在对象相加时,如果存在不同的索引对,则结果的索引就是该索引对的并集. Series s1=Series([,3.4,1.5],index=['a','c','d','e']) s2=Series([-,3.1],index=['a','c','e','f','g']) s1 Out[]: a 7.3 c -25.0 d 3.4 e 1.5 dtype: float64 s2 Out[]: a -2.1 c 3.6 e -1.5
转自:http://www.cnblogs.com/qwcbeyond/archive/2012/05/08/2490897.html 32位机一般默认4字节对齐(32位机机器字长4字节),64位机一般默认8字节对齐(64位机机器字长8字节) 1.先看下面的例子:struct A{ char c1; int i; short s; int j;}a; struct B{ int i; int j; short s; char c1;}b; 结构A没有遵守字节对