Skip to content

REF: pandas/io/formats/format.py #36434

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 75 commits into from
Sep 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
b0d6296
REF: extract formatters property
ivanovmg Sep 17, 2020
8e7a65f
REF: extract justify property
ivanovmg Sep 17, 2020
9e741dd
REF: extract columns property
ivanovmg Sep 17, 2020
a222616
REF: extract col_space property
ivanovmg Sep 17, 2020
4bbd370
REF: extract sparsify property
ivanovmg Sep 17, 2020
6c51ca4
REF: extract max_rows_displayed property
ivanovmg Sep 17, 2020
ad61521
CLN: eliminate 'w' and 'h' attributes
ivanovmg Sep 17, 2020
21be89b
TYP: annotate col_space
ivanovmg Sep 17, 2020
df77b0d
TYP: annotate formatters
ivanovmg Sep 17, 2020
2126f1b
TYP: annotate columns
ivanovmg Sep 17, 2020
1947914
TYP: annotate max_rows_displayed
ivanovmg Sep 17, 2020
3496e97
TYP: add formatters property in superclass
ivanovmg Sep 17, 2020
2de23a0
TYP: add columns property in superclass
ivanovmg Sep 17, 2020
84863fb
REF: extract method _is_in_terminal
ivanovmg Sep 17, 2020
f546378
REF: extract max_cols_adj property
ivanovmg Sep 17, 2020
bb01b8f
REF: extract max_rows_adj property
ivanovmg Sep 17, 2020
bffd773
REF: extract _is_screen_narrow/short methods
ivanovmg Sep 17, 2020
1f955b9
REF: simplify logic in max_rows_adj
ivanovmg Sep 17, 2020
6386a6c
REF: check for terminal in max_cols_adj
ivanovmg Sep 17, 2020
17e545c
REF: extract truncate_h/v and is_truncated props
ivanovmg Sep 17, 2020
99035c3
REF: truncate_h -> is_truncated_horizontally
ivanovmg Sep 17, 2020
e16fc9d
REF: truncate_v -> is_truncated_vertically
ivanovmg Sep 17, 2020
19948b8
TYP: make is_truncated compatible with superclass
ivanovmg Sep 17, 2020
c57c4ce
CLN: remove unnecessary variables
ivanovmg Sep 17, 2020
cb680ce
REF: extract _get_number_of_auxillary_rows
ivanovmg Sep 17, 2020
b657952
REF: use var header_row for clarity
ivanovmg Sep 17, 2020
84c42b7
TYP: ignore assignment error (setters)
ivanovmg Sep 17, 2020
6f1a81f
TYP: specify max_rows type
ivanovmg Sep 17, 2020
8f583c7
LINT: long comment line
ivanovmg Sep 17, 2020
d8744f1
REF: use hasattr instead of try on AttributeError
ivanovmg Sep 18, 2020
1cfbf20
REF: extract helper truncate methods
ivanovmg Sep 18, 2020
3081b8b
CLN: remove unnecessary if statement
ivanovmg Sep 18, 2020
a05c0c6
CLN: remove unnecessary else clause
ivanovmg Sep 18, 2020
62d1cce
CLN: move str_index to where it is used
ivanovmg Sep 18, 2020
e51b4fe
CLN: several assignments
ivanovmg Sep 18, 2020
99cf1a2
REF: extract _get_strcols method
ivanovmg Sep 18, 2020
be570cd
CLN: remove stringified variable
ivanovmg Sep 18, 2020
6562ebb
REF: extract _get_strcols_without_index method
ivanovmg Sep 18, 2020
6b04bef
REF: extract _truncate_strcols method
ivanovmg Sep 18, 2020
1b3cd36
REF: extract _get_string_representation
ivanovmg Sep 18, 2020
99d57ba
CLN: simplify logic in _get_string_representation
ivanovmg Sep 18, 2020
4e97e97
CLN: simplify condition to wrap around
ivanovmg Sep 18, 2020
62af211
REF: extract _fit_strcols_to_terminal_width
ivanovmg Sep 18, 2020
860ae65
CLN: better names for start, end
ivanovmg Sep 18, 2020
bbccb74
REF: get rid of magic number 3
ivanovmg Sep 18, 2020
d43dd06
REF: incrementally add numbers of auxillary rows
ivanovmg Sep 18, 2020
6051f67
CLN: rename _chk_truncate -> _truncate
ivanovmg Sep 18, 2020
f0d034e
REF: _truncate_horizontally without concatenation
ivanovmg Sep 18, 2020
1633047
CLN: simplify logic in _truncate_horizontally
ivanovmg Sep 18, 2020
fd7c03f
CLN: simplify logic in _truncate_vertically
ivanovmg Sep 18, 2020
a71c0b9
REF: _truncate_vertically without concatenation
ivanovmg Sep 18, 2020
b53fabe
LINT: list comprehension
ivanovmg Sep 18, 2020
03d0303
LINT: remove extra concat import
ivanovmg Sep 18, 2020
7261243
TYP: remove type casting
ivanovmg Sep 18, 2020
498ad90
REF: extract _insert_dot_separator_vertical method
ivanovmg Sep 18, 2020
0bc30ee
REF: extract _insert_dot_separator_horizontal
ivanovmg Sep 18, 2020
37f9312
CLN: _truncate_strcols -> _insert_dot_separators
ivanovmg Sep 18, 2020
2d3fad2
TYP: add annotations on new methods
ivanovmg Sep 18, 2020
58084a9
TYP: replace casting with asserts
ivanovmg Sep 18, 2020
c1beb4d
DOC: docstring to _get_number_of_auxillary_rows
ivanovmg Sep 19, 2020
8db7221
CLN: place _is_screen_narrow/short funcs together
ivanovmg Sep 19, 2020
a5e21b3
DOC: docstrings for _truncate_horizontally/vert
ivanovmg Sep 19, 2020
4524bc7
TYP: add for strcols, justify and sparsify
ivanovmg Sep 19, 2020
186c98f
REF: replace sparsify setter with initialization
ivanovmg Sep 19, 2020
52d6a16
REF: replace formatters setter with initialization
ivanovmg Sep 19, 2020
e748370
REF: replace col_space setter with initialization
ivanovmg Sep 19, 2020
2721f98
REF: replace columns setter with initialization
ivanovmg Sep 19, 2020
92c10ab
REF: replace justify setter with initialization
ivanovmg Sep 19, 2020
8849a98
CLN: reorder terminal/screen related methods
ivanovmg Sep 19, 2020
1b9ff3f
TYP: replace casting with actual int conversion
ivanovmg Sep 19, 2020
dcb2b70
TYP: assert instead of casting
ivanovmg Sep 19, 2020
e2b75e5
CLN: max_rows/cols_adj -> max_rows/cols_fitted
ivanovmg Sep 19, 2020
72db492
TYP: move _is_truncated type declaration on top
ivanovmg Sep 19, 2020
027a828
Revert "TYP: assert instead of casting"
ivanovmg Sep 19, 2020
9203a54
REF: assign to max_cols/rows_fitted at init
ivanovmg Sep 19, 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