V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
acone2003
V2EX  ›  Python

请教如何将一个 CSV 格式的数据集分成特征集和标签集?

  •  
  •   acone2003 · 2018-05-31 15:12:30 +08:00 · 2225 次点击
    这是一个创建于 2128 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有一个 CSV 格式的数据集,共 25 列,头 24 列是特征集,最后一列是标签,现在只知道用 pandas.read_csv 载入内存,不知道将二者如何分离,请各位不吝指教。
    另外在哪儿可以查到诸如 NumPy、Pandas、SkLearn 等包的参考手册?包括里面有哪些函数,每个函数参数的意义等,最好是离线的,英语的汉语的都行。
    hooopo
        1
    hooopo  
       2018-05-31 15:26:15 +08:00
    dash 就有
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   954 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 21:36 · PVG 05:36 · LAX 14:36 · JFK 17:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.