def _get_norms_of_cols(data_frame, method):
if method == '<STR_LIT>':<EOL><INDENT>norm_vector = data_frame.iloc[<NUM_LIT:0>, :].values<EOL><DEDENT>elif method == '<STR_LIT>':<EOL><INDENT>norm_vector = np.mean(data_frame.values, axis=<NUM_LIT:0>)<EOL><DEDENT>elif method == '<STR_LIT>':<EOL><INDENT>norm_vector = data_frame.iloc[-<NUM_LIT:1>, :].values<EOL><DEDENT>elif method == '<STR_LIT>':<EOL><INDENT>norm_vector = np.linalg.norm(data_frame.values, axis=<NUM_LIT:0>)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>".format(method))<EOL><DEDENT>return norm_vector<EOL>
return a row vector containing the norm of each column