可以将1行的内容移至另一行吗?
我有这个数据框:
biopsia1 |
---|
姓名:Juan |
Rut:17006-9 |
诊断: |
胆囊癌 |
我将数据库分成 2 列
text | text_2 |
---|---|
姓名 | Juan |
Rut | 17006-9 |
诊断 | NA |
胆囊癌 | NA |
原始格式具有不同的诊断结果行(我无法更改它),所以当我拆分数据库时,“胆囊癌”低于诊断,但我希望它位于同一行。
text | text_2 |
---|---|
诊断 | 胆囊癌 |
可以将“胆囊癌”移到同一行吗? 感谢您的帮助!
I have this data frame:
biopsia1 |
---|
Name:Juan |
Rut: 17006-9 |
Diagnostic: |
Gallbladder Cancer |
I split the data base in 2 columns
text | text_2 |
---|---|
Name | Juan |
Rut | 17006-9 |
Diagnostic | NA |
Gallbladder Cancer | NA |
The original format have de Diagnostic results in a different row (i can not change it), so when i split the data base "Galbladder Cancer" is below diagnosis, but i want it in the same row.
text | text_2 |
---|---|
Diagnostic | Gallbladder Cancer |
It is possible to move "Gallbladder Cancer" to the same row?
Thank for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论