Stemble simulations generally output comma separated values, or csv files
Applies to: Everyone
The comma-separated values (or csv) file is a common file type for data in which the comma character (,) typically separates each field of text. These can be easily opened in any spreadsheet program.
Excel
-
Go to File > Open and browse to the location that contains the text file.
-
Select Text Files in the file type dropdown list in the Open dialog box.
-
Locate and double-click the text file that you want to open.
-
If the file is a .csv file, Excel automatically opens the text file and displays the data in a new workbook.
-
Additional instructions can be found here.
Google Sheets
- On your computer, open a spreadsheet in Google Sheets.
- Open or create a sheet.
- At the top, click File Import.
- Choose your csv file
- Select an import option. Not all file types have all six options:
- Create new spreadsheet: Create a spreadsheet from the imported data in a new browser tab.
- Insert new sheets: Adds new sheets with the imported data to your existing spreadsheet.
- Replace spreadsheet: Replace the open spreadsheet with the data in your imported file.
- Replace current sheet: Replace the current sheet’s contents with the imported data.
- Append rows to current sheet: Adds the imported data to the current sheet after the last row with any data.
- Replace data starting at selected cell: Replace the data in a range of selected cells with the imported data.
- Optional: If you import a plain text file, like .csv, under "Separator character," you can pick what letter or symbol Google Sheets uses to separate cells.
- Detect automatically: This will automatically find ways to split your data set. For example, it can detect fixed-width-formatted files.
- Tab
- Comma
- Custom: Choose a custom character to split your data.
- Click Import.
Additional instructions can be found here.
Numbers
-
Drag the file to the Numbers icon in the Dock or in the Applications folder.
-
Click anywhere in the table to select it.
-
In the Format sidebar, click the Table tab, then click Adjust Import Settings.
-
Click the Delimited tab in the Import Settings window.
-
Select the comma delimiter option next to Separate Values Using.
-
Do any of the following:
-
Add text qualifiers: A text qualifier indicates where text begins and ends. Click the Text Qualifier pop-up menu and choose a character.
-
Encode text: Click the Text Encoding pop-up menu and choose an option.
-
Ignore duplicate delimiters: Select “Treat consecutive delimiters as one.”
-
Transpose rows and columns: To transpose, or switch, rows and columns in your table when you import, select “Transpose rows and columns.”
-
-
Click Update Table.
Additional instructions can be found here.