Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9a7b29a
[ENH] to_orc
Oct 3, 2021
d11026f
pandas.DataFrame.to_orc
Oct 3, 2021
0146ac3
Cleaning
Oct 3, 2021
0571602
Fix style & edit comments & change min dependency version to 5.0.0
chloeandmargaret Nov 21, 2021
d970b58
Fix style & add to see also
chloeandmargaret Nov 21, 2021
8b12e9f
Add ORC to documentation
chloeandmargaret Nov 21, 2021
65e6b7a
Changes according to review
chloeandmargaret Nov 22, 2021
2114616
Fix problems mentioned in comment
chloeandmargaret Nov 24, 2021
e4b40ef
Linter compliance
chloeandmargaret Nov 24, 2021
a7aa3e0
Address comments
chloeandmargaret Nov 24, 2021
1ab9b6c
Add orc test
chloeandmargaret Dec 2, 2021
96969d5
Fixes from pre-commit [automated commit]
chloeandmargaret Dec 3, 2021
2a54b8c
Fix issues according to comments
chloeandmargaret Mar 20, 2022
1caec9e
Simplify the code base after raising Arrow version to 7.0.0
chloeandmargaret Mar 21, 2022
6f0a538
Fix min arrow version in to_orc
chloeandmargaret Mar 21, 2022
ae65214
Add to_orc test in line with other formats
chloeandmargaret Mar 21, 2022
045c411
Add BytesIO support & test
chloeandmargaret Mar 22, 2022
c00ed0f
Fix some docs issues
chloeandmargaret Mar 22, 2022
fe275d7
Use keyword only arguments
chloeandmargaret Mar 25, 2022
9d3e0df
Fix bug
chloeandmargaret May 12, 2022
971f31c
Fix param issue
chloeandmargaret May 29, 2022
52b68a0
Doctest skipping due to minimal versions
chloeandmargaret May 29, 2022
76437ba
Doctest skipping due to minimal versions
chloeandmargaret May 29, 2022
c5d5852
Improve spacing in docstring & remove orc test in test_common that ha…
chloeandmargaret May 29, 2022
b5cd022
Fix docstring syntax
chloeandmargaret May 29, 2022
7ad3df9
ORC is not text
chloeandmargaret May 29, 2022
a73bb70
Fix BytesIO bug && do not require orc to be explicitly imported befor…
chloeandmargaret May 29, 2022
20aefe7
ORC writer does not work for categorical columns yet
chloeandmargaret May 29, 2022
e7e81fe
Appease mypy
chloeandmargaret May 29, 2022
6b659f7
Appease mypy
chloeandmargaret May 29, 2022
18e5429
Edit according to reviews
chloeandmargaret May 30, 2022
21cba6e
Fix path bug in test_orc
chloeandmargaret May 30, 2022
c7bf39f
Fix testdata tuple bug in test_orc
chloeandmargaret May 30, 2022
e43c6dd
Fix docstrings for check compliance
chloeandmargaret May 30, 2022
afa0a8a
read_orc does not have engine as a param
chloeandmargaret May 30, 2022
cd585e6
Fix sphinx warnings
chloeandmargaret May 30, 2022
b509c3c
Improve docs & rerun tests
chloeandmargaret May 30, 2022
1001002
Force retrigger
chloeandmargaret May 30, 2022
55cab6e
Fix test_orc according to review
chloeandmargaret Jun 7, 2022
89283e0
Rename some variables and func
chloeandmargaret Jun 7, 2022
989468a
Update pandas/core/frame.py
chloeandmargaret Jun 7, 2022
a7fca36
Fix issues according to review
chloeandmargaret Jun 12, 2022
7fc338c
Forced reruns
chloeandmargaret Jun 12, 2022
91d1556
Fix issues according to review
chloeandmargaret Jun 13, 2022
a28c5a8
Reraise Pyarrow TypeError as NotImplementedError
chloeandmargaret Jun 13, 2022
162e5bb
Fix bugs
chloeandmargaret Jun 13, 2022
b230583
Fix expected error msg in orc tests
chloeandmargaret Jun 13, 2022
e16edab
Avoid deprecated functions
chloeandmargaret Jun 13, 2022
e4770b8
Replace {} with None in arg
chloeandmargaret Jun 13, 2022
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve spacing in docstring & remove orc test in test_common that ha…
…s unusual pyarrow version requirement and is with a lot of other tests
  • Loading branch information
chloeandmargaret committed Jun 7, 2022
commit c5d585267f2bcd76e894e1134a34e494867cea76
2 changes: 2 additions & 0 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2912,6 +2912,7 @@ def to_orc(
) -> bytes | None:
"""
Write a DataFrame to the ORC format.

Parameters
----------
df : DataFrame
Expand All @@ -2934,6 +2935,7 @@ def to_orc(
be included as columns in the file output.
kwargs
Additional keyword arguments passed to the engine

Returns
-------
bytes if no path argument is provided else None
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/io/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ def test_read_non_existent(self, reader, module, error_class, fn_ext):
(pd.DataFrame.to_html, "os", OSError, "html"),
(pd.DataFrame.to_excel, "xlrd", OSError, "xlsx"),
(pd.DataFrame.to_feather, "pyarrow", OSError, "feather"),
(pd.DataFrame.to_orc, "pyarrow", OSError, "orc"),
(pd.DataFrame.to_parquet, "pyarrow", OSError, "parquet"),
(pd.DataFrame.to_stata, "os", OSError, "dta"),
(pd.DataFrame.to_json, "os", OSError, "json"),
Expand Down