This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# ldjson_to_csv.py | |
# | |
# Author: Werner Robitza | |
# | |
# Convert .ldjson files to CSV. | |
# This assumes the same keys being used in every line of the input file. | |
# It works on a line-by-line basis, so it should be fast and memory-efficient. |