Loading...
    • 開発者ガイド
    • API リファレンス
    • MCP
    • リソース
    • リリースノート
    Search...
    ⌘K

    リソース

    overview用語集システムプロンプト

    ユースケース

    概要チケットルーティングカスタマーサポートエージェントコンテンツモデレーション法的文書の要約

    プロンプトライブラリ

    プロンプトライブラリコズミック・キーストローク企業の千里眼ウェブサイトウィザードExcel数式エキスパートGoogle Apps スクリプターPythonバグバスタータイムトラベルコンサルタントストーリーテリングの相棒情報源を引用するSQLの魔法使い夢の解釈者ダジャレ専門家料理クリエイターポートマンテュー詩人ユーモラスなヘルパーHalLaTeX の達人ムードカラライザーGit gud直喩の達人倫理的ジレンマナビゲーター会議書記慣用句解説者コードコンサルタント関数ファブリケーター新語創造者CSVコンバーター絵文字エンコーダー文章校正ツール視点の検討者トリビアジェネレーターマインドフルネス・メンター小学2年生向け簡略化ツールVRフィットネスイノベーターPII除去ツールメモマエストロキャリアコーチ採点の達人早口言葉面接質問作成者文法の魔法使いなぞなぞを出してコード解説者エイリアン人類学者データオーガナイザーブランドビルダー効率性推定器レビュー分類器方向デコーダーモチベーションの女神メール抽出器マスターモデレーター授業計画立案者ソクラテス式賢者頭韻錬金術師未来的ファッションアドバイザー多言語の超能力プロダクトネーミングプロ哲学的思索スプレッドシート魔術師SF シナリオシミュレーター適応型エディターBabelの放送ツイートのトーン検出器空港コード分析
    Console
    プロンプトライブラリ

    CSVコンバーター

    様々な形式(JSON、XMLなど)のデータを適切にフォーマットされたCSVファイルに変換します。

    このプロンプトを開発者Consoleにコピーして、自分で試してみてください!

    Content
    Systemデータ変換の専門家として、あなたのタスクは異なる形式(JSON、XMLなど)のデータを適切にフォーマットされたCSVファイルに変換することです。ユーザーは元の形式の入力データと、CSV出力に対する特定の要件や設定(例:列の順序、区切り文字、エンコーディング)を提供します。データ構造と希望するCSV形式を明確に理解し、必要に応じて明確化のための質問をしてください。必要な情報を得たら、適切なフォーマットルールに従ってCSV出力を生成してください。例えば、区切り文字としてコンマを使用し、必要に応じて値を引用符で囲み、特殊文字や改行を正しく処理します。最後に、CSVファイルの保存や使用に関する追加の指示やヒントを提供してください。
    User以下のJSONデータをCSVファイルに変換してください:

    [
    {
    "name": "John Doe",
    "age": 30,
    "city": "New York",
    "email": "[email protected]"
    },
    {
    "name": "Jane Smith",
    "age": 25,
    "city": "London",
    "email": "[email protected]"
    },
    {
    "name": "Bob Johnson",
    "age": 35,
    "city": "Paris",
    "email": "[email protected]"
    }
    ]
    要件:
    - CSVの列は次の順序にしてください:name、age、city、email
    - 区切り文字としてセミコロン(;)を使用
    - すべての値をダブルクォート(")で囲む

    出力例

    提供されたJSONデータと要件に基づいて、変換されたCSVファイルは以下の通りです:

    csv
    "name";"age";"city";"email"
    "John Doe";"30";"New York";"[email protected]"
    "Jane Smith";"25";"London";"[email protected]"
    "Bob Johnson";"35";"Paris";"[email protected]"

    説明:

    • CSVファイルの最初の行には列ヘッダーが含まれています:"name"、"age"、"city"、"email"で、セミコロン(;)で区切られ、ダブルクォート(")で囲まれています。
    • 後続の各行はデータの行を表し、値はセミコロン(;)で区切られ、ダブルクォート(")で囲まれています。
    • 各行の値の順序は指定された列の順序に対応しています:name、age、city、email。
    • 値に特殊文字が含まれている場合、ダブルクォート内で保持されます。

    CSVファイルを保存するには:

    1. 上記で提供されたCSVデータをコピーします。
    2. テキストエディタ(例:メモ帳、TextEdit、またはその他のプレーンテキストエディタ)を開きます。
    3. CSVデータをテキストエディタに貼り付けます。
    4. .csv拡張子でファイルを保存します(例:data.csv)。

    注意:スプレッドシートアプリケーション(例:Microsoft Excel、Google Sheets)でCSVファイルを開く際は、適切な区切り文字(セミコロン)と値の周りのダブルクォートの存在を指定して、適切なフォーマットを確保してください。


    APIリクエスト

    • APIリクエスト
    © 2025 ANTHROPIC PBC

    Products

    • Claude
    • Claude Code
    • Max plan
    • Team plan
    • Enterprise plan
    • Download app
    • Pricing
    • Log in

    Features

    • Claude and Slack
    • Claude in Excel

    Models

    • Opus
    • Sonnet
    • Haiku

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Claude Developer Platform

    • Overview
    • Developer docs
    • Pricing
    • Amazon Bedrock
    • Google Cloud’s Vertex AI
    • Console login

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Help and security

    • Availability
    • Status
    • Support center

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy

    Products

    • Claude
    • Claude Code
    • Max plan
    • Team plan
    • Enterprise plan
    • Download app
    • Pricing
    • Log in

    Features

    • Claude and Slack
    • Claude in Excel

    Models

    • Opus
    • Sonnet
    • Haiku

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Claude Developer Platform

    • Overview
    • Developer docs
    • Pricing
    • Amazon Bedrock
    • Google Cloud’s Vertex AI
    • Console login

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Help and security

    • Availability
    • Status
    • Support center

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    © 2025 ANTHROPIC PBC