# Error displaying ParquetFiles.ParquetFile: ArgumentError: reducing over an empty collection is not allowed

**URL:** <https://discourse.julialang.org/t/error-displaying-parquetfiles-parquetfile-argumenterror-reducing-over-an-empty-collection-is-not-allowed/41436>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [June 15, 2020, 11:51am UTC](https://discourse.julialang.org/t/error-displaying-parquetfiles-parquetfile-argumenterror-reducing-over-an-empty-collection-is-not-allowed/41436 "2020-06-15T11:51:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvarthi](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@gvarthi](https://discourse.julialang.org/u/gvarthi)\
**Post date:** [June 15, 2020, 11:51am UTC](https://discourse.julialang.org/t/error-displaying-parquetfiles-parquetfile-argumenterror-reducing-over-an-empty-collection-is-not-allowed/41436/1 "2020-06-15T11:51:55Z")

</div>

I am very much new to the Julia Programming language.  
I am trying to load the parquet file using _`ParquetFiles.load("part-0001-c000-snappy.parquet")`_. When I run, I got the following error:

```julia
**Error displaying ParquetFiles.ParquetFile: ArgumentError: reducing over an empty collection is not allowed**
in render at Atom\9h5Up\src\display\display.jl:19 
in Copyable at Juno\tLMZd\src\types.jl:40 
in Copyable at Juno\tLMZd\src\types.jl:39 
in render at Atom\9h5Up\src\display\display.jl:16 
in sprint at base\strings\io.jl:101 
in #sprint#338 at base\strings\io.jl:105
in at Atom\9h5Up\src\display\display.jl:17

```

My requirement is to read multiple parquet files from a directory and convert to DataFrame.

I could able to read the parquet file with another package called _Parquet_ but converting to DataFrames is failing.

```julia
Parquet.ParFile("part-0001-c000-snappy.parquet") - able to read successfully.
dataFrame = par |> DataFrames.DataFrame --- Leading to the following error:

```

```julia
**ArgumentError: no default `Tables.columns` implementation for type: ParFile**
in top-level scope at MongoDBConnectExample.jl:26
in |> at base\operators.jl:823
in DataFrames.DataFrame at DataFrames\S3ZFo\src\other\tables.jl:31
in #DataFrame#447 at DataFrames\S3ZFo\src\other\tables.jl:40
in columns at Tables\okt7x\src\fallbacks.jl:239 

```

Please suggest where I am missing as the package documentations are recommending as above.
