sfu-db / dataprep

Open-source low code data preparation library in python. Collect, clean and visualization your data in python with a few lines of code.
http://dataprep.ai
MIT License
2.03k stars 204 forks source link

Feature Proposal: clean_json functionality in the clean module #902

Open yixuy opened 2 years ago

yixuy commented 2 years ago

Summary

Implement clean_json() functionality to parse and clean JSON file

Design-level Explanation

def validate_json(x: Union[str, pd.Series]) -> Union[bool, pd.Series]: """ Function to validate JSON format.

Parameters
----------
x
    String or Pandas Series of JSON to be validated.
"""

Implementation-level Explanation

Rational and Alternatives

Prior Art

JSON Python Library can encode and decode preserve input and output order by default.

Future Possibilities

Implementation-level Actions

Additional Tasks