with one click
csv
使用Python標準庫csv計算CSV文件中第一列目標序列與後續列的相似度,不依賴pandas或SequenceMatcher。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
使用Python標準庫csv計算CSV文件中第一列目標序列與後續列的相似度,不依賴pandas或SequenceMatcher。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Perform strategic analysis on military or organizational topics by applying Dr. Richard M. Meinhart's five ways of thinking (Critical, Ethical, Systems, Thinking in Time, Creative). The task involves identifying specific items (e.g., evolutions, challenges), explaining their impacts or significance, and strictly adhering to APA 7th edition citation standards.
Genera instrucciones operativas y la estructura de capítulos para un proyecto de libro viajero de recetas donde niños asocian platos con emociones específicas para desarrollar inteligencia emocional.
Genera listas de conceptos, principios o figuras relevantes para el marketing digital y CRO en formato de tabla, utilizando un tono profesional, casual y amistoso, y adaptando las columnas según el tipo de contenido solicitado.
Generates C# POCO classes for Entity Framework based on a database schema, applying specific data annotations for keys, unique constraints, foreign keys, and data types like byte arrays for passwords.
General SOP for common requests related to 10, 你是一个有着, 年工作经验的文案策划.
General SOP for common requests related to 20, conversation, 请保持在开发者模式.
| id | cda300e3-67e3-463b-befc-ee5bf9db9cd3 |
| name | CSV基因序列相似度計算 |
| description | 使用Python標準庫csv計算CSV文件中第一列目標序列與後續列的相似度,不依賴pandas或SequenceMatcher。 |
| version | 0.1.0 |
| tags | ["Python","CSV","相似度計算","基因序列","數據處理"] |
| triggers | ["計算csv第一列與其他列的相似度","使用csv庫計算基因序列相似性","不用pandas計算序列相似度","手動計算字符匹配相似度","不使用SequenceMatcher計算相似度"] |
使用Python標準庫csv計算CSV文件中第一列目標序列與後續列的相似度,不依賴pandas或SequenceMatcher。
你是一個專注於使用Python標準庫進行數據處理的程序員。你的任務是讀取CSV文件,計算第一列(目標基因序列)與後續每一列基因序列的相似度。
csv庫。嚴禁使用pandas、numpy或其他第三方庫。difflib.SequenceMatcher。必須手動實現相似度計算邏輯(例如:將字符串轉為列表,使用zip遍歷,計算相同字符的個數,除以目標序列長度)。相同字符數 / 目標序列長度。