Skip to content
  • 当前项目
    • 正在载入...
  • 登录

孙克 / qisda_charts_3f

%e6%8c%9a%e9%94%a6%e7%a7%91%e6%8a%80
转到一个项目
切换导航栏
切换导航栏固定状态
  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 项目
  • 活动
  • 版本库
  • 流水线
  • 图表
  • 问题 0
  • 合并请求 0
  • 维基
  • 网络
  • 创建新的问题
  • 作业
  • 提交
  • 问题看板
  • 文件
  • 提交
  • 网络
  • 比较
  • 分支
  • 标签
切换分支/标签
  • qisda_charts_3f
  • ..
  • series
  • conftest.py
  • 董杰's avatar
    3楼看板增加10/11/12号仓 · 4ea10d09
    董杰 提交于 2021-10-13 16:12:20 +0800
    4ea10d09
conftest.py 415 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
import pytest

import pandas._testing as tm


@pytest.fixture
def string_series():
    """
    Fixture for Series of floats with Index of unique strings
    """
    s = tm.makeStringSeries()
    s.name = "series"
    return s


@pytest.fixture
def object_series():
    """
    Fixture for Series of dtype object with Index of unique strings
    """
    s = tm.makeObjectSeries()
    s.name = "objects"
    return s