
help(pd.concat)
Help on function concat in module pandas.tools.merge:
help(pd.concat)Help on function concat in module pandas.tools.merge:concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False, keys=None, levels=None, names=None, verify_integrity=False, copy=True)Concatenate pandas objects along a particular axis with optional set logicalong the other axes. Can also add a layer of hierarchical indexing on theconcatenation axis, which may be useful if the labels are the same (oroverlapping) on the passed axis number是按行组装多个表格的Parameters----------objs : a sequence or mapping of Series, DataFrame, or Panel objectsIf a dict is passed, the sorted keys will be used as the `keys`argument, unless it is passed, in which case the values will beselected (see below). Any None objects will be dropped silently unlessthey are all None in which case a ValueError will be raisedaxis : {0, 1, ...}, default 0The axis to concatenate alongjoin : {'inner', 'outer'}, default 'outer'How to handle indexes on other axis(es)join_axes : list of Index objectsSpecific indexes to use for the other n - 1 axes instead of performinginner/outer set logicverify_integrity : boolean, default FalseCheck whether the new concatenated axis contains duplicates. This canbe very expensive relative to the actual data concatenationkeys : sequence, default NoneIf multiple levels passed, should contain tuples. Constructhierarchical index using the passed keys as the outermost levellevels : list of sequences, default NoneSpecific levels (unique values) to use for constructing aMultiIndex. Otherwise they will be inferred from the keysnames : list, default NoneNames for the levels in the resulting hierarchical indexignore_index : boolean, default FalseIf True, do not use the index values along the concatenation axis. Theresulting axis will be labeled 0, ..., n - 1. This is useful if you areconcatenating objects where the concatenation axis does not havemeaningful indexing information. Note the index values on the otheraxes are still respected in the join.copy : boolean, default TrueIf False, do not copy data unnecessarilyNotes-----The keys, levels, and names arguments are all optionalReturns-------concatenated : type of objects



series 是一个有序的字典,因此索引即可是关键字,也可是下标序号


series 的索引不知是整数:
标签名 标签名的list 标签名的切片(尾端包含)
下标 下标的list 下标的切片(尾端不包含)
布尔型数组






即一个有 一个没有的索引 运算和为nan










浙公网安备 33010602011771号