# johnashu/datacamp architecture

> Architecture diagram of the GitHub repository johnashu/datacamp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/johnashu/datacamp
- Repository: https://github.com/johnashu/datacamp

## Overview

This repository is a collection of standalone DataCamp learning scripts, not an integrated application. The typical learner runs an example script, which reads a dataset or constructs data, performs an analysis, and prints results or draws plots. Its topics span data acquisition and cleanup, tabular and database operations, statistical reasoning, and visualization. The README provides no product or workflow description; the map reflects the file tree and sampled scripts, so it does not assume connections among neighboring lessons.

Main entry points: [`importing_data.py`](https://github.com/johnashu/datacamp/blob/master/importing_data.py) (Data importing), [`clean_and_tidy_data.py`](https://github.com/johnashu/datacamp/blob/master/clean_and_tidy_data.py) (Data cleaning), [`pandas_arithmetic_operation.py`](https://github.com/johnashu/datacamp/blob/master/pandas_arithmetic_operation.py) (Pandas operations), [`databases_intro.py`](https://github.com/johnashu/datacamp/blob/master/databases_intro.py) (SQL querying)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data handling"]
  node_importing["Data importing<br/>[importing_data.py]"]
  node_webdata["Web data parsing"]
  node_cleanup["Data cleaning"]
  node_reshape["Reshape data"]
  node_combine["Combine data"]
  node_baby["Baby-name lookup<br/>[baby_names.py]"]
end

subgraph group_tables["Tables and databases"]
  node_pandas["Pandas operations"]
  node_grouping["Grouping data<br/>[grouping.py]"]
  node_olympics["Medal analysis"]
  node_sqlread["SQL querying<br/>[databases_intro.py]"]
  node_sqlwrite["SQL updates"]
  node_sqlpandas["SQL and pandas"]
end

subgraph group_stats["Statistical analysis"]
  node_explore["Quantitative exploration"]
  node_probability["Probability simulation"]
  node_estimation["Parameter estimation"]
  node_bootstrap["Bootstrap intervals"]
end

subgraph group_viz["Visualization"]
  node_plots["Plot customization"]
  node_timeseries["Time series and images"]
  node_seaborn["Statistical plots"]
end

subgraph group_python["Python techniques"]
  node_generators["Generators"]
  node_comprehensions["Comprehensions"]
end

node_learner(("Learner"))

node_learner -.->|"runs example"| node_importing
node_learner -.->|"runs example"| node_cleanup
node_learner -.->|"runs example"| node_pandas
node_learner -.->|"runs example"| node_sqlread
node_learner -.->|"runs example"| node_explore
node_learner -.->|"runs example"| node_plots

click node_importing "https://github.com/johnashu/datacamp/blob/master/importing_data.py"
click node_webdata "https://github.com/johnashu/datacamp/blob/master/parsing_beautifulsoup.py"
click node_cleanup "https://github.com/johnashu/datacamp/blob/master/clean_and_tidy_data.py"
click node_reshape "https://github.com/johnashu/datacamp/blob/master/cleaning_data_melt_and_pivot.py"
click node_combine "https://github.com/johnashu/datacamp/blob/master/combining_data_for_analysis.py"
click node_pandas "https://github.com/johnashu/datacamp/blob/master/pandas_arithmetic_operation.py"
click node_grouping "https://github.com/johnashu/datacamp/blob/master/grouping.py"
click node_olympics "https://github.com/johnashu/datacamp/blob/master/medals/pandas_merging_case_study_medals.py"
click node_sqlread "https://github.com/johnashu/datacamp/blob/master/databases_intro.py"
click node_sqlwrite "https://github.com/johnashu/datacamp/blob/master/sqlalchemy_updating_database_data.py"
click node_sqlpandas "https://github.com/johnashu/datacamp/blob/master/sqlalchemy_and_pandas.py"
click node_explore "https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-1/Quantitative_exploratory_data_anaylsis.py"
click node_probability "https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-1/Thinking-probabilistically--Discrete-variables.py"
click node_estimation "https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-2/Parameter-estimation-by-optimization.py"
click node_bootstrap "https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-2/Bootstrap-confidence-intervals.py"
click node_plots "https://github.com/johnashu/datacamp/blob/master/Introduction_to_Data_Visualization_with_Python/customizing_plots.py"
click node_timeseries "https://github.com/johnashu/datacamp/blob/master/Introduction_to_Data_Visualization_with_Python/Analyzing_time_series_and_images.py"
click node_seaborn "https://github.com/johnashu/datacamp/blob/master/Introduction_to_Data_Visualization_with_Python/statistical_plots_with_seaborn.py"
click node_generators "https://github.com/johnashu/datacamp/blob/master/streaming_data_generator.py"
click node_comprehensions "https://github.com/johnashu/datacamp/blob/master/advanced_comprehension.py"
click node_baby "https://github.com/johnashu/datacamp/blob/master/baby/baby_names.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_importing,node_webdata,node_cleanup,node_reshape,node_combine,node_baby toneBlue
class node_pandas,node_grouping,node_olympics,node_sqlread,node_sqlwrite,node_sqlpandas toneAmber
class node_explore,node_probability,node_estimation,node_bootstrap toneMint
class node_plots,node_timeseries,node_seaborn toneRose
class node_generators,node_comprehensions,node_learner toneIndigo
```

## Components

### Data handling

- [Data importing](https://github.com/johnashu/datacamp/blob/master/importing_data.py): `importing_data.py`
- [Web data parsing](https://github.com/johnashu/datacamp/blob/master/parsing_beautifulsoup.py): `parsing_beautifulsoup.py`
- [Data cleaning](https://github.com/johnashu/datacamp/blob/master/clean_and_tidy_data.py): `clean_and_tidy_data.py`
- [Reshape data](https://github.com/johnashu/datacamp/blob/master/cleaning_data_melt_and_pivot.py): `cleaning_data_melt_and_pivot.py`
- [Combine data](https://github.com/johnashu/datacamp/blob/master/combining_data_for_analysis.py): `combining_data_for_analysis.py`
- [Baby-name lookup](https://github.com/johnashu/datacamp/blob/master/baby/baby_names.py): `baby/baby_names.py`

### Tables and databases

- [Pandas operations](https://github.com/johnashu/datacamp/blob/master/pandas_arithmetic_operation.py): `pandas_arithmetic_operation.py`
- [Grouping data](https://github.com/johnashu/datacamp/blob/master/grouping.py): `grouping.py`
- [Medal analysis](https://github.com/johnashu/datacamp/blob/master/medals/pandas_merging_case_study_medals.py): `medals/pandas_merging_case_study_medals.py`
- [SQL querying](https://github.com/johnashu/datacamp/blob/master/databases_intro.py): `databases_intro.py`
- [SQL updates](https://github.com/johnashu/datacamp/blob/master/sqlalchemy_updating_database_data.py): `sqlalchemy_updating_database_data.py`
- [SQL and pandas](https://github.com/johnashu/datacamp/blob/master/sqlalchemy_and_pandas.py): `sqlalchemy_and_pandas.py`

### Statistical analysis

- [Quantitative exploration](https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-1/Quantitative_exploratory_data_anaylsis.py): `statistical-thinking-in-python-part-1/Quantitative_exploratory_data_anaylsis.py`
- [Probability simulation](https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-1/Thinking-probabilistically--Discrete-variables.py): `statistical-thinking-in-python-part-1/Thinking-probabilistically--Discrete-variables.py`
- [Parameter estimation](https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-2/Parameter-estimation-by-optimization.py): `statistical-thinking-in-python-part-2/Parameter-estimation-by-optimization.py`
- [Bootstrap intervals](https://github.com/johnashu/datacamp/blob/master/statistical-thinking-in-python-part-2/Bootstrap-confidence-intervals.py): `statistical-thinking-in-python-part-2/Bootstrap-confidence-intervals.py`

### Visualization

- [Plot customization](https://github.com/johnashu/datacamp/blob/master/Introduction_to_Data_Visualization_with_Python/customizing_plots.py): `Introduction_to_Data_Visualization_with_Python/customizing_plots.py`
- [Time series and images](https://github.com/johnashu/datacamp/blob/master/Introduction_to_Data_Visualization_with_Python/Analyzing_time_series_and_images.py): `Introduction_to_Data_Visualization_with_Python/Analyzing_time_series_and_images.py`
- [Statistical plots](https://github.com/johnashu/datacamp/blob/master/Introduction_to_Data_Visualization_with_Python/statistical_plots_with_seaborn.py): `Introduction_to_Data_Visualization_with_Python/statistical_plots_with_seaborn.py`

### Python techniques

- [Generators](https://github.com/johnashu/datacamp/blob/master/streaming_data_generator.py): `streaming_data_generator.py`
- [Comprehensions](https://github.com/johnashu/datacamp/blob/master/advanced_comprehension.py): `advanced_comprehension.py`

### Other components

- **Learner**

## Connections

- Learner → Data importing: runs example
- Learner → Data cleaning: runs example
- Learner → Pandas operations: runs example
- Learner → SQL querying: runs example
- Learner → Quantitative exploration: runs example
- Learner → Plot customization: runs example
