From f653346710afcf51e3338a8c2695155fbd34cbb9 Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Thu, 17 Aug 2023 10:07:31 -0400 Subject: [PATCH] Maybe fixed --- docs/source/api.rst | 6 ++++++ docs/source/details.rst | 6 ++++++ docs/source/filesystems.rst | 6 ++++++ docs/source/index.rst | 6 ++++++ docs/source/install.rst | 6 ++++++ docs/source/quickstart.rst | 6 ++++++ docs/source/releasenotes.rst | 6 ++++++ fastparquet/converted_types.py | 33 ++++++++++++++++----------------- fastparquet/core.py | 6 +++--- fastparquet/writer.py | 8 ++++++-- readthedocs.yml | 10 ---------- 11 files changed, 67 insertions(+), 32 deletions(-) delete mode 100644 readthedocs.yml diff --git a/docs/source/api.rst b/docs/source/api.rst index f8a5ca25..300a4b06 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -23,3 +23,9 @@ API .. autofunction:: write .. autofunction:: update_file_custom_metadata + + +.. raw:: html + + diff --git a/docs/source/details.rst b/docs/source/details.rst index b7b21a58..496002ea 100644 --- a/docs/source/details.rst +++ b/docs/source/details.rst @@ -256,3 +256,9 @@ Dask and Pandas fully support calling ``fastparquet`` directly, with the functio Please see their relevant docstrings. Remote filesystems are supported by using a URL with a "protocol://" specifier and any ``storage_options`` to be passed to the file system implementation. + + +.. raw:: html + + diff --git a/docs/source/filesystems.rst b/docs/source/filesystems.rst index 6300ed6c..062b753d 100644 --- a/docs/source/filesystems.rst +++ b/docs/source/filesystems.rst @@ -32,3 +32,9 @@ Similarly, providing an open function and another to make any necessary director row_group_offsets=[0, 500], open_with=myopen, mkdirs=noop) (In the case of s3, no intermediate directories need to be created) + + +.. raw:: html + + diff --git a/docs/source/index.rst b/docs/source/index.rst index e5498256..51cdb3b2 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -97,3 +97,9 @@ Index 1. :ref:`genindex` 1. :ref:`modindex` 1. :ref:`search` + + +.. raw:: html + + diff --git a/docs/source/install.rst b/docs/source/install.rst index 825093f4..edffe108 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -71,3 +71,9 @@ This will produce a ``build/html/`` subdirectory, where the entry point is ``index.html``. + + +.. raw:: html + + diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 5dc8baac..74485c5c 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -87,3 +87,9 @@ Further options that may be of interest are: write('outdir.parq', df, row_group_offsets=[0, 10000, 20000], compression='GZIP', file_scheme='hive') + + +.. raw:: html + + diff --git a/docs/source/releasenotes.rst b/docs/source/releasenotes.rst index 1f8e505c..802a480b 100644 --- a/docs/source/releasenotes.rst +++ b/docs/source/releasenotes.rst @@ -188,3 +188,9 @@ NB: minor versions up to 0.6.3 fix build issues consolidate of many data files. .. _cramjam: https://github.com/milesgranger/pyrus-cramjam + + +.. raw:: html + + diff --git a/fastparquet/converted_types.py b/fastparquet/converted_types.py index 3aa0e229..1e248978 100644 --- a/fastparquet/converted_types.py +++ b/fastparquet/converted_types.py @@ -56,11 +56,11 @@ def tobson(x): parquet_thrift.ConvertedType.INT_16: np.dtype("int16"), parquet_thrift.ConvertedType.INT_32: np.dtype('int32'), parquet_thrift.ConvertedType.INT_64: np.dtype('int64'), - parquet_thrift.ConvertedType.TIME_MILLIS: np.dtype('