A Reproducible Example Using the Spaceflights Tutorial

Author

Rob Wiederstein

Published

June 4, 2025

1 Introduction

This project ports the spaceflights tutorial from Kedro. Its significance is that it builds a reproducible pipeline within a broadly accepted python framework.[1] The Kedro framework envisions the use of Sphinx, the widely used Python documentation system. However, the Sphinx default was changed to Quarto.

Figure 1: A moon rocket.

2 Datasets

2.1 Companies

Table 1: First 5 rows of the Companies dataset.
id company_rating company_location total_fleet_count iata_approved
0 3888 100% Isle of Man 1.0 f
1 46728 100% NaN 1.0 f
2 34618 38% Isle of Man 1.0 f
3 28619 100% Bosnia and Herzegovina 1.0 f
4 8240 NaN Chile 1.0 t

2.2 Reviews

Table 2: First 5 rows of the Reviews dataset.
shuttle_id review_scores_rating review_scores_comfort review_scores_amenities review_scores_trip review_scores_crew review_scores_location review_scores_price number_of_reviews reviews_per_month
0 45163 91.0 10.0 9.0 9.0 9.0 9.0 9.0 26 0.77
1 49438 96.0 10.0 10.0 10.0 10.0 10.0 9.0 61 0.62
2 10750 97.0 10.0 10.0 10.0 10.0 10.0 10.0 467 4.66
3 4146 95.0 10.0 10.0 10.0 10.0 9.0 9.0 318 3.22
4 5067 97.0 10.0 9.0 10.0 10.0 9.0 10.0 22 0.29

2.3 Shuttles

Table 3: First 5 rows of the Shuttles dataset.
id shuttle_location shuttle_type engine_type engine_vendor engines passenger_capacity cancellation_policy crew d_check_complete moon_clearance_complete price company_id
0 45163 Sao Tome and Principe Type V5 Plasma ThetaBase Services 2.0 4 moderate 2.0 f f $1,715.0 32413
1 49438 Wallis and Futuna Type V2 Plasma ThetaBase Services 3.0 5 moderate 3.0 f f $3,405.0 14122
2 10750 Niue Type F5 Quantum ThetaBase Services 1.0 2 strict 1.0 t f $1,806.0 47761
3 4146 Malta Type V2 Quantum ThetaBase Services 1.0 2 moderate 1.0 f f $1,676.0 26648
4 5067 Malta Type V2 Plasma ThetaBase Services 5.0 10 strict 5.0 f f $4,718.0 26648

3 Model Inputs

Table 4: First 5 rows of the Model Input Table
shuttle_location shuttle_type engine_type engine_vendor engines passenger_capacity cancellation_policy crew d_check_complete moon_clearance_complete ... review_scores_crew review_scores_location review_scores_price number_of_reviews reviews_per_month id company_rating company_location total_fleet_count iata_approved
0 Sao Tome and Principe Type V5 Plasma ThetaBase Services 2.0 4 moderate 2.0 False False ... 9.0 9.0 9.0 26 0.77 32413 1.0 Faroe Islands 1.0 False
1 Wallis and Futuna Type V2 Plasma ThetaBase Services 3.0 5 moderate 3.0 False False ... 10.0 10.0 9.0 61 0.62 14122 1.0 Malta 1.0 True
2 Niue Type F5 Quantum ThetaBase Services 1.0 2 strict 1.0 True False ... 10.0 10.0 10.0 467 4.66 47761 1.0 Niue 2.0 False
3 Malta Type V2 Quantum ThetaBase Services 1.0 2 moderate 1.0 False False ... 10.0 9.0 9.0 318 3.22 26648 1.0 Niue 2.0 True
4 Malta Type V2 Plasma ThetaBase Services 5.0 10 strict 5.0 False False ... 10.0 9.0 10.0 22 0.29 26648 1.0 Niue 2.0 True

5 rows × 27 columns

4 Results

For more information, see moon rocket at Figure 1.

References

[1]
G. Wilson, D. A. Aruliah, C. T. Brown, N. P. C. Hong, M. Davis, R. T. Guy, S. H. D. Haddock, K. D. Huff, I. M. Mitchell, M. D. Plumbley, B. Waugh, E. P. White, and P. Wilson, “Best Practices for Scientific Computing,” PLOS Biology, vol. 12, no. 1, p. e1001745, Jan. 2014 [Online]. Available: https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.1001745. [Accessed: 25-Oct-2021]