# ParseTreeDoc Column Types¶

Creating parsetrees with spacy can be a computationally expensive task, so we may often want to store them in a database for better use. Because they may be large binary files, we will store them as pickle file column types, but with an additional serialization step.

Create some test data and make a new ParseTreeDoc object.

Now we create a schema that includes the doc column and the ParseTreeFileCol default value. Notice that using the type hint ParseTreeDoc and giving a generic Col default value is also sufficient.

See that the files exist, and we can remove/clean them just as any other file column type.