January 08, 2026
Data Science Ecosystem: Topic Modeling of the Stack Exchange Community
Author: Valeria Miranda — Advisor: Ana Julia Righetto
Summary prepared by the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege focused on synthesis and writing.
This research analyzes the discussions in the “Data Science” community of Stack Exchange to identify usage patterns, technology interconnections, and emerging topics. Through a quantitative and qualitative approach, it seeks to map the technological ecosystem of contemporary data science practice, as reflected in the interactions of a global community of professionals.
The in-depth analysis of interactions on this platform allows us not only to identify which technologies are popular but also how they are combined to solve real-world problems, revealing the tacit knowledge architecture that underpins the discipline. This ecosystem map serves as a guide for strategic decision-making, both for individuals planning their careers and for organizations defining their technology stacks. Data production is growing exponentially, with estimates of 149 zettabytes in 2024 and a projection of 349 zettabytes by 2028 (Statista, 2024). This expansion, coming from heterogeneous sources such as social networks, e-commerce transactions, corporate data, and Internet of Things (IoT) sensors (Lundberg and Grahn, 2022), generates an unprecedented demand for professionals capable of transforming raw data into actionable knowledge.
The World Economic Forum (WEF, 2023) Report highlights the critical need for data specialists to drive innovation, process optimization, and competitive advantage across all sectors of the economy. This juncture consolidates the data scientist as one of the most prominent and strategic professions of the 21st century (Davenport and Patil, 2012), acting as a fundamental link between the latent potential in data and tangible business value. The role of the data scientist is multifaceted, encompassing the entire data lifecycle, from collection, cleaning, and preprocessing to modeling, evaluation, and communication of results (Cao, 2018). The function demands a set of hybrid competencies, combining depth in statistics and mathematics for hypothesis formulation and model validation, with fluency in programming, especially in languages such as Python and R, for solution implementation.
Furthermore, familiarity with an ever-evolving ecosystem of tools, the “data stack,” is crucial. This includes databases (SQL and NoSQL), distributed processing systems like Apache Spark, visualization platforms such as Tableau and Power BI, and a wide array of machine learning libraries (Chen et al., 2014; Oussous et al., 2018). However, technical mastery alone is insufficient; understanding the business context and communication skills are indispensable for translating complex findings into strategic recommendations and narratives comprehensible to non-technical stakeholders (Databricks, 2024). The data science career faces the intrinsic challenge of rapid technological evolution (Rong and Grover, 2009), which imposes the need for continuous and adaptive learning to maintain professional relevance.
The pressure to master an increasingly complex and fragmented “tech stack”, and to apply the latest machine learning and artificial intelligence techniques, represents a significant obstacle to career progression (Li, L., 2024). The half-life of technical knowledge in areas such as deep learning or data engineering is remarkably short. This dynamic of technical knowledge renewal occurs at a much faster pace than managerial or business domain knowledge, demanding from professionals an intellectual agility and a capacity for autonomous and continuous learning that are rare in other professions.
To face these challenges of complexity and knowledge obsolescence, data scientists resort massively to online communities of practice, with Stack Exchange being one of the most prominent examples (OrbusSoftware, n. d.; Cyron et al., 2024). The platform functions not only as a repository of solutions for specific technical problems but also as a thermometer of the technologies, frameworks, and challenges that define professional daily life (Stack Overflow, 2013). Although the official documentation of tools and libraries is a primary resource (Parnin et al., 2012), it often fails to address integration issues, unconventional use cases, and subtle errors that arise in practice. There is, therefore, a gap in understanding how technologies are interconnected and applied together to solve complex problems, and what the main topics of difficulty faced by the community are (Barua et al., 2014).
The interactions on Stack Exchange, materialized in the “tags” and in the textual content of questions and answers, offer an authentic, large-scale, and longitudinal record for the analysis of these dynamics (Treude et al., 2011; Allamanis et al., 2018). The methodology adopted in this study was quantitative and exploratory in nature, focused on the analysis of public and anonymized data from the Stack Exchange Data Science community data dump. The data corpus covered all posts and comments created between January 2020 and March 2025, extracted from the “Posts.xml” and “Comments.xml” files. Subsequent descriptive analyses and visualization generation were conducted with standard Python packages from the data science ecosystem, such as “pandas” for dataframe manipulation, and “matplotlib” and “seaborn” for chart creation. A central technique in the methodology was the co-occurrence analysis of “tags”.
The “tags” are crucial metadata, assigned by users themselves to categorize the content of questions by technology, concept, or area of knowledge.
To perform this analysis, Python’s “itertools” package was used to generate all combinations of pairs of “tags” present in each question. The frequency of each pair was then aggregated across the entire dataset. This co-occurrence matrix served as the basis for constructing a network of relationships, where each “tag” is a node and the thickness of the edge between two nodes is proportional to the frequency with which they appear together. This approach allows for a visual mapping of the technological ecosystem of the area, identification of the centrality of certain tools, and discovery of clusters of technologies that are frequently used together to solve specific types of problems (Fávero and Belfiore, 2017).
For the analysis of textual content and the discovery of latent topics, the BERTopic model was employed. The choice of this model was due to its ability to leverage contextual embeddings from transformer-based language models, overcoming the limitations of older models like Latent Dirichlet Allocation (LDA), which treat words as isolated entities.
In the implementation phase, the text preprocessing was deliberately minimalist, consisting of removing code blocks and HTML markup, but omitting steps such as lemmatization or stopword removal. This decision was based on literature recommendations, which indicate that such steps can degrade the semantic context captured by transformers (Grootendorst, 2022). The mintopicsize hyperparameter, which defines the minimum number of documents to form a topic, was optimized through a grid search, evaluating the result based on the topic coherence metric (C_v). This metric aligns quantitative evaluation with human interpretability, measuring the degree of semantic similarity between the most representative words of a topic (Röder et al., 2015). The final step of the methodology involved the interpretation and labeling of the topics generated by BERTopic.
To facilitate this process, multiple representation techniques were used. The standard representation, based on TF-IDF per class, was complemented by the “keyBERTInspired” technique, which extracts keywords that are more representative of the semantic content of the documents in a topic. Additionally, to generate concise and descriptive labels, the generative language model flan-t5-base (Chung et al., 2022) was used, which was instructed to synthesize the central theme of each topic based on its keywords and most representative documents.
The analysis was enriched by visualizations, such as the intertopic distance map, which uses the UMAP dimensionality reduction technique to project topics into a two-dimensional space, allowing for the visual identification of clusters of semantically close themes and the understanding of the overall discourse structure in the community (Sievert and Shirley, 2014).
The analysis covered a total of 34,533 posts, of which 17,906 were questions and 16,627 were answers, in addition to 34,618 comments, all collected between January 2020 and March 2025. An initial relevant observation was the trend of decrease in the monthly volume of posts over the analyzed period, especially from 2023 onwards. This drop can be attributed, in part, to the increasing use of generative Artificial Intelligence tools, such as GitHub Copilot and ChatGPT, which function as programming assistants and can resolve technical doubts that would previously be posted in the community (Li et al., 2025).
The interaction analysis revealed that, although the number of questions decreased, the proportion of questions receiving at least one answer remained stable, suggesting that the community, although smaller in posting volume, remains active and engaged.
Co-occurrence analysis of “tags” revealed a densely connected technological ecosystem, with “python” as the most central node, confirming its position as the lingua franca of data science. Orbiting “python” are other high-centrality nodes such as “pandas”, “scikit-learn”, “numpy”, and “matplotlib”, forming the core of the technological stack for data manipulation, modeling, and visualization tasks. Distinct technological clusters were identified. A prominent cluster was “Deep Learning”, connecting “tensorflow”, “keras”, and “pytorch” with concepts like “neural-network”, “cnn”, and “nlp”. Another significant cluster was “Big Data and Data Engineering”, where “apache-spark”, “pyspark”, and “hadoop” frequently co-occurred with “aws” and “dataframe”, indicating the importance of cloud solutions and distributed processing for handling large volumes of data.
The analysis also showed important bridges between these clusters, such as the strong connection between “pandas” and “pyspark”, reflecting the need to integrate local analysis tools with large-scale processing pipelines. Topic modeling with BERTopic identified 12 main topics with high coherence and interpretability. A particularly interesting topic that emerged was “Environment and Dependency Management”, which grouped discussions about package installation errors, version conflicts, and virtual environment configuration (conda, venv), highlighting that infrastructure and software configuration challenges are a significant source of difficulties for practitioners.
The temporal analysis of topics revealed a subtle evolution in the community’s concerns. Topics related to more traditional deep learning frameworks, such as older versions of TensorFlow, showed a slight decline in popularity, while discussions involving “pytorch” and high-level libraries like “hugging-face” for natural language processing gained traction, especially from 2022 onwards. Furthermore, a gradual increase was observed in the frequency of “tags” and discussions related to MLOps (Machine Learning Operations), such as “docker”, “mlflow”, and “airflow”, indicating a growing maturity of the community, which is shifting from an exclusive focus on modeling to a greater concern with the deployment, monitoring, and automation of models in production.
These results suggest that the field is moving towards greater industrialization of its practices, where software engineering and DevOps principles become increasingly integrated into the data science lifecycle.
It is concluded that the objective was achieved.
The combined analysis of tag co-occurrence and topic modeling provided a detailed and multifaceted map of the data science ecosystem, as practiced and discussed by the Stack Exchange community. The results confirm the centrality of the Python ecosystem, but also reveal the structure of specialized technological clusters and the bridges connecting them. The identification of latent topics, including non-algorithmic challenges such as environment management, offers a granular view of practitioners’ daily difficulties. Observed temporal trends point to the rapid evolution of the field, with growing interest in advanced NLP and MLOps. This study contributes an empirical perspective on the most relevant tools and skills in current practice, serving as a valuable resource for professionals seeking to stay updated, for educators developing curricula, and for companies structuring their teams and technology stacks.
References:
Allamanis, M.; Barr, E. T.; Devanbu, P.; Sutton, C. 2018. A survey of machine learning for big code and naturalness. ACM Computing Surveys 51(4): 1-37.
Barua, A.; Thomas, S. W.; Hassan, A. E. 2014. What are developers talking about? An analysis of topics and trends in Stack Overflow. Empirical Software Engineering 19(3): 619-654.
Bird, S.; Klein E.; Loper E. 2009. Natural Language Processing with Python. O’Reilly Media, Sebastopol, CA, USA.
Blei, D. M. 2012. Probabilistic topic models. Communications of the ACM 55(4): 77-84.
Cao, L. 2018. Data Science: A Comprehensive Overview. ACM Computing Surveys 50(3): 1-42.
Chang, J.; Gerrish, S.; Wang, C.; Boyd-graber, J.; Blei, D. 2009. Reading tea leaves: How humans interpret topic models. Advances in Neural Information Processing Systems 32: 288-296.
Chen, M., Mao, S., Zhang, Y., Leung, V. C. M. 2014. Big Data Related Technologies, Challenges and Future Prospects. Springer, Heidelberg, New York.
Chung, H. W.; Hou, L.; Longpre, S.; Zoph, B.; Tay, Y.; Fedus, W.; Li, Y.; Wang, X.; Dehghani, M.; Brahma, S.; Webson, A.; Gu, S. S.; Dai, Z.; Suzgun, M.; Chen, X.; Chowdhery, A.; Castro-Ros, A.; Pellat, M.; Robinson, K.; Valter, D.; Narang, S.; Mishra, G.; Yu, A.; Zhao, V.; Huang, Y.; Dai, A.; Yu, H.; Petrov, S.; Chi, E. H.; Dean, J.; Devlin, J.; Roberts, A.; Zhou, D.; Le, Q. V.; Wei, J. 2022. Scaling instruction-finetuned language models.
Cyron, T.; Garz, M.; Steigenberger, N. 2024. Beware the community type: engagement and growth in core vs. open online communities. Small Business Economics 62(4): 1383-1407.
Databricks. 2024. The Modern Data Stack: How the evolution of data architecture led to the data intelligence platform.
Davenport T. H.; Patil D. J. 2012. Data scientist: the sexiest job of the 21st century. Harvard Business Review(1210):72.
Egger, R.; Yu, J. 2022. A Topic modeling comparison between LDA, NMF, Top2Vec, and BERTopic to demystify Twitter posts. Frontiers in Sociology.
Fávero, L. P.; Belfiore, P. 2017. Manual de Análise de Dados: Estatística e Modelagem Multivariada com Excel, SPSS e Stata. Elsevier, Rio de Janeiro, RJ, Brazil.
Grootendorst, M. 2022. BERTopic: Neural topic modeling with a class-based TF-IDF procedure.
Gururangan, S.; Marasović, A.; Swayamdipta, S.; Lo, K.; Beltagy, I.; Downey, D.; Smith, N. A. 2020. Don’t stop pretraining: Adapt language models to domains and tasks. In: Annual Meeting of the Association for Computational Linguistics, 58., 2020, Online. Proceedings… p. 8342-8360.
Ji, Z.; Lee, N.; Frieske, R.; Yu, T.; Su, D.; Xu, Y.; Ishii, E.; Bang, Y. J.; Madotto, A.; Fung, P. 2023. Survey of Hallucination in Natural Language Generation. ACM Computing Surveys 55(12): 1-38.
Li, J.; Mynatt, E. D.; Mishra, V.; Bell, J. 2025. “Always nice and confident, sometimes wrong”: developer’s experiences engaging generative AI chatbots versus human-powered Q&A platforms. ACM of Human-Computer Interaction 9(2): CSCW029:1-CSCW029:22.
Li, L. 2024. Reskilling and Upskilling the Future-ready Workforce for Industry 4.0 and Beyond. Information Systems Frontiers 26(5): 1697-1712.
Lundberg, L.; Grahn, H. 2022. Research trends, enabling technologies and application areas for big data. Algorithms 15(8): 280.
OrbusSoftware, n. d. Staying current: keeping up-to-date with professional development.
Oussous A.; Benjelloun F. Z.; Lahcen A. A.; Belfkih, S. 2018. Big data technologies: a survey. Journal of King Saud University – Computer and Information Sciences 30(4): 431-448.
Parnin, C.; Treude, C.; Grammel, L.; Storey, M. A. 2012. Crowd documentation: Exploring the coverage and the dynamics of API discussions on Stack Overflow. Georgia Institute of Technology, Tech. Rep(11).
Röder, M.; Both, A.; Hinneburg, A. 2015. Exploring the space of topic coherence measures. Proceedings of the Eighth ACM International Conference on Web Search and Data Mining, 2015, Shanghai, China. Proceedings… p. 399-408.
Rong G.; Grover, V. 2009. Keeping up-to-date with information technology: testing a model of technological knowledge renewal effectiveness for IT professionals. Information & Management 46(7) 376-387.
Sánchez-Franco, M. J.; Rey-Moreno, M. 2022. Do travelers’ reviews depend on the destination? An analysis in coastal and urban peer-to-peer lodgings. Psychology & Marketing 39(2): 441-459.
Sievert, C.; Shirley, K. 2014. LDAvis: visualization of LDA topic models. A method for visualizing and interpreting topics. Workshop on Interactive Language Learning, Visualization, and Interfaces 2014: 63-70.
Souza, M. de; Souza, R. R. 2019. Topic modeling: Summarizing and organizing data corpora using machine learning algorithms. Múltiplos Olhares em Ciência da Informação 9(2).
Stack Overflow. 2013. Five years ago, Stack Overflow launched. Then, a miracle occurred.
Statista. 2024. Volume of data/information created, captured, copied, and consumed worldwide from 2010 to 2023, with forecasts from 2024 to 2028.
Treude, C.; Barzilay, O.; Storey, M. A. 2011. How do programmers ask and answer questions on the web? (NIER track). International Conference on Software Engineering(11): 804-807.
World Economic Forum [WEF]. 2023. The Future of jobs report 2023.
Executive summary from the Final Project of the Specialization in Data Science and Analytics from the MBA USP/Esalq
Learn more about the course; click here: