Answer:
x = 1 ; y = 1
Explanation:
The newly created AVG column will contain the mean value of all 6 columns(P2010, P2011, P2012, P2013, 2014 and P2015) this means that we are taking the mean across the columns as our AVG column have the same length as the initial lengtb of the data Frame as all a values in each index are averaged to create the new column. To achieve this the value 1 will be passed to the axis argument in the apply method.
To drop the previous 6 columns, we se the axis argument set to 1, this will delete the columns passed to the drop method.
Hence, both x and y values of the axis argument will take the value 1.
The answer is E) both B and C
Answer:
The TCP/IP protocol could only be used in universities, governments, and businesses. People around the world could not send data to one another.
Answer:
Explanation:
The code provided is written in Java. The statement is provided right under the /*Type your code here*/. In Java, in order to case one primitive to another you simply need to type the primitive type that you are trying to cast too before the variable and within parenthesis. The output of the new code can be seen in the attached image below.
class LabProgram {
public static int convert(double d){
/* Type your code here */
return (int) d;
}
public static void main(String[] args) {
System.out.println(convert(19.9));
System.out.println(convert(3.1));
}
}
B. Compressing
Because it can resize the files in to smaller size, and multiple files can be combined together using a zip / compressed file. Softwares like winrar, winzip can be used for this purpose.