Wrangling messy CSV files by detecting row and type patterns
Open accessThe DOI matches its Crossref record; 25 of the 25 references it cites were found in a registry or an index.
Abstract
Data scientists spend the majority of their time on preparing data for analysis. One of the first steps in this preparation phase is to load the data from the raw storage format. Comma-separated value (CSV) files are a popular format for tabular data due to their simplicity and ostensible ease of use. However, formatting standards for CSV files are not followed consistently, so each file requires manual inspection and potentially repair before the data can be loaded, an enormous waste of human effort for a task that should be one of the simplest parts of data science. The first and most essential step in retrieving data from CSV files is deciding on the dialect of the file, such as the cell delimiter and quote character. Existing dialect detection approaches are few and non-robust. In this paper, we propose a dialect detection method based on a novel measure of data consistency of parsed data files. Our method achieves 97% overall accuracy on a large corpus of real-world CSV files and improves the accuracy on messy CSV files by almost 22% compared to existing approaches, including those in the Python standard library. Our measure of data consistency is not specific to the data parsing problem, and has potential for more general applicability.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
A relational model of data for large shared data banks
Codd, E. F. (1970) · Communications of the ACM · doi:10.1145/362384.362685 · Cited by 5,547 · cited 2×
“(1) where the sets Vj are the domains of values in the tuples (Codd, 1970).”
BackgroundA relational model of data for large shared data banks
Codd, E. F. (1983) · Communications of the ACM · doi:10.1145/357980.358007 · Cited by 4,796
mediation:R Package for Causal Mediation Analysis
Tingley, D., Yamamoto, T., Hirose, K., Keele, L., & Imai, K. (2014) · Journal of Statistical Software · doi:10.18637/jss.v059.i05 · Cited by 4,155
Representation of Events in Nerve Nets and Finite Automata
Kleene, S. C. (1956) · Automata Studies. (AM-34) · doi:10.1515/9781400882618-002 · Cited by 1,655
The application/json Media Type for JavaScript Object Notation (JSON)
Crockford, D. (2006) · doi:10.17487/rfc4627 · Cited by 963
Wickham, H. (2014) · Journal of Statistical Software · doi:10.18637/jss.v059.i10 · Cited by 901
Exploratory Data Mining and Data Cleaning
Dasu, T., & Johnson, T. (2003) · Wiley Series in Probability and Statistics · doi:10.1002/0471448354 · Cited by 618
Wrangler: interactive visual specification of data transformation scripts
Kandel, S., Paepcke, A., Hellerstein, J., & Heer, J. (2011) · Proceedings of the SIGCHI Conference on Human Factors in Computing Systems · doi:10.1145/1978942.1979444 · Cited by 581
Raymond, E. S. (2003) · Cited by 441
Table extraction using conditional random fields
Pinto, D., McCallum, A., Wei, X., & Croft, W. B. (2003) · Proceedings of the 26th annual international ACM SIGIR conference on Research and development in informaion retrieval · doi:10.1145/860435.860479 · Cited by 355
Research works printed but not linked: 1
- Catastrophe Theory. V I Arnold, 2003Springer Science & Business Media
Cited by
An artificial intelligence model for heart disease detection using machine learning algorithms
Chang, V., Bhavani, V. R., Xu, A. Q., & Hossain, M. (2022) · Healthcare Analytics · doi:10.1016/j.health.2022.100016 · Cited by 318
Table-GPT: Table Fine-tuned GPT for Diverse Table Tasks
Li, P., He, Y., Yashar, D., Cui, W., Song, G., Zhang, H., Fainman, D. R., Zhang, D., & Chaudhuri, S. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3654979 · Cited by 284
GitTables: A Large-Scale Corpus of Relational Tables
Hulsebos, M., Demiralp, Ç., & Groth, P. (2023) · Proceedings of the ACM on Management of Data · doi:10.1145/3588710 · Cited by 129
Table understanding approaches for extracting knowledge from heterogeneous tables
Bonfitto, S., Casiraghi, E., & Mesiti, M. (2021) · Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · doi:10.1002/widm.1407 · Cited by 42
Pytheas: pattern-based table discovery in CSV files
Christodoulakis, C., Munson, E. B., Gabel, M., Brown, A. D., & Miller, R. J. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3407790.3407810 · Cited by 42
Data Engineering for Data Analytics: A Classification of the Issues, and Case StudiesPreprint
Nazábal, A., Williams, C. K. I., Colavizza, G., Smith, C. R., & Williams, A. A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2004.12929 · Cited by 39
Self-citationAn Overview of Python Libraries for Data Science
Joshi, A., & Tiwari, H. (2023) · Journal of Engineering Technology and Applied Physics · doi:10.33093/jetap.2023.5.2.10 · Cited by 39
AI Assistants: A Framework for Semi-Automated Data Wrangling
Petříček, T., van den Burg, G. J. J., Nazábal, A., Ceritli, T., Jiménez-Ruiz, E., & Williams, C. K. I. (2022) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2022.3222538 · Cited by 30
Self-citationSwapping Repair for Misplaced Attribute Values
Sun, Y., Song, S., Wang, C., & Wang, J. (2020) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde48307.2020.00068 · Cited by 27
The R Language as a Tool for Biometeorological Research
Charalampopoulos, I. (2020) · Atmosphere · doi:10.3390/atmos11070682 · Cited by 22
Repairing raw metadata for metadata management
Khalid, H., & Zimányi, E. (2024) · Information Systems · doi:10.1016/j.is.2024.102344 · Cited by 15
Pollock: A Data Loading Benchmark
Vitagliano, G., Hameed, M., Jiang, L., Reisener, L., Wu, E., & Naumann, F. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3594512.3594518 · Cited by 15
Restoration of Data Structures Using Machine Learning Techniques
Cvijetić, B., & Radivojević, Z. (2023) · IEEE Access · doi:10.1109/access.2023.3323846 · Cited by 9
StructVizor: Interactive Profiling of Semi-Structured Textual Data
Huang, Y., Miao, Y., Weng, D., Perer, A., & Wu, Y. (2025) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3706598.3713484 · Cited by 8
Supporting a .csv-based Workflow in MongoDB for Data Analysts
Fresta, M., Capello, A., Bellotti, F., Lazzaroni, L., Cossu, M., & Berta, R. (2023) · IEEE International Symposium on Industrial Electronics (ISIE) · doi:10.1109/isie51358.2023.10228044 · Cited by 8
Statistical detection of format dialects using the weighted Dowker complex
Robinson, M., Anderson, C., Li, L. W., & Huntsman, S. (2022) · IEEE Security and Privacy Workshops (SPW) · doi:10.1109/spw54247.2022.9833862 · Cited by 7
A novel deep learning-based 1D-CNN-optimized GRU approach for heart disease prediction
Jini Mol, G., & T., A. (2025) · Automatika · doi:10.1080/00051144.2024.2423430 · Cited by 6
Tabularis Revilio: Converting Text to Tables
Singh, M. P., Verbruggen, G., Le, V., & Gulwani, S. (2024) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3627673.3680000 · Cited by 6
TASHEEH: Repairing Row-Structure in Raw CSV Files
Hameed, M., Vitagliano, G., Panse, F., & Naumann, F. (2024) · OPUS (Augsburg University) · doi:10.48786/edbt.2024.37 · Cited by 6
Detecting CSV file dialects by table uniformity measurement and data type inference
García, W. (2024) · Data Science · doi:10.3233/ds-240062 · Cited by 5
Repairing Raw Data Files with TASHEEH
Hameed, M., Vitagliano, G., Panse, F., & Naumann, F. (2025) · ACM SIGMOD Record · doi:10.1145/3733620.3733639 · Cited by 4
A Lightweight File System Based Approach to Getting Data Ready for Data Management Solutions
Engstfeld, A. K., Hermann, J. M., Hörmann, N. G., & Rüth, J. (2025) · Data Science Journal · doi:10.5334/dsj-2025-013 · Cited by 3
Saggitarius: A DSL for Specifying Grammatical Domains
Miltner, A., Loehr, D., Mong, A. C., Fisher, K. S., & Walker, D. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3622869 · Cited by 3
Aulianoor, A. B., & Koprawi, M. (2024) · Journal of Applied Informatics and Computing · doi:10.30871/jaic.v8i1.8136 · Cited by 3
Atri, P. (2020) · International Journal of Science and Research (IJSR) · doi:10.21275/sr24522151121 · Cited by 3
Mostafavi, F., Khademi, S., & Vrachliotis, G. (2026) · Smart and Sustainable Built Environment · doi:10.1108/sasbe-10-2025-0684 · Cited by 2
TEN: Table Explicitization, Neurosymbolically
Mehrotra, N., Kumar, A., Gulwani, S., Radhakrishna, A., & Tiwari, A. (2026) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2026.acl-industry.138 · Cited by 2
Embedding models for relational data analytics
Cvetkov-Iliev, A. (2023) · theses.fr (ABES) · doi:10.70675/c888a7a5z2b8dz4be4zbc19z081e69249736 · Cited by 1
Budzyński, A., & Sładkowski, A. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-13672-5_8 · Cited by 1
Technical Perspective: TASHEEH: Repairing Row-Structure in Raw CSV Files
Böehm, M. (2025) · ACM SIGMOD Record · doi:10.1145/3733620.3733638 · Cited by 1
Ramalho, J. P. V., Silveira, J. A., de Lima, T. G. C., Herbele, M. D. S., de Souza, J., Derenievicz, G., Peres, L. M., & Dominico, S. (2025) · Simpósio Brasileiro de Bancos de Dados (SBBD) · doi:10.5753/sbbd.2025.247800 · Cited by 1
MORPHER: Structural Transformation of Ill-formed Rows
Hameed, M., Vitagliano, G., & Naumann, F. (2023) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3583780.3614747 · Cited by 1
Data Storage and Management in Cyber Physical Systems
Li, F., Wu, X., & Han, H. (2025) · Springer eBooks · doi:10.1007/978-981-96-8709-1_4
Adaptive Unsupervised Anomaly Detection for Low-Quality Multivariate Time-Series Data
Liu, J., Yang, D., Wang, J., Gao, H., & Li, J. F. (2026) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2026.3700672
Cleaning Raw Metadata Files with Human-in-The-LoopPreprint
Khalid, H., & Zimányi, E. (2023) · SSRN Electronic Journal · doi:10.2139/ssrn.4581057
Khosravi, P. (2023) · eScholarship (California Digital Library)
ASGARİ ÜCRET ZAMLARINA YÖNELİK SOSYAL MEDYA TEPKİLERİNİN VERİ MADENCİLİĞİ YÖNTEMİYLE İNCELENMESİ
YILDIZ, E., & Göktaş, N. (2025) · Anadolu Üniversitesi İktisadi ve İdari Bilimler Fakültesi Dergisi · doi:10.53443/anadoluibfd.1530142
Strengthening data sovereignty through digital text watermarking
Hellmeier, M. (2026) · doi:10.17877/de290r-26644
Co-estimation of Data Types and Their Positional Distribution
Sato, S. (2025) · Lecture notes in computer science · doi:10.1007/978-981-96-0914-7_7
Robustness of AutoML on Dirty Categorical DataPreprint
Bueno, M. L. P., & Vanschoren, J. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2602.00412
Password Leaks Automated Processing with NoSQL
Havlík, A. (2026) · Brno University of Technology Digital Library (Brno University of Technology)
Automated Stakeout Survey for Efficient Earthwork Construction Project Control
Wang, S., Wu, Q., Lu, M., & Wang, C. (2025) · Lecture notes in civil engineering · doi:10.1007/978-3-031-87364-5_53
Implementation for Geological Environment Sub-node Intelligent Search of Geological Cloud 2.0
Ren, X., Huo, Z., Zhou, M., Xue, Y., & Yu, M. (2020) · IEEE International Conference on Computer and Communication Engineering Technology (CCET) · doi:10.1109/ccet50901.2020.9213147
Unsupervised clustering of file dialects according to monotonic decompositions of mixtures
Robinson, M., Altman, T., Lam, D., & Li, L. W. (2023) · IEEE Security and Privacy Workshops (SPW) · doi:10.1109/spw59333.2023.00019
Multi-byte Hash based CSV Load in Bioinformatics
Xiang, Z. (2024) · IEEE International Conference on Bioinformatics and Biomedicine (BIBM) · doi:10.1109/bibm62325.2024.10822437
Parallelized Tabular Data Loading using Web Workers for Hardware-accelerated Visualization Rendering
Scheibel, W., & Döllner, J. (2025) · international conference on 3D web technology · doi:10.1145/3746237.3746306
Tabbed: A Python package for reading variably structured text files at scale
Caudill, M. S. (2025) · The Journal of Open Source Software · doi:10.21105/joss.08964
Facilitating Discovery in Open Data Repositories
Christodoulakis, C. (2024) · TSpace (University of Toronto)
A quality-preserving model for test reduction in electronics production
Peretz-Andersson, E., Haneefa, N., & Lazebnik, T. (2026) · Frontiers in Mechanical Engineering · doi:10.3389/fmech.2026.1861443
NanoCSV: Enabling Efficient Parallel CSV Extraction with Hierarchical Finite-State Transducer
Dai, P., Liu, R., & Zhang, H. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-3827-0_36
One Pass to Parse Them All: Fused Parallel CSV Processing
Ellmann, S., & Neumann, T. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3836663.3836710
Interoperable CSV for Environmental Data Archival and Exchange: iCSV
Leibersperger, P., Bavay, M., Enescu, I. I., & Núñez, C. L. (2026) · Data Science Journal · doi:10.5334/dsj-2026-039
Metadata
- Authors
- van den Burg, G. J. J., Nazábal, A., & Sutton, C.
- Affiliations
- The Alan Turing Institute (GB)
- Google (United States) (US)
- Corresponding author
- van den Burg, G. J. J.
- Venue
- Data Mining and Knowledge Discovery
- Published
- 2019-07-26
- Volume
- 33
- Issue
- 6
- Pages
- 1799-1820
- ISSN
- 1384-5810 (ISSN-L)
- 1573-756X
- OpenAlex
- W2902696364
- Cited by
- 42
- References
- 25
- Citations by year
- 2026: 7 · 2025: 12 · 2024: 6 · 2023: 9 · 2022: 3 · 2021: 1 · 2020: 4
- FWCI
- 1.36
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- www.springer.com/tdm (tdm)
- www.springer.com/tdm (vor)
- Locations
- Data Mining and Knowledge Discovery (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- UK Government’s Defense & Security Programme
- Topics
- Physical Sciences › Computer Science › Information Systems › Data Quality and Management
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Physical Sciences › Computer Science › Information Systems › Web Data Mining and Analysis
- Keywords
- CSV files, data parsing, data preparation, data loading
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.