zoukankan      html  css  js  c++  java
  • DataFrame

    help(pd.concat)

    Help on function concat in module pandas.tools.merge:

    1. help(pd.concat)
    2. Help on function concat in module pandas.tools.merge:
    3. concat(objs, axis=0, join='outer', join_axes=None, ignore_index=False, keys=None, levels=None, names=None, verify_integrity=False, copy=True)
    4.    Concatenate pandas objects along a particular axis with optional set logic
    5.    along the other axes. Can also add a layer of hierarchical indexing on the
    6.    concatenation axis, which may be useful if the labels are the same (or
    7.    overlapping) on the passed axis number
    8. 是按行组装多个表格的
    9.    Parameters
    10.    ----------
    11.    objs : a sequence or mapping of Series, DataFrame, or Panel objects
    12.        If a dict is passed, the sorted keys will be used as the `keys`
    13.        argument, unless it is passed, in which case the values will be
    14.        selected (see below). Any None objects will be dropped silently unless
    15.        they are all None in which case a ValueError will be raised
    16.    axis : {0, 1, ...}, default 0
    17.        The axis to concatenate along
    18.    join : {'inner', 'outer'}, default 'outer'
    19.        How to handle indexes on other axis(es)
    20.    join_axes : list of Index objects
    21.        Specific indexes to use for the other n - 1 axes instead of performing
    22.        inner/outer set logic
    23.    verify_integrity : boolean, default False
    24.        Check whether the new concatenated axis contains duplicates. This can
    25.        be very expensive relative to the actual data concatenation
    26.    keys : sequence, default None
    27.        If multiple levels passed, should contain tuples. Construct
    28.        hierarchical index using the passed keys as the outermost level
    29.    levels : list of sequences, default None
    30.        Specific levels (unique values) to use for constructing a
    31.        MultiIndex. Otherwise they will be inferred from the keys
    32.    names : list, default None
    33.        Names for the levels in the resulting hierarchical index
    34.    ignore_index : boolean, default False
    35.        If True, do not use the index values along the concatenation axis. The
    36.        resulting axis will be labeled 0, ..., n - 1. This is useful if you are
    37.        concatenating objects where the concatenation axis does not have
    38.        meaningful indexing information. Note the index values on the other
    39.        axes are still respected in the join.
    40.    copy : boolean, default True
    41.        If False, do not copy data unnecessarily
    42.    
    43.    Notes
    44.    -----
    45.    The keys, levels, and names arguments are all optional
    46.    
    47.    Returns
    48.    -------
    49.    concatenated : type of objects

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

    series 的索引不知是整数:

    标签名 标签名的list 标签名的切片(尾端包含)

    下标 下标的list 下标的切片(尾端不包含)

    布尔型数组


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


  • 相关阅读:
    EasyDSS功能简介视频直播、直播鉴权(如何完美将EasyDSS过渡到新版)
    EasyNVR前端构建之输入框样式的调整
    NVR硬件录像机web无插件播放方案(支持取特定时间段视频流)
    Windows操作系统远程Linux服务器传输文件方法(以EasyDSS云平台、EasyNVR上传部署为例)
    零基础实现摄像头的全平台直播 (二)公网直播的实现
    海康、大华NVR硬件录像机录像无插件全平台访问实现播放时间轴实现
    直播与虚拟直播
    CF585EPresent for Vitalik the Philatelist【莫比乌斯反演,狄利克雷前缀和】
    AT4519[AGC032D]Rotation Sort【dp】
    P5110块速递推【特征方程,分块】
  • 原文地址:https://www.cnblogs.com/zzxx-myblog/p/6481322.html
Copyright © 2011-2022 走看看