diff --git a/docs/user_guide/preprocessing/location.ipynb b/docs/user_guide/preprocessing/location.ipynb index 2052fb89..deda2a17 100644 --- a/docs/user_guide/preprocessing/location.ipynb +++ b/docs/user_guide/preprocessing/location.ipynb @@ -602,25 +602,25 @@ "
7 rows × 23 columns
\n", + "7 rows × 29 columns
\n", "" ], "text/plain": [ - " user n_significant_places n_home n_sps \\\n", - "2013-03-31 00:00:00+02:00 gps_u00 6 97.0 5.0 \n", - "2013-04-30 00:00:00+03:00 gps_u00 10 969.0 8.0 \n", - "2013-05-31 00:00:00+03:00 gps_u00 15 1007.0 9.0 \n", - "2013-06-30 00:00:00+03:00 gps_u00 1 0.0 0.0 \n", - "2013-03-31 00:00:00+02:00 gps_u01 4 273.0 2.0 \n", - "2013-04-30 00:00:00+03:00 gps_u01 4 1492.0 2.0 \n", - "2013-05-31 00:00:00+03:00 gps_u01 2 42.0 1.0 \n", + " user n_significant_places n_transitions \\\n", + "2013-03-31 00:00:00+02:00 gps_u00 6 48.0 \n", + "2013-04-30 00:00:00+03:00 gps_u00 10 194.0 \n", + "2013-05-31 00:00:00+03:00 gps_u00 15 107.0 \n", + "2013-06-30 00:00:00+03:00 gps_u00 1 10.0 \n", + "2013-03-31 00:00:00+02:00 gps_u01 4 8.0 \n", + "2013-04-30 00:00:00+03:00 gps_u01 4 2.0 \n", + "2013-05-31 00:00:00+03:00 gps_u01 2 2.0 \n", "\n", - " normalized_entropy n_moving n_top4 \\\n", - "2013-03-31 00:00:00+02:00 3.006920 54.0 18.0 \n", - "2013-04-30 00:00:00+03:00 3.045317 318.0 37.0 \n", - "2013-05-31 00:00:00+03:00 3.110317 255.0 43.0 \n", - "2013-06-30 00:00:00+03:00 0.000000 18.0 0.0 \n", - "2013-03-31 00:00:00+02:00 2.584963 12.0 0.0 \n", - "2013-04-30 00:00:00+03:00 5.977280 78.0 0.0 \n", - "2013-05-31 00:00:00+03:00 0.000000 110.0 0.0 \n", + " n_moving n_top4 n_rare max_dist_home n_static \\\n", + "2013-03-31 00:00:00+02:00 8.0 20.0 3.0 2.074186e+04 280.0 \n", + "2013-04-30 00:00:00+03:00 66.0 45.0 45.0 2.914790e+05 1966.0 \n", + "2013-05-31 00:00:00+03:00 76.0 65.0 86.0 1.041741e+06 1827.0 \n", + "2013-06-30 00:00:00+03:00 2.0 0.0 15.0 2.035837e+04 22.0 \n", + "2013-03-31 00:00:00+02:00 18.0 0.0 0.0 6.975303e+02 307.0 \n", + "2013-04-30 00:00:00+03:00 71.0 0.0 1.0 1.156568e+04 1999.0 \n", + "2013-05-31 00:00:00+03:00 34.0 0.0 1.0 3.957650e+03 3079.0 \n", "\n", - " max_dist_home n_top5 n_rare ... n_top1 \\\n", - "2013-03-31 00:00:00+02:00 2.074186e+04 8.0 0.0 ... 98.0 \n", - "2013-04-30 00:00:00+03:00 2.914790e+05 18.0 18.0 ... 976.0 \n", - "2013-05-31 00:00:00+03:00 1.041741e+06 38.0 31.0 ... 1009.0 \n", - "2013-06-30 00:00:00+03:00 1.989381e+04 0.0 6.0 ... 6.0 \n", - "2013-03-31 00:00:00+02:00 6.975303e+02 0.0 0.0 ... 307.0 \n", - "2013-04-30 00:00:00+03:00 1.156568e+04 0.0 1.0 ... 1928.0 \n", - "2013-05-31 00:00:00+03:00 6.771047e+02 0.0 0.0 ... 3003.0 \n", + " n_top2 n_top5 ... variance dist_total \\\n", + "2013-03-31 00:00:00+02:00 99.0 18.0 ... 0.003146 4.132581e+05 \n", + "2013-04-30 00:00:00+03:00 668.0 38.0 ... 0.237133 2.179693e+06 \n", + "2013-05-31 00:00:00+03:00 501.0 46.0 ... 8.288687 6.986551e+06 \n", + "2013-06-30 00:00:00+03:00 7.0 0.0 ... 0.014991 2.252893e+05 \n", + "2013-03-31 00:00:00+02:00 21.0 0.0 ... 0.000004 1.328713e+04 \n", + "2013-04-30 00:00:00+03:00 1.0 0.0 ... 0.000027 1.238429e+05 \n", + "2013-05-31 00:00:00+03:00 1.0 0.0 ... 0.000012 1.228235e+05 \n", "\n", - " entropy n_transitions variance log_variance \\\n", - "2013-03-31 00:00:00+02:00 4.839451 25.0 0.003146 -5.761688 \n", - "2013-04-30 00:00:00+03:00 6.332559 97.0 0.237133 -1.439133 \n", - "2013-05-31 00:00:00+03:00 6.834065 69.0 8.288687 2.114892 \n", - "2013-06-30 00:00:00+03:00 0.000000 0.0 0.014991 -4.200287 \n", - "2013-03-31 00:00:00+02:00 1.791759 4.0 0.000004 -12.520989 \n", - "2013-04-30 00:00:00+03:00 4.143135 26.0 0.000027 -10.510017 \n", - "2013-05-31 00:00:00+03:00 0.000000 0.0 0.000012 -11.364454 \n", + " n_bins speed_max time \\\n", + "2013-03-31 00:00:00+02:00 288.0 1.750000 2013-03-27 06:00:00+02:00 \n", + "2013-04-30 00:00:00+03:00 2032.0 33.250000 2013-04-01 00:00:00+03:00 \n", + "2013-05-31 00:00:00+03:00 1903.0 34.000000 2013-05-01 00:10:00+03:00 \n", + "2013-06-30 00:00:00+03:00 24.0 0.559017 2013-06-01 00:00:00+03:00 \n", + "2013-03-31 00:00:00+02:00 325.0 2.692582 2013-03-27 06:00:00+02:00 \n", + "2013-04-30 00:00:00+03:00 2070.0 32.750000 2013-04-01 00:00:00+03:00 \n", + "2013-05-31 00:00:00+03:00 3113.0 20.250000 2013-05-01 00:15:00+03:00 \n", "\n", - " dist_total speed_average speed_max n_bins \\\n", - "2013-03-31 00:00:00+02:00 4.132581e+05 1.116127 17.284037 288.0 \n", - "2013-04-30 00:00:00+03:00 2.179693e+06 0.821680 33.831053 2032.0 \n", - "2013-05-31 00:00:00+03:00 6.986551e+06 0.847341 42.507751 1903.0 \n", - "2013-06-30 00:00:00+03:00 2.252893e+05 14.601880 43.321397 24.0 \n", - "2013-03-31 00:00:00+02:00 1.328713e+04 0.029994 0.744393 325.0 \n", - "2013-04-30 00:00:00+03:00 1.238429e+05 0.050416 16.992157 2070.0 \n", - "2013-05-31 00:00:00+03:00 1.228235e+05 0.044657 9.967899 3113.0 \n", + " latitude longitude speed timezone \\\n", + "2013-03-31 00:00:00+02:00 43.759135 -72.329240 0.00 America/New_York \n", + "2013-04-30 00:00:00+03:00 43.768644 -72.323482 0.75 America/New_York \n", + "2013-05-31 00:00:00+03:00 43.706655 -72.287370 0.00 America/New_York \n", + "2013-06-30 00:00:00+03:00 43.701397 -72.295015 0.00 America/New_York \n", + "2013-03-31 00:00:00+02:00 43.706667 -72.289097 0.00 America/New_York \n", + "2013-04-30 00:00:00+03:00 43.706653 -72.289024 0.00 America/New_York \n", + "2013-05-31 00:00:00+03:00 43.706731 -72.289062 0.00 America/New_York \n", "\n", - " speed_variance \n", - "2013-03-31 00:00:00+02:00 9.876405 \n", - "2013-04-30 00:00:00+03:00 9.970465 \n", - "2013-05-31 00:00:00+03:00 15.081070 \n", - "2013-06-30 00:00:00+03:00 242.791725 \n", - "2013-03-31 00:00:00+02:00 0.008880 \n", - "2013-04-30 00:00:00+03:00 0.237219 \n", - "2013-05-31 00:00:00+03:00 0.085366 \n", + " local_time \n", + "2013-03-31 00:00:00+02:00 2013-03-27 00:00:00-04:00 \n", + "2013-04-30 00:00:00+03:00 2013-03-31 17:00:00-04:00 \n", + "2013-05-31 00:00:00+03:00 2013-04-30 17:10:00-04:00 \n", + "2013-06-30 00:00:00+03:00 2013-05-31 17:00:00-04:00 \n", + "2013-03-31 00:00:00+02:00 2013-03-27 00:00:00-04:00 \n", + "2013-04-30 00:00:00+03:00 2013-03-31 17:00:00-04:00 \n", + "2013-05-31 00:00:00+03:00 2013-04-30 17:15:00-04:00 \n", "\n", - "[7 rows x 23 columns]" + "[7 rows x 29 columns]" ] }, "execution_count": 8, @@ -897,115 +897,124 @@ "