当前位置:网站首页>Dataframe extracts data from a column and converts it into a list
Dataframe extracts data from a column and converts it into a list
2022-06-26 01:44:00 【Passion6378】
df as follows , Purpose : Extract the data of English column , And turn it into a list .
1,df[" English "] by object type , First to int type .
array = pd.to_numeric(df[" English "]) # object Type to int type
print(array)
2, then array To list
list = array.tolist() # array To list
print(list)
边栏推荐
- 2022 explosion proof electrical operation certificate examination question bank and simulation examination
- CYCA少儿形体礼仪 乐清市培训成果考核圆满落幕
- 从在浏览器的输入框输入一个网址,到看到网页的内容,这个过程中发生了什么?
- 论文阅读 Exploring Temporal Information for Dynamic Network Embedding
- 图文大师印章简易制作
- Model integration and cascading
- Talking about interface test (2)
- Oracle数据库开启备份准备工作
- MySQL图书借阅系统项目数据库建库表语句(组合主键、外键设置)
- 通过电脑获取WIFI密码(只能连接过的WiFi)
猜你喜欢
Viwi interface
Cross validation -- a story that cannot be explained clearly
Abnova丨CSV 单克隆抗体解决方案
--都市修炼手册之SQL-- 第一章 基础复习
26. histogram back projection
readv & writev
Abnova丨ACTN4 DNA 探针解决方案
Region of Halcon: generation of multiple regions (4)
25. histogram comparison
15 `bs object Node name Node name String` get nested node content
随机推荐
论文阅读 Exploring Temporal Information for Dynamic Network Embedding
[visual studio code] vscode shortcut keys
Log4j2 vulnerability
Shengxin weekly issue 34
Cross validation -- a story that cannot be explained clearly
元素定位的八大法则
通过电脑获取WIFI密码(只能连接过的WiFi)
RT thread project engineering construction and configuration - (Env kconfig)
阳光男孩陈颢天 受邀担任第六季完美童模全球总决赛代言人
程序 编译的步骤 预编译 编译 汇编 连接
Some summary of model compression
2022 documenter general basic (documenter) exam simulation 100 questions and online simulation exam
Several methods of JQ obtaining objects
JQ 自定义属性取值
JSON basic syntax
Basic concepts of machine learning
biggan:large scale gan training for high fidelity natural image synthesis
Oracle数据库完全卸载步骤(暂无截图)
GUN make (1) 简介
2021-1-15 fishing notes ctrl+c /v