使用Clevercsv在导入前推断并标准化损坏的CSV方言
Detect messy CSV dialects, standardize malformed files, and generate reliable import code before ingestion pipelines or analyst workflows fail.
Prerequisites
Python 3, pip
Installation
Use the upstream install or setup path that matches your environment:
- $ pip install clevercsv[full]
- $ pip install clevercsv
- make working with CSV files easier. For instance, it can be used to view a CSV
Requirements and caveats from upstream:
- CleverCSV provides a drop-in replacement for the Python csv *package
- command line tool that can standardize a messy file or generate Python code to
- started with the CleverCSV Python package and the command line interface.
Basic usage or getting-started notes:
-
Click here to go to the introduction with more details about
-
CleverCSV. If you're in a hurry, below is a quick overview of how to get
-
Import the package
-
Source: https://github.com/1991513ccie-png/skills
-
Extracted from upstream docs: https://raw.githubusercontent.com/alan-turing-institute/CleverCSV/HEAD/README.md
Documentation
- https://clevercsv.readthedocs.io/
Scan to join WeChat group