CSV Command Guide
Learn how to use the CSV slash command for parsing and analyzing CSV files
Using The CSV Command
The CSV command works best when you use it in two steps:
Step 1: Understand Your Data
First, tell the command what you want to do. It will show you the structure of your data:
The command will output something like:
Step 2: Continue Your Analysis
Now that you can see your data structure, continue with your specific analysis:
Example Workflows
Sales Analysis
Customer Data
Inventory Analysis
Best Practices
-
Start Simple
- Begin with a basic request to see your data
- Check the column names in the structure output
- Verify the data format in the sample rows
- Then build your analysis
-
Clear Requests
- Specify the CSV file name
- State what you want to analyze
- Be specific about calculations
- Mention any sorting or filtering needed
-
Build Analysis
- Use the column names exactly as shown
- Reference the data types you saw
- Specify any grouping needed
- Indicate how you want results sorted
Tips for Success
-
First Step
- Always start with a request that will show you the data
- Check column names carefully
- Note the format of dates, numbers, etc.
- Verify the countries, categories, or other key fields
-
Second Step
- Use the exact column names you saw
- Build on what you learned about your data
- Be specific about calculations
- Indicate how you want results formatted
Remember: Let the first step show you what’s in your data, then build your analysis in the second step!