• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

manahl / PyBloqs
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: fix/pandas3-table-formatters
DEFAULT BRANCH: master
Repo Added 25 Apr 2017 04:59PM UTC
Files 38
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/pandas3-table-formatters
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 1.1.9
  • Add-Collapsible-Block
  • DataFrameMapCompat
  • add_typing
  • blog-post-photos
  • bugfix_cfg
  • bugfix_foo
  • bugfix_server_tabs
  • bugfix_utf8
  • cherry-pick-1.1.9-changelog-and-version-bump
  • code_block
  • decompress
  • docs_folders
  • feature/common_table_formatter
  • feature/increase-frontend-coverage
  • feature/initial-release
  • fix/pandas3-table-formatters
  • fix/plot-format-restore
  • fix_docs
  • htmx_fixes
  • increase_circleci_coverage
  • master
  • no_async
  • p_140
  • p_141
  • p_142
  • patch-1
  • permit_no_compression
  • pull/133
  • pybloqs_server
  • python-312-compat
  • readme_touchup
  • release
  • render_resources
  • replace_inner_html
  • rmorotti-pandas-applymap
  • rspencer01-docs-patch
  • rspencer01-patch-1
  • rspencer01-patch-2
  • rspencer01-v-1-4-3
  • set_server_id
  • unique_ids
  • update-contributors
  • use_old_compression

31 Aug 2026 01:04PM UTC coverage: 88.647% (-0.1%) from 88.791%
f5371eee-6366-4f4a-a251-cf08a843ef06

Pull #177

circleci

WatchTree-19
fix: pandas 3 compatibility in table_formatters

The 8 test failures on build_3_11 and build_3_12 come from three pandas 3
changes. Reproduced on clean master against pandas 3.0.5.

1. Series._append and DataFrame._append were private and are gone in pandas 3.
   Replaced with pd.concat behind two helpers next to the existing
   _pandas_df_map_compat.

2. Assigning "" into a numeric Series or DataFrame no longer silently upcasts
   to object, it raises TypeError: Invalid value '' for dtype 'float64'. Widen
   to object explicitly first. The widening is guarded on the blanking mask
   being non-empty, because pandas 2 only upcast when something was actually
   assigned, and casting unconditionally turned an all-numeric totals row or
   column into object and changed the result.

3. Concatenating an empty object Series onto a numeric row widens it to object,
   which Series._append did not do, so the concat is skipped when there are no
   non-numeric columns to blank.

With these, FmtAppendTotalsRow, FmtAppendTotalsColumn and FmtExpandMultiIndex
return identical values and dtypes on pandas 2.3.3 and 3.0.5.

One test change: test_FmtAppendTotalsRow_modify_dataframe built its expected
Series from a list of strings, which infers the new "str" dtype on pandas 3,
while the appended row is object on both. Pinned dtype=object, which is what
the function returns on either version.

Signed-Off By Sandeep Singh Rai sandeeprai_dsp@hotmail.com
Pull Request #177: fix: pandas 3 compatibility in table_formatters

16 of 16 new or added lines in 1 file covered. (100.0%)

2522 of 2845 relevant lines covered (88.65%)

3.55 hits per line

Relevant lines Covered
Build:
Build:
2845 RELEVANT LINES 2522 COVERED LINES
3.55 HITS PER LINE
Source Files on master
  • Tree
  • List 38
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
f5371eee... fix/pandas3-table-formatters fix: pandas 3 compatibility in table_formatters The 8 test failures on build_3_11 and build_3_12 come from three pandas 3 changes. Reproduced on clean master against pandas 3.0.5. 1. Series._append and DataFrame._append were private and are gone... Pull #177 31 Aug 2026 01:06PM UTC WatchTree-19 circleci
88.65
7a4aae92... fix/plot-format-restore fix: plot_format leaks its settings when the wrapped block raises plot_format mutates module-level state and restores it after the yield with no try/finally: old = get_plot_format() set_plot_format(plot_format, dpi) yield set_plo... Pull #176 31 Aug 2026 12:56PM UTC WatchTree-19 circleci
88.61
df35782b... master Merge pull request #175 from man-group/rspencer01-v-1-4-3 Prepare for 1.4.3 push 23 Oct 2025 02:54PM UTC web-flow circleci
88.79
a397d6d6... master Merge pull request #175 from man-group/rspencer01-v-1-4-3 Prepare for 1.4.3 push 23 Oct 2025 02:48PM UTC web-flow circleci
88.79
a81479aa... master Merge pull request #175 from man-group/rspencer01-v-1-4-3 Prepare for 1.4.3 push 23 Oct 2025 02:41PM UTC web-flow circleci
88.79
636c6788... rspencer01-v-1-4-3 Update CHANGES.md for version 1.4.3 Pull #175 23 Oct 2025 02:38PM UTC web-flow circleci
88.79
1c53398a... master Merge pull request #174 from man-group/rspencer01-patch-2 Remove hx-indicator from content_div push 23 Oct 2025 02:25PM UTC web-flow circleci
88.79
96838887... master Merge pull request #173 from man-group/rspencer01-patch-1 Update hx-trigger for div replacement logic push 23 Oct 2025 02:25PM UTC web-flow circleci
88.79
9880373a... rspencer01-patch-2 Remove hx-indicator from content_div Remove double hx-indications for tab blocks Pull #174 21 Oct 2025 12:34PM UTC web-flow circleci
88.79
0e2d812b... master Merge pull request #172 from TimothyFNChan/DataFrameMapCompat expand compat change for DataFrame.map to apply to all calls to .map push 21 Oct 2025 12:29PM UTC web-flow circleci
88.79
See All Builds (522)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc