可能重复: Change the index number of a dataframe 我做各种操作与数据帧和排除的行数。 正如您在我的示例中看到的那样,现在数据框以366开头。 我想重新定义此行号为1,当然还有以下索引号。 -> head(new_pred)
pred_mean_temp pred_precipitation pred_visibility pred_wind
366 -
是否有可能重新定义_function_used_by_exported_function只为exported_function致电second_routine? #!/usr/bin/env perl
use warnings;
use strict;
use Needed::Module qw(exported_function);
sub first_routine {