Prompt Techniques
Specific Prompts
Scala Prompts
- Incremental Id assignment
- suppose I have a rdd called edgeDF which has src_id, dst_id columns. Now I want to turn srd_id and dst_id into a single column called vertex_id. Each vertex_id is unique and assign a new column called id with incremental number. Finally, I want to assign the id column to src_id and dst_id in the original edgeDF. please write the scala program
PREVIOUS【阅读】The Tyranny of Merit. 傲慢的精英
NEXT【AI】LLM Thoughts