reading csv files with a Mac

How do I read a csv file on a Mac with the load command?

1 Answer



0



Reading CSV files on Mac should be the same as on Windows or Linux. Here is a basic example.

1. Create a file named my_data.csv with the following contents:

1,
2,
4,
8,
16,
32

2. From the GAUSS command line (make sure your GAUSS working directory is the same as the directory to which you saved the file my_data.csv), enter the command:

load new_var[] = my_data.csv;
print new_var;

aptech

1,773

Your Answer

1 Answer

0

Reading CSV files on Mac should be the same as on Windows or Linux. Here is a basic example.

1. Create a file named my_data.csv with the following contents:

1,
2,
4,
8,
16,
32

2. From the GAUSS command line (make sure your GAUSS working directory is the same as the directory to which you saved the file my_data.csv), enter the command:

load new_var[] = my_data.csv;
print new_var;

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy