in java Read a give “data.csv” file, analyze the data, write the analysis result to “report.txt” file : in the report.txt file: include information of: 1). How many rows in this dataset, for example: “This dataset has 10 rows” 2). How many columns in this dataset, for example:”This dataset has 3 col- umns.” 3). What are the name for the columns, print the all the column names, for example, “The 3 columns are: name,age,gpa” 4). How many numeric column(s), for example, “ This dataset has 2 numeric columns, they are age, and gpa” 5). The mean (avarage) of each column, for example, “The means are:
in java Read a give “data.csv” file, analyze the data, write the analysis result to
“report.txt” file :
in the report.txt file: include information of:
1). How many rows in this dataset, for example: “This dataset has 10 rows”
2). How many columns in this dataset, for example:”This dataset has 3 col-
umns.”
3). What are the name for the columns, print the all the column names, for
example, “The 3 columns are: name,age,gpa”
4). How many numeric column(s), for example, “ This dataset has 2 numeric
columns, they are age, and gpa”
5). The mean (avarage) of each column, for example, “The means are:
mean1, mean2
data.csv
name,age,gpa
john,18,3.0
mary,19,3.5
bob,17,2.7
jeffery,18,3.25
nick,16,3.7
tyler,20,3.3
joe,18,2.0
randall,19,1.7
david,21,4.0
ellen,22,3.9
Step by step
Solved in 3 steps with 2 images