txt转csv5090

txt转csv5090
type
status
date
slug
summary
tags
category
icon
password

Task

Processing strange-shaped table is challenging for the downstream analyzing tasks. Your assignment is to transform the following Table-like data into the CSV format.

Tips

 

Example1

input

output

code

 
step1:解析txt,找到并确定headers
notion image
 
step2:找到每一行内容,按照一定规则进行分割成三块
notion image
 
step3 合并内容并输出
notion image
 

Example2

 

思路

 
 
notion image

Wait 60 seconds before connecting using these details, or login to https://console.neo4j.io to validate the Aura Instance is available

NEO4J_URI=neo4j+s://ba123911.databases.neo4j.io NEO4J_USERNAME=neo4j NEO4J_PASSWORD=aowwq8hW8D-f6cGDMZQhLU3i2xeg2qhNMfXAcVgWYbU AURA_INSTANCEID=ba123911 AURA_INSTANCENAME=Instance01
notion image
以疾病为节点 拓展其他节点 只要其中一个
 
上一篇
ReAct学习
下一篇
Python 已不再是数据科学领域的王者?
Loading...

No results found.