pandera.api.pyspark.container.DataFrameSchema.from_json¶ classmethod DataFrameSchema.from_json(source)[source]¶ Create DataFrameSchema from json file. Parameters: source – str, Path to json schema, or serialized yaml string. Return type: DataFrameSchema Returns: dataframe schema.