Skip to content

Commit

Permalink
added correct docstring for cat_thresh
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed Oct 12, 2023
1 parent 2c73639 commit 8250412
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fsspec/implementations/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,12 @@ def __init__(
cache_size : int, default=128
Maximum size of LRU cache, where cache_size*record_size denotes
the total number of references that can be loaded in memory at once.
categorical_threshold : int, default=10
Input categorical_threshold. Defaults to 10
categorical_threshold : int
Encode urls as pandas.Categorical to reduce memory footprint if the ratio
of the number of unique urls to total number of refs for each variable
is greater than or equal to this number. (default 10)
"""
self.root = root
self.chunk_sizes = {}
Expand Down

0 comments on commit 8250412

Please sign in to comment.