Helicopters: example data

Source: Helicopters/helicopters.Rmd

This early ROS example simply displays a small helicopter flying-time dataset. The Python port loads the same file and gives a quick inspection.

Code
from pathlib import Path
import pandas as pd

root = Path("../../ROS-Examples")
helicopters = pd.read_table(root / "Helicopters/data/helicopters.txt", sep=r"\s+")
helicopters
Helicopter_ID width_cm length_cm time_sec
0 1 4.6 8.2 1.64
1 1 4.6 8.2 1.74
2 1 4.6 8.2 1.68
3 1 4.6 8.2 1.62
4 1 4.6 8.2 1.68
5 1 4.6 8.2 1.70
6 1 4.6 8.2 1.62
7 1 4.6 8.2 1.66
8 1 4.6 8.2 1.69
9 1 4.6 8.2 1.62
10 2 4.6 8.2 1.62
11 2 4.6 8.2 1.65
12 2 4.6 8.2 1.66
13 2 4.6 8.2 1.63
14 2 4.6 8.2 1.66
15 2 4.6 8.2 1.71
16 2 4.6 8.2 1.64
17 2 4.6 8.2 1.69
18 2 4.6 8.2 1.59
19 2 4.6 8.2 1.61
Code
helicopters.describe(include="all")
Helicopter_ID width_cm length_cm time_sec
count 20.000000 2.000000e+01 2.000000e+01 20.00000
mean 1.500000 4.600000e+00 8.200000e+00 1.65550
std 0.512989 9.112518e-16 1.822504e-15 0.03859
min 1.000000 4.600000e+00 8.200000e+00 1.59000
25% 1.000000 4.600000e+00 8.200000e+00 1.62000
50% 1.500000 4.600000e+00 8.200000e+00 1.65500
75% 2.000000 4.600000e+00 8.200000e+00 1.68250
max 2.000000 4.600000e+00 8.200000e+00 1.74000