Working With CSPro Data Using Python (Pandas)

101010300011021024101121951010121111 93292100000

Here is a small chunk of an example dictionary that comes with CSPro. You can download it from here
This is the state diagram for the machine that parses the CSPro dictionary.
A conceptual representation of the parsed CSPro dictionary as represented in Python using the dictionary object
This represents only the beginning of the case, it could go on for much longer and could also constitute various records, each separated by a newline character (\n)

case_as_dataframe = pd.DataFrame.from_dict(parsed_case)

In a matter of minutes, you can have your CSPro data looking like this!

pip install pycspro

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store