How shubham-soni-coder/telso_churm_eda works
1. Repository type and scope
This is a single-purpose exploratory data analysis (EDA) repository, not an application or service. The architecture is a notebook-centered data pipeline that loads a telecom churn dataset, cleans it, performs analysis, and produces visual/report artifacts.
2. Primary input boundary
The main input is Telso_churm_data.csv, a flat file containing customer records and churn labels. It is the only explicit data source in the repo, so the entire analysis flow is file-driven rather than database- or API-driven.
3. Execution environment
The core runtime is Python in Jupyter Notebook. The analysis appears to live in main.ipynb, which acts as both the computation layer and the presentation layer for results.
4. Data processing subsystem
The notebook uses Pandas and NumPy for ingesting, inspecting, and transforming the tabular dataset. This layer handles:
- schema inspection and type checking
- missing-value treatment
- duplicate validation
- basic feature transformation
5. Data quality handling
A key preprocessing step is the cleanup of TotalCharges, where blank values are replaced with 0 and the column is converted to numeric. Another transformation maps SeniorCitizen from numeric flags to human-readable labels (Yes/No) to support clearer analysis and plotting.
6. EDA and analytics subsystem
The analytical core is descriptive rather than predictive. The notebook studies churn through segmented views such as:
- overall churn distribution
- customer tenure vs churn
- contract type vs churn
- senior citizen vs non-senior behavior
- service adoption vs churn
7. Visualization layer
Matplotlib and Seaborn provide the charting layer. They turn the cleaned data into count plots, pie charts, histograms, stacked bars, and heatmaps. In architectural terms, this is the presentation boundary that converts tabular analysis into interpretable business visuals.
8. Output artifacts
The repo produces two main outputs:
- the executed notebook itself, which contains the analysis narrative and embedded plots
- analysis_summary.pdf, a static report artifact for sharing results outside the notebook environment
9. Data flow
The end-to-end flow is straightforward:
CSV dataset → notebook ingestion → cleaning/transformation → exploratory segmentation → visual summaries → PDF/notebook outputs.
There is no feedback loop, model training pipeline, or external service integration.
10. System boundaries
The important boundary is between raw customer data and interpreted business insight. The repo stops at insight generation; it does not include production scoring, deployment, dashboards, or persistence layers. That makes the architecture a local analytical workflow rather than an operational churn system.
11. Project structure implications
The repo is intentionally minimal: one dataset, one notebook, one report, and the README. That means the architecture is centralized and easy to diagram as a single notebook-driven analysis stack with one input source and two output artifacts.
12. Business focus
The analysis is centered on retention signals rather than technical complexity. The key domain factors surfaced by the notebook are contract length, tenure, age group, and service bundle adoption, which are the main business dimensions to represent in any architecture diagram.
Main entry points: main.ipynb Main notebook · analysis_summary.pdf PDF report · Telso_churm_data.csv Churn data · README.md README
Components 9
Inputs
Raw source data for the analysis
- Churn data · Raw telecom customer records and churn labels
Telso_churm_data.csv
Notebook workflow
Notebook-centered cleaning, analysis, and reporting
- Main notebook · Primary execution and presentation layer
main.ipynb - Ingest · Loads and inspects the tabular dataset
- Clean data · Handles blanks, type conversion, and duplicates
- Feature fixes · Normalizes TotalCharges and maps SeniorCitizen labels
- Churn analysis · Segments churn by tenure, contract, senior status, and services
- Charts · Builds plots, histograms, stacked bars, and heatmaps
Other components
- README · Project summary and usage context
README.md - PDF report · Exported summary for sharing outside the notebook
analysis_summary.pdf
Connections 10
- README → Main notebook: documents · Describes the notebook-driven workflow
- Churn data → Main notebook: input · Raw churn records feed the notebook
- Main notebook → Ingest: starts · Notebook begins by loading the dataset
- Ingest → Clean data: feeds · Loaded data is checked and prepared
- Clean data → Feature fixes: refines · Preprocessing applies field-specific corrections
- Feature fixes → Churn analysis: enables · Cleaned features support segmented analysis
- Churn analysis → Charts: renders · Analytical slices are turned into charts
- Charts → Main notebook: embeds · Plots and narrative live in the executed notebook
- Charts → PDF report: exports · Visual findings are packaged into a PDF summary
- Main notebook → PDF report: produces · The notebook execution yields the shareable report artifact