csv.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:lehrex 作者: lkluft 项目源码 文件源码
def _get_mpl_date(dates, fmt='%d.%m.%Y %H:%M'):
    """Convert date strings into matplotlib time format.

    Parameters:
        dates (ndarray): Array containing date strings.
        fmt (str): Date string format [0].

    [0] http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html

    Returns:
        np.array: Matplotlib time values.
    """
    return np.array([strpdate2num(fmt)(d) for d in dates])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号