Skip to content

REF: simplify CSVFormatter #36046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 39 commits into from
Sep 9, 2020
Merged
Changes from 21 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4223349
REF: extract properties cols and has_mi_columns
ivanovmg Sep 1, 2020
58ef283
REF: extract property chunksize
ivanovmg Sep 1, 2020
f4fe66d
REF: extract property quotechar
ivanovmg Sep 1, 2020
59a2d21
REF: extract properties data_index and nlevels
ivanovmg Sep 1, 2020
29256d4
REF: refactor _save_chunk
ivanovmg Sep 1, 2020
a6e84e1
REF: refactor _save
ivanovmg Sep 1, 2020
c840b3f
REF: extract method _save_body
ivanovmg Sep 1, 2020
6828146
REF: reorder _save-like methods
ivanovmg Sep 1, 2020
98d4e47
REF: extract compression property
ivanovmg Sep 1, 2020
d6b2827
REF: Extract property index_label
ivanovmg Sep 1, 2020
15dbc83
REF: extract helper properties
ivanovmg Sep 1, 2020
5e7b778
REF: delete local variables in _save_header
ivanovmg Sep 1, 2020
6e3b389
REF: extract method _get_header_rows
ivanovmg Sep 1, 2020
d733f0f
REF: move check for header into _save function
ivanovmg Sep 1, 2020
cdeb115
TYP: add several type annotations
ivanovmg Sep 1, 2020
417e74a
FIX: fix index labels
ivanovmg Sep 2, 2020
9df1d82
FIX: fix multiindex
ivanovmg Sep 4, 2020
9fd8d13
Merge branch 'master' into refactor/csvs
ivanovmg Sep 4, 2020
22955db
FIX: fix test failures on compression
ivanovmg Sep 4, 2020
5dcff8e
REF: eliminate preallocation of self.data
ivanovmg Sep 4, 2020
ff144d8
REF: extract method _convert_to_native_types
ivanovmg Sep 4, 2020
3da7207
REF: rename regular -> flat as reviewed
ivanovmg Sep 5, 2020
6041666
TYP: add type annotations as reviewed
ivanovmg Sep 5, 2020
46f593d
REF: refactor number formatting
ivanovmg Sep 5, 2020
080e6e1
FIX: mypy error with index_label
ivanovmg Sep 5, 2020
1e35f87
FIX: reorder if-statements in index_label
ivanovmg Sep 5, 2020
ba353a5
TYP: move IndexLabel to pandas._typing
ivanovmg Sep 5, 2020
a49dd63
TYP: quotechar, has_mi_columns, _need_to_save...
ivanovmg Sep 5, 2020
f1e1ac8
TYP: chunksize, but ignored assignment check
ivanovmg Sep 5, 2020
1346995
TYP: cols property
ivanovmg Sep 5, 2020
bebdfcf
TYP: nlevels and _has_aliases
ivanovmg Sep 5, 2020
b381e8a
Merge branch 'master' into refactor/csvs
ivanovmg Sep 5, 2020
ca888c1
CLN: move GH21227 check to pandas/io/common.py
ivanovmg Sep 5, 2020
b7dae11
TYP: remove redundant bool from IndexLabel type
ivanovmg Sep 5, 2020
1f8c488
TYP: add to _get_index_label... methods
ivanovmg Sep 5, 2020
1a750b4
TYP: use Iterator instead of Generator
ivanovmg Sep 5, 2020
7b89921
TYP: explicitly use List type
ivanovmg Sep 5, 2020
2478084
TYP: correct dict typing
ivanovmg Sep 6, 2020
e08f656
TYP: remaining properties
ivanovmg Sep 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading