27.6 MB
/srv/reproducible-results/rbuild-debian/r-b-build.Npg327ZI/b1/pandas_2.2.3+dfsg-8_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.Npg327ZI/b2/pandas_2.2.3+dfsg-8_i386.changes
729 B
Files
    
Offset 1, 5 lines modifiedOffset 1, 5 lines modified
  
1 ·74f47cf544c0cfb39a296ccecd935b02·10793564·doc·optional·python-pandas-doc_2.2.3+dfsg-8_all.deb1 ·9caedf60c38df638f0d83e5935e51e43·10793344·doc·optional·python-pandas-doc_2.2.3+dfsg-8_all.deb
2 ·c0cba754e40597583f61c8030500ead3·71243076·debug·optional·python3-pandas-lib-dbgsym_2.2.3+dfsg-8_i386.deb2 ·e59da80ebcd526603b17c18b486127fe·71246096·debug·optional·python3-pandas-lib-dbgsym_2.2.3+dfsg-8_i386.deb
3 ·b6d9034931efa6fbf490ec55af617ceb·6847900·python·optional·python3-pandas-lib_2.2.3+dfsg-8_i386.deb3 ·f02a20ed7545972a0600300b3104fe16·6847780·python·optional·python3-pandas-lib_2.2.3+dfsg-8_i386.deb
4 ·ad1d0d3815c32f9db583cfe0dd79d880·3096896·python·optional·python3-pandas_2.2.3+dfsg-8_all.deb4 ·ad1d0d3815c32f9db583cfe0dd79d880·3096896·python·optional·python3-pandas_2.2.3+dfsg-8_all.deb
410 KB
python-pandas-doc_2.2.3+dfsg-8_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary1 -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary
2 -rw-r--r--···0········0········0···147404·2025-02-01·18:39:17.000000·control.tar.xz2 -rw-r--r--···0········0········0···147356·2025-02-01·18:39:17.000000·control.tar.xz
3 -rw-r--r--···0········0········0·10645968·2025-02-01·18:39:17.000000·data.tar.xz3 -rw-r--r--···0········0········0·10645796·2025-02-01·18:39:17.000000·data.tar.xz
604 B
control.tar.xz
576 B
control.tar
506 B
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·python-pandas-doc1 Package:·python-pandas-doc
2 Source:·pandas2 Source:·pandas
3 Version:·2.2.3+dfsg-83 Version:·2.2.3+dfsg-8
4 Architecture:·all4 Architecture:·all
5 Maintainer:·Debian·Science·Team·<debian-science-maintainers@lists.alioth.debian.org>5 Maintainer:·Debian·Science·Team·<debian-science-maintainers@lists.alioth.debian.org>
6 Installed-Size:·2098966 Installed-Size:·209898
7 Depends:·libjs-sphinxdoc·(>=·8.1),·libjs-mathjax7 Depends:·libjs-sphinxdoc·(>=·8.1),·libjs-mathjax
8 Suggests:·python3-pandas8 Suggests:·python3-pandas
9 Section:·doc9 Section:·doc
10 Priority:·optional10 Priority:·optional
11 Multi-Arch:·foreign11 Multi-Arch:·foreign
12 Homepage:·https://pandas.pydata.org/12 Homepage:·https://pandas.pydata.org/
13 Description:·data·structures·for·"relational"·or·"labeled"·data·-·documentation13 Description:·data·structures·for·"relational"·or·"labeled"·data·-·documentation
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
409 KB
data.tar.xz
409 KB
data.tar
12.2 KB
file list
    
Offset 6256, 74 lines modifiedOffset 6256, 74 lines modified
6256 -rw-r--r--···0·root·········(0)·root·········(0)···210184·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/series.html6256 -rw-r--r--···0·root·········(0)·root·········(0)···210184·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/series.html
6257 -rw-r--r--···0·root·········(0)·root·········(0)····48665·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/style.html6257 -rw-r--r--···0·root·········(0)·root·········(0)····48665·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/style.html
6258 -rw-r--r--···0·root·········(0)·root·········(0)····48657·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/testing.html6258 -rw-r--r--···0·root·········(0)·root·········(0)····48657·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/testing.html
6259 -rw-r--r--···0·root·········(0)·root·········(0)····53295·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/window.html6259 -rw-r--r--···0·root·········(0)·root·········(0)····53295·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reference/window.html
6260 -rw-r--r--···0·root·········(0)·root·········(0)······244·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/release.html6260 -rw-r--r--···0·root·········(0)·root·········(0)······244·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/release.html
6261 -rw-r--r--···0·root·········(0)·root·········(0)······269·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reshaping.html6261 -rw-r--r--···0·root·········(0)·root·········(0)······269·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/reshaping.html
6262 -rw-r--r--···0·root·········(0)·root·········(0)····17010·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/search.html6262 -rw-r--r--···0·root·········(0)·root·········(0)····17010·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/search.html
6263 -rw-r--r--···0·root·········(0)·root·········(0)··2359159·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/searchindex.js6263 -rw-r--r--···0·root·········(0)·root·········(0)··2359360·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/searchindex.js
6264 -rw-r--r--···0·root·········(0)·root·········(0)······259·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/sparse.html6264 -rw-r--r--···0·root·········(0)·root·········(0)······259·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/sparse.html
6265 -rw-r--r--···0·root·········(0)·root·········(0)······244·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/style.html6265 -rw-r--r--···0·root·········(0)·root·········(0)······244·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/style.html
6266 -rw-r--r--···0·root·········(0)·root·········(0)······255·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/text.html6266 -rw-r--r--···0·root·········(0)·root·········(0)······255·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/text.html
6267 -rw-r--r--···0·root·········(0)·root·········(0)······256·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/timedeltas.html6267 -rw-r--r--···0·root·········(0)·root·········(0)······256·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/timedeltas.html
6268 -rw-r--r--···0·root·········(0)·root·········(0)······277·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/timeseries.html6268 -rw-r--r--···0·root·········(0)·root·········(0)······277·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/timeseries.html
6269 -rw-r--r--···0·root·········(0)·root·········(0)······272·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/tutorials.html6269 -rw-r--r--···0·root·········(0)·root·········(0)······272·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/tutorials.html
6270 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/6270 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/
6271 -rw-r--r--···0·root·········(0)·root·········(0)···171380·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/10min.html6271 -rw-r--r--···0·root·········(0)·root·········(0)···171380·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/10min.html
6272 -rw-r--r--···0·root·········(0)·root·········(0)···283835·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/advanced.html6272 -rw-r--r--···0·root·········(0)·root·········(0)···283829·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/advanced.html
6273 -rw-r--r--···0·root·········(0)·root·········(0)···435940·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/basics.html6273 -rw-r--r--···0·root·········(0)·root·········(0)···435940·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/basics.html
6274 -rw-r--r--···0·root·········(0)·root·········(0)····36646·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/boolean.html6274 -rw-r--r--···0·root·········(0)·root·········(0)····36646·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/boolean.html
6275 -rw-r--r--···0·root·········(0)·root·········(0)···217513·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/categorical.html6275 -rw-r--r--···0·root·········(0)·root·········(0)···217513·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/categorical.html
6276 -rw-r--r--···0·root·········(0)·root·········(0)····18313·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/cookbook.html6276 -rw-r--r--···0·root·········(0)·root·········(0)····18313·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/cookbook.html
6277 -rw-r--r--···0·root·········(0)·root·········(0)····66164·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/copy_on_write.html6277 -rw-r--r--···0·root·········(0)·root·········(0)····66164·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/copy_on_write.html
6278 -rw-r--r--···0·root·········(0)·root·········(0)···160414·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/dsintro.html6278 -rw-r--r--···0·root·········(0)·root·········(0)···160414·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/dsintro.html
6279 -rw-r--r--···0·root·········(0)·root·········(0)····81376·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/duplicates.html6279 -rw-r--r--···0·root·········(0)·root·········(0)····81376·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/duplicates.html
6280 -rw-r--r--···0·root·········(0)·root·········(0)···121077·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/enhancingperf.html6280 -rw-r--r--···0·root·········(0)·root·········(0)···121084·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/enhancingperf.html
6281 -rw-r--r--···0·root·········(0)·root·········(0)···107882·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/gotchas.html6281 -rw-r--r--···0·root·········(0)·root·········(0)···107882·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/gotchas.html
6282 -rw-r--r--···0·root·········(0)·root·········(0)···300850·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/groupby.html6282 -rw-r--r--···0·root·········(0)·root·········(0)···300850·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/groupby.html
6283 -rw-r--r--···0·root·········(0)·root·········(0)····59715·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/index.html6283 -rw-r--r--···0·root·········(0)·root·········(0)····59715·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/index.html
6284 -rw-r--r--···0·root·········(0)·root·········(0)···395486·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/indexing.html6284 -rw-r--r--···0·root·········(0)·root·········(0)···395486·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/indexing.html
6285 -rw-r--r--···0·root·········(0)·root·········(0)····41778·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/integer_na.html6285 -rw-r--r--···0·root·········(0)·root·········(0)····41778·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/integer_na.html
6286 -rw-r--r--···0·root·········(0)·root·········(0)··1145820·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/io.html6286 -rw-r--r--···0·root·········(0)·root·········(0)··1145820·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/io.html
6287 -rw-r--r--···0·root·········(0)·root·········(0)···208885·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/merging.html6287 -rw-r--r--···0·root·········(0)·root·········(0)···208885·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/merging.html
6288 -rw-r--r--···0·root·········(0)·root·········(0)···178690·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/missing_data.html6288 -rw-r--r--···0·root·········(0)·root·········(0)···178690·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/missing_data.html
6289 -rw-r--r--···0·root·········(0)·root·········(0)···112153·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/options.html6289 -rw-r--r--···0·root·········(0)·root·········(0)···112153·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/options.html
6290 -rw-r--r--···0·root·········(0)·root·········(0)···146148·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/pyarrow.html6290 -rw-r--r--···0·root·········(0)·root·········(0)···147524·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/pyarrow.html
6291 -rw-r--r--···0·root·········(0)·root·········(0)···162660·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/reshaping.html6291 -rw-r--r--···0·root·········(0)·root·········(0)···162660·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/reshaping.html
6292 -rw-r--r--···0·root·········(0)·root·········(0)···115579·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/scale.html6292 -rw-r--r--···0·root·········(0)·root·········(0)···115579·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/scale.html
6293 -rw-r--r--···0·root·········(0)·root·········(0)····65494·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/sparse.html6293 -rw-r--r--···0·root·········(0)·root·········(0)····65494·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/sparse.html
6294 -rw-r--r--···0·root·········(0)·root·········(0)···698240·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/style.html6294 -rw-r--r--···0·root·········(0)·root·········(0)···698240·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/style.html
6295 -rw-r--r--···0·root·········(0)·root·········(0)····87825·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/style.ipynb.gz6295 -rw-r--r--···0·root·········(0)·root·········(0)····87862·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/style.ipynb.gz
6296 -rw-r--r--···0·root·········(0)·root·········(0)···165302·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/text.html6296 -rw-r--r--···0·root·········(0)·root·········(0)···165302·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/text.html
6297 -rw-r--r--···0·root·········(0)·root·········(0)···100947·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/timedeltas.html6297 -rw-r--r--···0·root·········(0)·root·········(0)···100947·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/timedeltas.html
6298 -rw-r--r--···0·root·········(0)·root·········(0)···486621·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/timeseries.html6298 -rw-r--r--···0·root·········(0)·root·········(0)···486621·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/timeseries.html
6299 -rw-r--r--···0·root·········(0)·root·········(0)···204341·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/visualization.html6299 -rw-r--r--···0·root·········(0)·root·········(0)···204341·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/visualization.html
6300 -rw-r--r--···0·root·········(0)·root·········(0)···141947·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/window.html6300 -rw-r--r--···0·root·········(0)·root·········(0)···141947·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/user_guide/window.html
6301 -rw-r--r--···0·root·········(0)·root·········(0)······270·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/visualization.html6301 -rw-r--r--···0·root·········(0)·root·········(0)······270·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/visualization.html
6302 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/6302 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/
6303 -rw-r--r--···0·root·········(0)·root·········(0)···107681·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/index.html6303 -rw-r--r--···0·root·········(0)·root·········(0)···107681·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/index.html
6304 -rw-r--r--···0·root·········(0)·root·········(0)····10566·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/index.html.gz6304 -rw-r--r--···0·root·········(0)·root·········(0)····10566·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/index.html.gz
6305 -rw-r--r--···0·root·········(0)·root·········(0)····83987·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.10.0.html6305 -rw-r--r--···0·root·········(0)·root·········(0)····83987·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.10.0.html
6306 -rw-r--r--···0·root·········(0)·root·········(0)····66492·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.10.1.html6306 -rw-r--r--···0·root·········(0)·root·········(0)····66492·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.10.1.html
6307 -rw-r--r--···0·root·········(0)·root·········(0)····82312·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.11.0.html6307 -rw-r--r--···0·root·········(0)·root·········(0)····82312·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.11.0.html
6308 -rw-r--r--···0·root·········(0)·root·········(0)···104316·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.12.0.html6308 -rw-r--r--···0·root·········(0)·root·········(0)···104316·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.12.0.html
6309 -rw-r--r--···0·root·········(0)·root·········(0)···222541·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.13.0.html6309 -rw-r--r--···0·root·········(0)·root·········(0)···222536·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.13.0.html
6310 -rw-r--r--···0·root·········(0)·root·········(0)····89385·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.13.1.html6310 -rw-r--r--···0·root·········(0)·root·········(0)····89385·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.13.1.html
6311 -rw-r--r--···0·root·········(0)·root·········(0)···243730·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.14.0.html6311 -rw-r--r--···0·root·········(0)·root·········(0)···243730·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.14.0.html
6312 -rw-r--r--···0·root·········(0)·root·········(0)····83262·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.14.1.html6312 -rw-r--r--···0·root·········(0)·root·········(0)····83262·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.14.1.html
6313 -rw-r--r--···0·root·········(0)·root·········(0)···252303·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.15.0.html6313 -rw-r--r--···0·root·········(0)·root·········(0)···252303·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.15.0.html
6314 -rw-r--r--···0·root·········(0)·root·········(0)····68280·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.15.1.html6314 -rw-r--r--···0·root·········(0)·root·········(0)····68280·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.15.1.html
6315 -rw-r--r--···0·root·········(0)·root·········(0)····75128·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.15.2.html6315 -rw-r--r--···0·root·········(0)·root·········(0)····75128·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.15.2.html
6316 -rw-r--r--···0·root·········(0)·root·········(0)···145199·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.0.html6316 -rw-r--r--···0·root·········(0)·root·········(0)···145199·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.0.html
6317 -rw-r--r--···0·root·········(0)·root·········(0)···115518·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.1.html6317 -rw-r--r--···0·root·········(0)·root·········(0)···115292·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.1.html
6318 -rw-r--r--···0·root·········(0)·root·········(0)····64656·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.2.html6318 -rw-r--r--···0·root·········(0)·root·········(0)····64656·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.2.html
6319 -rw-r--r--···0·root·········(0)·root·········(0)···231394·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.17.0.html6319 -rw-r--r--···0·root·········(0)·root·········(0)···230436·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.17.0.html
6320 -rw-r--r--···0·root·········(0)·root·········(0)····95028·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.17.1.html6320 -rw-r--r--···0·root·········(0)·root·········(0)····94984·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.17.1.html
6321 -rw-r--r--···0·root·········(0)·root·········(0)···224090·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.18.0.html6321 -rw-r--r--···0·root·········(0)·root·········(0)···222566·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.18.0.html
6322 -rw-r--r--···0·root·········(0)·root·········(0)···171888·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.18.1.html6322 -rw-r--r--···0·root·········(0)·root·········(0)···171419·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.18.1.html
6323 -rw-r--r--···0·root·········(0)·root·········(0)···349334·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.19.0.html6323 -rw-r--r--···0·root·········(0)·root·········(0)···349334·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.19.0.html
6324 -rw-r--r--···0·root·········(0)·root·········(0)····45179·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.19.1.html6324 -rw-r--r--···0·root·········(0)·root·········(0)····45179·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.19.1.html
6325 -rw-r--r--···0·root·········(0)·root·········(0)····48525·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.19.2.html6325 -rw-r--r--···0·root·········(0)·root·········(0)····48525·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.19.2.html
6326 -rw-r--r--···0·root·········(0)·root·········(0)···406081·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.20.0.html6326 -rw-r--r--···0·root·········(0)·root·········(0)···406081·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.20.0.html
6327 -rw-r--r--···0·root·········(0)·root·········(0)····52898·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.20.2.html6327 -rw-r--r--···0·root·········(0)·root·········(0)····52898·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.20.2.html
6328 -rw-r--r--···0·root·········(0)·root·········(0)····43404·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.20.3.html6328 -rw-r--r--···0·root·········(0)·root·········(0)····43404·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.20.3.html
6329 -rw-r--r--···0·root·········(0)·root·········(0)···255124·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.21.0.html6329 -rw-r--r--···0·root·········(0)·root·········(0)···255124·2025-02-01·18:39:17.000000·./usr/share/doc/python-pandas-doc/html/whatsnew/v0.21.0.html
80.4 KB
./usr/share/doc/python-pandas-doc/html/searchindex.js
80.3 KB
js-beautify {}
    
Offset 21485, 15 lines modifiedOffset 21485, 15 lines modified
21485 ········"000830":·2214,21485 ········"000830":·2214,
21486 ········"000895":·2195,21486 ········"000895":·2195,
21487 ········"000951":·2186,21487 ········"000951":·2186,
21488 ········"000k":·1489,21488 ········"000k":·1489,
21489 ········"000m":·1489,21489 ········"000m":·1489,
21490 ········"000n":·1489,21490 ········"000n":·1489,
21491 ········"000z":·2294,21491 ········"000z":·2294,
21492 ········"001":·[532,·874,·1467,·2232,·2264],21492 ········"001":·[532,·874,·1467,·2193,·2232,·2264],
21493 ········"001000":·[917,·919,·922,·929,·1876,·2209],21493 ········"001000":·[917,·919,·922,·929,·1876,·2209],
21494 ········"001294":·2210,21494 ········"001294":·2210,
21495 ········"001372":·2207,21495 ········"001372":·2207,
21496 ········"001376":·2207,21496 ········"001376":·2207,
21497 ········"001427":·2214,21497 ········"001427":·2214,
21498 ········"001438":·2195,21498 ········"001438":·2195,
21499 ········"001486":·[102,·1158],21499 ········"001486":·[102,·1158],
Offset 21510, 15 lines modifiedOffset 21510, 15 lines modified
21510 ········"003494":·15,21510 ········"003494":·15,
21511 ········"003507":·[2209,·2218],21511 ········"003507":·[2209,·2218],
21512 ········"003556":·2207,21512 ········"003556":·2207,
21513 ········"00360":·2294,21513 ········"00360":·2294,
21514 ········"003733":·2207,21514 ········"003733":·2207,
21515 ········"003932":·2216,21515 ········"003932":·2216,
21516 ········"003945":·2210,21516 ········"003945":·2210,
21517 ········"004":·[2186,·2193,·2227],21517 ········"004":·[2186,·2227],
21518 ········"004000":·2232,21518 ········"004000":·2232,
21519 ········"004005006":·[287,·939],21519 ········"004005006":·[287,·939],
21520 ········"004054":·2229,21520 ········"004054":·2229,
21521 ········"004091":·[2204,·2257],21521 ········"004091":·[2204,·2257],
21522 ········"004127":·2207,21522 ········"004127":·2207,
21523 ········"004194":·2186,21523 ········"004194":·2186,
21524 ········"004201":·2186,21524 ········"004201":·2186,
Offset 21531, 15 lines modifiedOffset 21531, 14 lines modified
21531 ········"005000":·2218,21531 ········"005000":·2218,
21532 ········"005361":·2207,21532 ········"005361":·2207,
21533 ········"005383":·2220,21533 ········"005383":·2220,
21534 ········"005446":·2219,21534 ········"005446":·2219,
21535 ········"005462":·2191,21535 ········"005462":·2191,
21536 ········"005977":·2199,21536 ········"005977":·2199,
21537 ········"005979":·2186,21537 ········"005979":·2186,
21538 ········"006":·2193, 
21539 ········"006123":·2207,21538 ········"006123":·2207,
21540 ········"006154":·[2185,·2197,·2199,·2202,·2204,·2215,·2257],21539 ········"006154":·[2185,·2197,·2199,·2202,·2204,·2215,·2257],
21541 ········"0062":·2191,21540 ········"0062":·2191,
21542 ········"006349":·2195,21541 ········"006349":·2195,
21543 ········"006438":·2215,21542 ········"006438":·2215,
21544 ········"006549":·[182,·760],21543 ········"006549":·[182,·760],
21545 ········"006695":·2186,21544 ········"006695":·2186,
Offset 21557, 29 lines modifiedOffset 21556, 27 lines modified
21557 ········"008182":·2204,21556 ········"008182":·2204,
21558 ········"008298":·2186,21557 ········"008298":·2186,
21559 ········"008344":·2207,21558 ········"008344":·2207,
21560 ········"008358":·2207,21559 ········"008358":·2207,
21561 ········"008500":·15,21560 ········"008500":·15,
21562 ········"008543":·[102,·1158],21561 ········"008543":·[102,·1158],
21563 ········"008943":·[102,·1158],21562 ········"008943":·[102,·1158],
21564 ········"009":·2193, 
21565 ········"009059":·2191,21563 ········"009059":·2191,
21566 ········"009207":·2207,21564 ········"009207":·2207,
21567 ········"009420":·2195,21565 ········"009420":·2195,
21568 ········"009424":·2207,21566 ········"009424":·2207,
21569 ········"009572":·2207,21567 ········"009572":·2207,
21570 ········"009673":·2195,21568 ········"009673":·2195,
21571 ········"009783":·2207,21569 ········"009783":·2207,
21572 ········"009797":·2186,21570 ········"009797":·2186,
21573 ········"009826":·[102,·1158,·2205],21571 ········"009826":·[102,·1158,·2205],
21574 ········"009920":·[2184,·2195,·2214],21572 ········"009920":·[2184,·2195,·2214],
21575 ········"00am":·2230,21573 ········"00am":·2230,
21576 ········"00index":·2218,21574 ········"00index":·2218,
21577 ········"01":·[3,·15,·16,·17,·19,·29,·30,·31,·36,·79,·80,·82,·88,·107,·121,·182,·187,·207,·213,·218,·219,·230,·242,·261,·270,·271,·276,·277,·278,·283,·286,·287,·288,·289,·290,·291,·292,·293,·294,·295,·296,·298,·299,·301,·302,·303,·304,·305,·306,·307,·308,·309,·310,·311,·312,·313,·314,·315,·316,·317,·318,·319,·320,·321,·322,·323,·324,·326,·329,·330,·331,·332,·333,·345,·362,·363,·423,·445,·510,·511,·513,·514,·515,·516,·517,·519,·521,·523,·525,·529,·531,·532,·533,·534,·535,·536,·537,·541,·542,·543,·544,·545,·546,·547,·548,·549,·551,·554,·556,·557,·558,·560,·561,·562,·563,·564,·565,·566,·575,·591,·592,·593,·600,·629,·637,·639,·640,·641,·642,·643,·644,·645,·646,·647,·649,·650,·651,·652,·654,·655,·656,·657,·658,·659,·660,·661,·662,·663,·665,·666,·667,·668,·670,·671,·673,·674,·675,·676,·677,·678,·679,·680,·684,·685,·686,·688,·689,·696,·760,·763,·781,·788,·793,·804,·817,·874,·893,·898,·899,·902,·903,·904,·905,·909,·910,·917,·919,·922,·929,·934,·939,·940,·943,·944,·945,·948,·949,·953,·954,·957,·959,·960,·969,·972,·982,·984,·997,·1000,·1001,·1003,·1004,·1005,·1011,·1014,·1016,·1017,·1020,·1021,·1024,·1051,·1075,·1078,·1106,·1118,·1122,·1141,·1144,·1145,·1147,·1157,·1164,·1170,·1171,·1176,·1180,·1185,·1192,·1195,·1197,·1206,·1214,·1221,·1227,·1228,·1233,·1239,·1245,·1246,·1253,·1256,·1258,·1268,·1269,·1270,·1271,·1272,·1273,·1274,·1275,·1277,·1278,·1279,·1280,·1282,·1283,·1284,·1285,·1286,·1287,·1288,·1290,·1291,·1292,·1293,·1294,·1295,·1296,·1297,·1344,·1345,·1367,·1391,·1392,·1393,·1436,·1447,·1452,·1475,·1488,·1490,·1498,·1500,·1501,·1506,·1524,·1542,·1560,·1620,·1699,·1720,·1741,·1793,·1815,·1857,·1930,·1947,·1982,·2036,·2054,·2090,·2108,·2127,·2163,·2184,·2185,·2186,·2188,·2191,·2195,·2197,·2198,·2199,·2200,·2201,·2202,·2204,·2205,·2206,·2207,·2209,·2210,·2212,·2214,·2215,·2216,·2217,·2218,·2219,·2220,·2221,·2222,·2223,·2225,·2226,·2228,·2229,·2230,·2231,·2232,·2235,·2238,·2240,·2241,·2246,·2249,·2261,·2264,·2265,·2271,·2283,·2289,·2294,·2298,·2302,·2307],21575 ········"01":·[3,·15,·16,·17,·19,·29,·30,·31,·36,·79,·80,·82,·88,·107,·121,·182,·187,·207,·213,·218,·219,·230,·242,·261,·270,·271,·276,·277,·278,·283,·286,·287,·288,·289,·290,·291,·292,·293,·294,·295,·296,·298,·299,·301,·302,·303,·304,·305,·306,·307,·308,·309,·310,·311,·312,·313,·314,·315,·316,·317,·318,·319,·320,·321,·322,·323,·324,·326,·329,·330,·331,·332,·333,·345,·362,·363,·423,·445,·510,·511,·513,·514,·515,·516,·517,·519,·521,·523,·525,·529,·531,·532,·533,·534,·535,·536,·537,·541,·542,·543,·544,·545,·546,·547,·548,·549,·551,·554,·556,·557,·558,·560,·561,·562,·563,·564,·565,·566,·575,·591,·592,·593,·600,·629,·637,·639,·640,·641,·642,·643,·644,·645,·646,·647,·649,·650,·651,·652,·654,·655,·656,·657,·658,·659,·660,·661,·662,·663,·665,·666,·667,·668,·670,·671,·673,·674,·675,·676,·677,·678,·679,·680,·684,·685,·686,·688,·689,·696,·760,·763,·781,·788,·793,·804,·817,·874,·893,·898,·899,·902,·903,·904,·905,·909,·910,·917,·919,·922,·929,·934,·939,·940,·943,·944,·945,·948,·949,·953,·954,·957,·959,·960,·969,·972,·982,·984,·997,·1000,·1001,·1003,·1004,·1005,·1011,·1014,·1016,·1017,·1020,·1021,·1024,·1051,·1075,·1078,·1106,·1118,·1122,·1141,·1144,·1145,·1147,·1157,·1164,·1170,·1171,·1176,·1180,·1185,·1192,·1195,·1197,·1206,·1214,·1221,·1227,·1228,·1233,·1239,·1245,·1246,·1253,·1256,·1258,·1268,·1269,·1270,·1271,·1272,·1273,·1274,·1275,·1277,·1278,·1279,·1280,·1282,·1283,·1284,·1285,·1286,·1287,·1288,·1290,·1291,·1292,·1293,·1294,·1295,·1296,·1297,·1344,·1345,·1367,·1391,·1392,·1393,·1436,·1447,·1452,·1475,·1488,·1490,·1498,·1500,·1501,·1506,·1524,·1542,·1560,·1620,·1699,·1720,·1741,·1793,·1815,·1857,·1930,·1947,·1982,·2036,·2054,·2090,·2108,·2127,·2163,·2184,·2185,·2186,·2188,·2191,·2195,·2197,·2198,·2199,·2200,·2201,·2202,·2204,·2205,·2206,·2207,·2209,·2210,·2212,·2214,·2215,·2216,·2217,·2218,·2219,·2220,·2221,·2222,·2223,·2225,·2226,·2228,·2229,·2230,·2231,·2232,·2235,·2238,·2240,·2241,·2246,·2249,·2261,·2264,·2265,·2271,·2283,·2289,·2294,·2298,·2302,·2307],
21578 ········"010":·2193, 
21579 ········"0100":·[575,·893,·957,·970,·997,·1004,·1014,·1016,·1020,·1021,·1498,·2186,·2199,·2210,·2246,·2271],21576 ········"0100":·[575,·893,·957,·970,·997,·1004,·1014,·1016,·1020,·1021,·1498,·2186,·2199,·2210,·2246,·2271],
21580 ········"010000":·[954,·1894],21577 ········"010000":·[954,·1894],
21581 ········"010010012":·[923,·2209],21578 ········"010010012":·[923,·2209],
21582 ········"010026":·2191,21579 ········"010026":·2191,
21583 ········"010081":·15,21580 ········"010081":·15,
21584 ········"010165":·2199,21581 ········"010165":·2199,
21585 ········"010589":·2193,21582 ········"010589":·2193,
Offset 21592, 20 lines modifiedOffset 21589, 22 lines modified
21592 ········"011374":·2195,21589 ········"011374":·2195,
21593 ········"011470":·2207,21590 ········"011470":·2207,
21594 ········"011736":·2186,21591 ········"011736":·2186,
21595 ········"011829":·2207,21592 ········"011829":·2207,
21596 ········"01183":·2229,21593 ········"01183":·2229,
21597 ········"011860":·[182,·760],21594 ········"011860":·[182,·760],
21598 ········"011975":·2207,21595 ········"011975":·2207,
 21596 ········"012":·2193,
21599 ········"012108":·2207,21597 ········"012108":·2207,
21600 ········"012299":·2207,21598 ········"012299":·2207,
21601 ········"0123456789123456":·[2164,·2165],21599 ········"0123456789123456":·[2164,·2165],
21602 ········"012549":·2207,21600 ········"012549":·2207,
21603 ········"012694":·2199,21601 ········"012694":·2199,
21604 ········"012922":·2219,21602 ········"012922":·2219,
 21603 ········"013":·2193,
21605 ········"013086":·15,21604 ········"013086":·15,
21606 ········"0133":·2202,21605 ········"0133":·2202,
21607 ········"013448":·2207,21606 ········"013448":·2207,
21608 ········"013605":·2207,21607 ········"013605":·2207,
21609 ········"013684":·[182,·760],21608 ········"013684":·[182,·760],
21610 ········"013692":·[102,·1158],21609 ········"013692":·[102,·1158],
21611 ········"013747":·2199,21610 ········"013747":·2199,
Offset 21620, 14 lines modifiedOffset 21619, 15 lines modified
21620 ········"014138":·2191,21619 ········"014138":·2191,
21621 ········"014144":·[102,·1158],21620 ········"014144":·[102,·1158],
21622 ········"014648":·2186,21621 ········"014648":·2186,
21623 ········"014752":·2235,21622 ········"014752":·2235,
21624 ········"014805":·2202,21623 ········"014805":·2202,
21625 ········"014871":·[2185,·2197,·2199,·2202],21624 ········"014871":·[2185,·2197,·2199,·2202],
21626 ········"014888":·2207,21625 ········"014888":·2207,
 21626 ········"015":·2193,
21627 ········"015083":·2186,21627 ········"015083":·2186,
21628 ········"015420":·2195,21628 ········"015420":·2195,
21629 ········"015458":·2207,21629 ········"015458":·2207,
21630 ········"015696":·[2220,·2228,·2230],21630 ········"015696":·[2220,·2228,·2230],
21631 ········"015906":·2186,21631 ········"015906":·2186,
21632 ········"015962":·[2184,·2214],21632 ········"015962":·[2184,·2214],
21633 ········"015988":·2186,21633 ········"015988":·2186,
Offset 21651, 47 lines modifiedOffset 21651, 48 lines modified
21651 ········"018193":·2207,21651 ········"018193":·2207,
21652 ········"018409":·2207,21652 ········"018409":·2207,
21653 ········"018601":·[2184,·2214],21653 ········"018601":·[2184,·2214],
21654 ········"018808":·2207,21654 ········"018808":·2207,
21655 ········"018904":·2207,21655 ········"018904":·2207,
21656 ········"018941":·2207,21656 ········"018941":·2207,
21657 ········"018993":·2214,21657 ········"018993":·2214,
21658 ········"019":·2207,21658 ········"019":·[2193,·2207],
21659 ········"019449":·2207,21659 ········"019449":·2207,
21660 ········"019794":·2197,21660 ········"019794":·2197,
Max diff block lines reached; 76578/82243 bytes (93.11%) of diff not shown.
4.37 KB
./usr/share/doc/python-pandas-doc/html/user_guide/advanced.html
    
Offset 1847, 25 lines modifiedOffset 1847, 25 lines modified
1847 <span·class="gp">In·[141]:·</span><span·class="n">indexer</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">arange</span><span·class="p">(</span><span·class="mi">10000</span><span·class="p">)</span>1847 <span·class="gp">In·[141]:·</span><span·class="n">indexer</span>·<span·class="o">=</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">arange</span><span·class="p">(</span><span·class="mi">10000</span><span·class="p">)</span>
  
1848 <span·class="gp">In·[142]:·</span><span·class="n">random</span><span·class="o">.</span><span·class="n">shuffle</span><span·class="p">(</span><span·class="n">indexer</span><span·class="p">)</span>1848 <span·class="gp">In·[142]:·</span><span·class="n">random</span><span·class="o">.</span><span·class="n">shuffle</span><span·class="p">(</span><span·class="n">indexer</span><span·class="p">)</span>
  
1849 <span·class="gp">In·[143]:·</span><span·class="o">%</span><span·class="k">timeit</span>·arr[indexer]1849 <span·class="gp">In·[143]:·</span><span·class="o">%</span><span·class="k">timeit</span>·arr[indexer]
1850 <span·class="gp">···.....:·</span><span·class="o">%</span><span·class="k">timeit</span>·arr.take(indexer,·axis=0)1850 <span·class="gp">···.....:·</span><span·class="o">%</span><span·class="k">timeit</span>·arr.take(indexer,·axis=0)
1851 <span·class="gp">···.....:·</span>1851 <span·class="gp">···.....:·</span>
 1852 <span·class="go">633·us·+-·127·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)</span>
1852 <span·class="go">310·us·+-·4.77·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)</span>1853 <span·class="go">223·us·+-·7.74·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)</span>
1853 <span·class="go">126·us·+-·862·ns·per·loop·(mean·+-·std.·dev.·of·7·runs,·10,000·loops·each)</span> 
1854 </pre></div>1854 </pre></div>
1855 </div>1855 </div>
1856 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[144]:·</span><span·class="n">ser</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">arr</span><span·class="p">[:,</span>·<span·class="mi">0</span><span·class="p">])</span>1856 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[144]:·</span><span·class="n">ser</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">arr</span><span·class="p">[:,</span>·<span·class="mi">0</span><span·class="p">])</span>
  
1857 <span·class="gp">In·[145]:·</span><span·class="o">%</span><span·class="k">timeit</span>·ser.iloc[indexer]1857 <span·class="gp">In·[145]:·</span><span·class="o">%</span><span·class="k">timeit</span>·ser.iloc[indexer]
1858 <span·class="gp">···.....:·</span><span·class="o">%</span><span·class="k">timeit</span>·ser.take(indexer)1858 <span·class="gp">···.....:·</span><span·class="o">%</span><span·class="k">timeit</span>·ser.take(indexer)
1859 <span·class="gp">···.....:·</span>1859 <span·class="gp">···.....:·</span>
1860 <span·class="go">147·us·+-·8.29·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·10,000·loops·each)</span>1860 <span·class="go">452·us·+-·89·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)</span>
1861 <span·class="go">126·us·+-·3.59·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·10,000·loops·each)</span>1861 <span·class="go">457·us·+-·167·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)</span>
1862 </pre></div>1862 </pre></div>
1863 </div>1863 </div>
1864 </section>1864 </section>
1865 <section·id="index-types">1865 <section·id="index-types">
1866 <span·id="advanced-index-types"></span><h2>Index·types<a·class="headerlink"·href="#index-types"·title="Link·to·this·heading">#</a></h2>1866 <span·id="advanced-index-types"></span><h2>Index·types<a·class="headerlink"·href="#index-types"·title="Link·to·this·heading">#</a></h2>
1867 <p>We·have·discussed·<code·class="docutils·literal·notranslate"><span·class="pre">MultiIndex</span></code>·in·the·previous·sections·pretty·extensively.1867 <p>We·have·discussed·<code·class="docutils·literal·notranslate"><span·class="pre">MultiIndex</span></code>·in·the·previous·sections·pretty·extensively.
1868 Documentation·about·<code·class="docutils·literal·notranslate"><span·class="pre">DatetimeIndex</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">PeriodIndex</span></code>·are·shown·<a·class="reference·internal"·href="timeseries.html#timeseries-overview"><span·class="std·std-ref">here</span></a>,1868 Documentation·about·<code·class="docutils·literal·notranslate"><span·class="pre">DatetimeIndex</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">PeriodIndex</span></code>·are·shown·<a·class="reference·internal"·href="timeseries.html#timeseries-overview"><span·class="std·std-ref">here</span></a>,
1.46 KB
html2text {}
    
Offset 1245, 23 lines modifiedOffset 1245, 23 lines modified
1245 In·[141]:·indexer·=·np.arange(10000)1245 In·[141]:·indexer·=·np.arange(10000)
  
1246 In·[142]:·random.shuffle(indexer)1246 In·[142]:·random.shuffle(indexer)
  
1247 In·[143]:·%timeit·arr[indexer]1247 In·[143]:·%timeit·arr[indexer]
1248 ···.....:·%timeit·arr.take(indexer,·axis=0)1248 ···.....:·%timeit·arr.take(indexer,·axis=0)
1249 ···.....:1249 ···.....:
 1250 633·us·+-·127·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)
1250 310·us·+-·4.77·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)1251 223·us·+-·7.74·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)
1251 126·us·+-·862·ns·per·loop·(mean·+-·std.·dev.·of·7·runs,·10,000·loops·each) 
1252 In·[144]:·ser·=·pd.Series(arr[:,·0])1252 In·[144]:·ser·=·pd.Series(arr[:,·0])
  
1253 In·[145]:·%timeit·ser.iloc[indexer]1253 In·[145]:·%timeit·ser.iloc[indexer]
1254 ···.....:·%timeit·ser.take(indexer)1254 ···.....:·%timeit·ser.take(indexer)
1255 ···.....:1255 ···.....:
1256 147·us·+-·8.29·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·10,000·loops·each)1256 452·us·+-·89·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)
1257 126·us·+-·3.59·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·10,000·loops·each)1257 457·us·+-·167·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)
1258 *\x8**\x8**\x8**\x8**\x8*·I\x8In\x8nd\x8de\x8ex\x8x·t\x8ty\x8yp\x8pe\x8es\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8**\x8*1258 *\x8**\x8**\x8**\x8**\x8*·I\x8In\x8nd\x8de\x8ex\x8x·t\x8ty\x8yp\x8pe\x8es\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8**\x8*
1259 We·have·discussed·MultiIndex·in·the·previous·sections·pretty·extensively.1259 We·have·discussed·MultiIndex·in·the·previous·sections·pretty·extensively.
1260 Documentation·about·DatetimeIndex·and·PeriodIndex·are·shown·_\x8h_\x8e_\x8r_\x8e,·and1260 Documentation·about·DatetimeIndex·and·PeriodIndex·are·shown·_\x8h_\x8e_\x8r_\x8e,·and
1261 documentation·about·TimedeltaIndex·is·found·_\x8h_\x8e_\x8r_\x8e.1261 documentation·about·TimedeltaIndex·is·found·_\x8h_\x8e_\x8r_\x8e.
1262 In·the·following·sub-sections·we·will·highlight·some·other·index·types.1262 In·the·following·sub-sections·we·will·highlight·some·other·index·types.
1263 *\x8**\x8**\x8**\x8*·C\x8Ca\x8at\x8te\x8eg\x8go\x8or\x8ri\x8ic\x8ca\x8al\x8lI\x8In\x8nd\x8de\x8ex\x8x_\x8#\x8#·*\x8**\x8**\x8**\x8*1263 *\x8**\x8**\x8**\x8*·C\x8Ca\x8at\x8te\x8eg\x8go\x8or\x8ri\x8ic\x8ca\x8al\x8lI\x8In\x8nd\x8de\x8ex\x8x_\x8#\x8#·*\x8**\x8**\x8**\x8*
1264 _\x8C_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8i_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x·is·a·type·of·index·that·is·useful·for·supporting·indexing·with1264 _\x8C_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8i_\x8c_\x8a_\x8l_\x8I_\x8n_\x8d_\x8e_\x8x·is·a·type·of·index·that·is·useful·for·supporting·indexing·with
30.4 KB
./usr/share/doc/python-pandas-doc/html/user_guide/enhancingperf.html
    
Offset 592, 31 lines modifiedOffset 592, 31 lines modified
592 <span·class="gp">···...:·</span>········<span·class="n">s</span>·<span·class="o">+=</span>·<span·class="n">f</span><span·class="p">(</span><span·class="n">a</span>·<span·class="o">+</span>·<span·class="n">i</span>·<span·class="o">*</span>·<span·class="n">dx</span><span·class="p">)</span>592 <span·class="gp">···...:·</span>········<span·class="n">s</span>·<span·class="o">+=</span>·<span·class="n">f</span><span·class="p">(</span><span·class="n">a</span>·<span·class="o">+</span>·<span·class="n">i</span>·<span·class="o">*</span>·<span·class="n">dx</span><span·class="p">)</span>
593 <span·class="gp">···...:·</span>····<span·class="k">return</span>·<span·class="n">s</span>·<span·class="o">*</span>·<span·class="n">dx</span>593 <span·class="gp">···...:·</span>····<span·class="k">return</span>·<span·class="n">s</span>·<span·class="o">*</span>·<span·class="n">dx</span>
594 <span·class="gp">···...:·</span>594 <span·class="gp">···...:·</span>
595 </pre></div>595 </pre></div>
596 </div>596 </div>
597 <p>We·achieve·our·result·by·using·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply"·title="pandas.DataFrame.apply"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">DataFrame.apply()</span></code></a>·(row-wise):</p>597 <p>We·achieve·our·result·by·using·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.apply.html#pandas.DataFrame.apply"·title="pandas.DataFrame.apply"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">DataFrame.apply()</span></code></a>·(row-wise):</p>
598 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[5]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df.apply(lambda·x:·integrate_f(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)598 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[5]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df.apply(lambda·x:·integrate_f(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)
599 <span·class="go">85.1·ms·+-·78.9·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)</span>599 <span·class="go">184·ms·+-·7.08·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)</span>
600 </pre></div>600 </pre></div>
601 </div>601 </div>
602 <p>Let’s·take·a·look·and·see·where·the·time·is·spent·during·this·operation602 <p>Let’s·take·a·look·and·see·where·the·time·is·spent·during·this·operation
603 using·the·<a·class="reference·external"·href="https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-prun">prun·ipython·magic·function</a>:</p>603 using·the·<a·class="reference·external"·href="https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-prun">prun·ipython·magic·function</a>:</p>
604 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·most·time·consuming·4·calls</span>604 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·most·time·consuming·4·calls</span>
605 <span·class="gp">In·[6]:·</span><span·class="o">%</span><span·class="k">prun</span>·-l·4·df.apply(lambda·x:·integrate_f(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)··#·noqa·E999605 <span·class="gp">In·[6]:·</span><span·class="o">%</span><span·class="k">prun</span>·-l·4·df.apply(lambda·x:·integrate_f(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)··#·noqa·E999
606 <span·class="go">·········605946·function·calls·(605928·primitive·calls)·in·0.288·seconds</span>606 <span·class="go">·········605946·function·calls·(605928·primitive·calls)·in·1.454·seconds</span>
  
607 <span·class="go">···Ordered·by:·internal·time</span>607 <span·class="go">···Ordered·by:·internal·time</span>
608 <span·class="go">···List·reduced·from·159·to·4·due·to·restriction·&lt;4&gt;</span>608 <span·class="go">···List·reduced·from·159·to·4·due·to·restriction·&lt;4&gt;</span>
  
609 <span·class="go">···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)</span>609 <span·class="go">···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)</span>
610 <span·class="go">·····1000····0.176····0.000····0.254····0.000·&lt;ipython-input-4-c2a74e076cf0&gt;:1(integrate_f)</span>610 <span·class="go">·····1000····0.766····0.001····1.279····0.001·&lt;ipython-input-4-c2a74e076cf0&gt;:1(integrate_f)</span>
611 <span·class="go">···552423····0.078····0.000····0.078····0.000·&lt;ipython-input-3-c138bdd570e3&gt;:1(f)</span>611 <span·class="go">···552423····0.513····0.000····0.513····0.000·&lt;ipython-input-3-c138bdd570e3&gt;:1(f)</span>
612 <span·class="go">·····3000····0.006····0.000····0.023····0.000·series.py:1095(__getitem__)</span>612 <span·class="go">·····3000····0.027····0.000····0.119····0.000·series.py:1095(__getitem__)</span>
613 <span·class="go">·····3000····0.004····0.000····0.010····0.000·series.py:1220(_get_value)</span>613 <span·class="go">····16098····0.020····0.000····0.027····0.000·{built-in·method·builtins.isinstance}</span>
614 </pre></div>614 </pre></div>
615 </div>615 </div>
616 <p>By·far·the·majority·of·time·is·spend·inside·either·<code·class="docutils·literal·notranslate"><span·class="pre">integrate_f</span></code>·or·<code·class="docutils·literal·notranslate"><span·class="pre">f</span></code>,616 <p>By·far·the·majority·of·time·is·spend·inside·either·<code·class="docutils·literal·notranslate"><span·class="pre">integrate_f</span></code>·or·<code·class="docutils·literal·notranslate"><span·class="pre">f</span></code>,
617 hence·we’ll·concentrate·our·efforts·cythonizing·these·two·functions.</p>617 hence·we’ll·concentrate·our·efforts·cythonizing·these·two·functions.</p>
618 </section>618 </section>
619 <section·id="plain-cython">619 <section·id="plain-cython">
620 <span·id="enhancingperf-plain"></span><h3>Plain·Cython<a·class="headerlink"·href="#plain-cython"·title="Link·to·this·heading">#</a></h3>620 <span·id="enhancingperf-plain"></span><h3>Plain·Cython<a·class="headerlink"·href="#plain-cython"·title="Link·to·this·heading">#</a></h3>
Offset 634, 15 lines modifiedOffset 634, 15 lines modified
634 <span·class="gp">···...:·</span>····for·i·in·range(N):634 <span·class="gp">···...:·</span>····for·i·in·range(N):
635 <span·class="gp">···...:·</span>········s·+=·f_plain(a·+·i·*·dx)635 <span·class="gp">···...:·</span>········s·+=·f_plain(a·+·i·*·dx)
636 <span·class="gp">···...:·</span>····return·s·*·dx636 <span·class="gp">···...:·</span>····return·s·*·dx
637 <span·class="gp">···...:·</span>637 <span·class="gp">···...:·</span>
638 </pre></div>638 </pre></div>
639 </div>639 </div>
640 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[9]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df.apply(lambda·x:·integrate_f_plain(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)640 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[9]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df.apply(lambda·x:·integrate_f_plain(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)
641 <span·class="go">77.9·ms·+-·1.18·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)</span>641 <span·class="go">145·ms·+-·12.1·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)</span>
642 </pre></div>642 </pre></div>
643 </div>643 </div>
644 <p>This·has·improved·the·performance·compared·to·the·pure·Python·approach·by·one-third.</p>644 <p>This·has·improved·the·performance·compared·to·the·pure·Python·approach·by·one-third.</p>
645 </section>645 </section>
646 <section·id="declaring-c-types">646 <section·id="declaring-c-types">
647 <span·id="enhancingperf-type"></span><h3>Declaring·C·types<a·class="headerlink"·href="#declaring-c-types"·title="Link·to·this·heading">#</a></h3>647 <span·id="enhancingperf-type"></span><h3>Declaring·C·types<a·class="headerlink"·href="#declaring-c-types"·title="Link·to·this·heading">#</a></h3>
648 <p>We·can·annotate·the·function·variables·and·return·types·as·well·as·use·<code·class="docutils·literal·notranslate"><span·class="pre">cdef</span></code>648 <p>We·can·annotate·the·function·variables·and·return·types·as·well·as·use·<code·class="docutils·literal·notranslate"><span·class="pre">cdef</span></code>
Offset 658, 36 lines modifiedOffset 658, 36 lines modified
658 <span·class="gp">···....:·</span>····for·i·in·range(N):658 <span·class="gp">···....:·</span>····for·i·in·range(N):
659 <span·class="gp">···....:·</span>········s·+=·f_typed(a·+·i·*·dx)659 <span·class="gp">···....:·</span>········s·+=·f_typed(a·+·i·*·dx)
660 <span·class="gp">···....:·</span>····return·s·*·dx660 <span·class="gp">···....:·</span>····return·s·*·dx
661 <span·class="gp">···....:·</span>661 <span·class="gp">···....:·</span>
662 </pre></div>662 </pre></div>
663 </div>663 </div>
664 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[11]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df.apply(lambda·x:·integrate_f_typed(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)664 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[11]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df.apply(lambda·x:·integrate_f_typed(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)
665 <span·class="go">10.2·ms·+-·17.2·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·100·loops·each)</span>665 <span·class="go">28.3·ms·+-·3.28·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)</span>
666 </pre></div>666 </pre></div>
667 </div>667 </div>
668 <p>Annotating·the·functions·with·C·types·yields·an·over·ten·times·performance·improvement·compared·to668 <p>Annotating·the·functions·with·C·types·yields·an·over·ten·times·performance·improvement·compared·to
669 the·original·Python·implementation.</p>669 the·original·Python·implementation.</p>
670 </section>670 </section>
671 <section·id="using-ndarray">671 <section·id="using-ndarray">
672 <span·id="enhancingperf-ndarray"></span><h3>Using·ndarray<a·class="headerlink"·href="#using-ndarray"·title="Link·to·this·heading">#</a></h3>672 <span·id="enhancingperf-ndarray"></span><h3>Using·ndarray<a·class="headerlink"·href="#using-ndarray"·title="Link·to·this·heading">#</a></h3>
673 <p>When·re-profiling,·time·is·spent·creating·a·<a·class="reference·internal"·href="../reference/api/pandas.Series.html#pandas.Series"·title="pandas.Series"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Series</span></code></a>·from·each·row,·and·calling·<code·class="docutils·literal·notranslate"><span·class="pre">__getitem__</span></code>·from·both673 <p>When·re-profiling,·time·is·spent·creating·a·<a·class="reference·internal"·href="../reference/api/pandas.Series.html#pandas.Series"·title="pandas.Series"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Series</span></code></a>·from·each·row,·and·calling·<code·class="docutils·literal·notranslate"><span·class="pre">__getitem__</span></code>·from·both
674 the·index·and·the·series·(three·times·for·each·row).·These·Python·function·calls·are·expensive·and674 the·index·and·the·series·(three·times·for·each·row).·These·Python·function·calls·are·expensive·and
675 can·be·improved·by·passing·an·<code·class="docutils·literal·notranslate"><span·class="pre">np.ndarray</span></code>.</p>675 can·be·improved·by·passing·an·<code·class="docutils·literal·notranslate"><span·class="pre">np.ndarray</span></code>.</p>
676 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[12]:·</span><span·class="o">%</span><span·class="k">prun</span>·-l·4·df.apply(lambda·x:·integrate_f_typed(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)676 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[12]:·</span><span·class="o">%</span><span·class="k">prun</span>·-l·4·df.apply(lambda·x:·integrate_f_typed(x[&quot;a&quot;],·x[&quot;b&quot;],·x[&quot;N&quot;]),·axis=1)
677 <span·class="go">·········52523·function·calls·(52505·primitive·calls)·in·0.034·seconds</span>677 <span·class="go">·········52523·function·calls·(52505·primitive·calls)·in·0.119·seconds</span>
  
678 <span·class="go">···Ordered·by:·internal·time</span>678 <span·class="go">···Ordered·by:·internal·time</span>
679 <span·class="go">···List·reduced·from·157·to·4·due·to·restriction·&lt;4&gt;</span>679 <span·class="go">···List·reduced·from·157·to·4·due·to·restriction·&lt;4&gt;</span>
  
680 <span·class="go">···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)</span>680 <span·class="go">···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)</span>
681 <span·class="go">·····3000····0.006····0.000····0.022····0.000·series.py:1095(__getitem__)</span>681 <span·class="go">·····3000····0.019····0.000····0.084····0.000·series.py:1095(__getitem__)</span>
682 <span·class="go">·····3000····0.004····0.000····0.009····0.000·series.py:1220(_get_value)</span> 
683 <span·class="go">····16098····0.003····0.000····0.004····0.000·{built-in·method·builtins.isinstance}</span>682 <span·class="go">····16098····0.015····0.000····0.019····0.000·{built-in·method·builtins.isinstance}</span>
684 <span·class="go">·····3000····0.003····0.000····0.003····0.000·base.py:3777(get_loc)</span>683 <span·class="go">·····3000····0.013····0.000····0.034····0.000·series.py:1220(_get_value)</span>
 684 <span·class="go">·····3000····0.012····0.000····0.021····0.000·indexing.py:2765(check_dict_or_set_indexers)</span>
685 </pre></div>685 </pre></div>
686 </div>686 </div>
687 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[13]:·</span><span·class="o">%%</span><span·class="k">cython</span>687 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[13]:·</span><span·class="o">%%</span><span·class="k">cython</span>
688 <span·class="gp">···....:·</span>cimport·numpy·as·np688 <span·class="gp">···....:·</span>cimport·numpy·as·np
689 <span·class="gp">···....:·</span>import·numpy·as·np689 <span·class="gp">···....:·</span>import·numpy·as·np
690 <span·class="gp">···....:·</span>cdef·double·f_typed(double·x)·except?·-2:690 <span·class="gp">···....:·</span>cdef·double·f_typed(double·x)·except?·-2:
691 <span·class="gp">···....:·</span>····return·x·*·(x·-·1)691 <span·class="gp">···....:·</span>····return·x·*·(x·-·1)
Offset 722, 33 lines modifiedOffset 722, 33 lines modified
722 </div>722 </div>
723 <p>This·implementation·creates·an·array·of·zeros·and·inserts·the·result723 <p>This·implementation·creates·an·array·of·zeros·and·inserts·the·result
724 of·<code·class="docutils·literal·notranslate"><span·class="pre">integrate_f_typed</span></code>·applied·over·each·row.·Looping·over·an·<code·class="docutils·literal·notranslate"><span·class="pre">ndarray</span></code>·is·faster724 of·<code·class="docutils·literal·notranslate"><span·class="pre">integrate_f_typed</span></code>·applied·over·each·row.·Looping·over·an·<code·class="docutils·literal·notranslate"><span·class="pre">ndarray</span></code>·is·faster
725 in·Cython·than·looping·over·a·<a·class="reference·internal"·href="../reference/api/pandas.Series.html#pandas.Series"·title="pandas.Series"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Series</span></code></a>·object.</p>725 in·Cython·than·looping·over·a·<a·class="reference·internal"·href="../reference/api/pandas.Series.html#pandas.Series"·title="pandas.Series"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">Series</span></code></a>·object.</p>
726 <p>Since·<code·class="docutils·literal·notranslate"><span·class="pre">apply_integrate_f</span></code>·is·typed·to·accept·an·<code·class="docutils·literal·notranslate"><span·class="pre">np.ndarray</span></code>,·<a·class="reference·internal"·href="../reference/api/pandas.Series.to_numpy.html#pandas.Series.to_numpy"·title="pandas.Series.to_numpy"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Series.to_numpy()</span></code></a>726 <p>Since·<code·class="docutils·literal·notranslate"><span·class="pre">apply_integrate_f</span></code>·is·typed·to·accept·an·<code·class="docutils·literal·notranslate"><span·class="pre">np.ndarray</span></code>,·<a·class="reference·internal"·href="../reference/api/pandas.Series.to_numpy.html#pandas.Series.to_numpy"·title="pandas.Series.to_numpy"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Series.to_numpy()</span></code></a>
727 calls·are·needed·to·utilize·this·function.</p>727 calls·are·needed·to·utilize·this·function.</p>
728 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[14]:·</span><span·class="o">%</span><span·class="k">timeit</span>·apply_integrate_f(df[&quot;a&quot;].to_numpy(),·df[&quot;b&quot;].to_numpy(),·df[&quot;N&quot;].to_numpy())728 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[14]:·</span><span·class="o">%</span><span·class="k">timeit</span>·apply_integrate_f(df[&quot;a&quot;].to_numpy(),·df[&quot;b&quot;].to_numpy(),·df[&quot;N&quot;].to_numpy())
729 <span·class="go">1.89·ms·+-·455·ns·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)</span>729 <span·class="go">2.43·ms·+-·55.3·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·100·loops·each)</span>
730 </pre></div>730 </pre></div>
731 </div>731 </div>
732 <p>Performance·has·improved·from·the·prior·implementation·by·almost·ten·times.</p>732 <p>Performance·has·improved·from·the·prior·implementation·by·almost·ten·times.</p>
733 </section>733 </section>
734 <section·id="disabling-compiler-directives">734 <section·id="disabling-compiler-directives">
735 <span·id="enhancingperf-boundswrap"></span><h3>Disabling·compiler·directives<a·class="headerlink"·href="#disabling-compiler-directives"·title="Link·to·this·heading">#</a></h3>735 <span·id="enhancingperf-boundswrap"></span><h3>Disabling·compiler·directives<a·class="headerlink"·href="#disabling-compiler-directives"·title="Link·to·this·heading">#</a></h3>
736 <p>The·majority·of·the·time·is·now·spent·in·<code·class="docutils·literal·notranslate"><span·class="pre">apply_integrate_f</span></code>.·Disabling·Cython’s·<code·class="docutils·literal·notranslate"><span·class="pre">boundscheck</span></code>736 <p>The·majority·of·the·time·is·now·spent·in·<code·class="docutils·literal·notranslate"><span·class="pre">apply_integrate_f</span></code>.·Disabling·Cython’s·<code·class="docutils·literal·notranslate"><span·class="pre">boundscheck</span></code>
737 and·<code·class="docutils·literal·notranslate"><span·class="pre">wraparound</span></code>·checks·can·yield·more·performance.</p>737 and·<code·class="docutils·literal·notranslate"><span·class="pre">wraparound</span></code>·checks·can·yield·more·performance.</p>
738 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[15]:·</span><span·class="o">%</span><span·class="k">prun</span>·-l·4·apply_integrate_f(df[&quot;a&quot;].to_numpy(),·df[&quot;b&quot;].to_numpy(),·df[&quot;N&quot;].to_numpy())738 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[15]:·</span><span·class="o">%</span><span·class="k">prun</span>·-l·4·apply_integrate_f(df[&quot;a&quot;].to_numpy(),·df[&quot;b&quot;].to_numpy(),·df[&quot;N&quot;].to_numpy())
739 <span·class="go">·········78·function·calls·in·0.002·seconds</span>739 <span·class="go">·········78·function·calls·in·0.003·seconds</span>
  
740 <span·class="go">···Ordered·by:·internal·time</span>740 <span·class="go">···Ordered·by:·internal·time</span>
741 <span·class="go">···List·reduced·from·21·to·4·due·to·restriction·&lt;4&gt;</span>741 <span·class="go">···List·reduced·from·21·to·4·due·to·restriction·&lt;4&gt;</span>
  
742 <span·class="go">···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)</span>742 <span·class="go">···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)</span>
743 <span·class="go">········1····0.002····0.002····0.002····0.002·&lt;string&gt;:1(&lt;module&gt;)</span>743 <span·class="go">········1····0.002····0.002····0.003····0.003·&lt;string&gt;:1(&lt;module&gt;)</span>
744 <span·class="go">········1····0.000····0.000····0.000····0.000·{method·&#39;disable&#39;·of·&#39;_lsprof.Profiler&#39;·objects}</span>744 <span·class="go">········1····0.000····0.000····0.000····0.000·{method·&#39;disable&#39;·of·&#39;_lsprof.Profiler&#39;·objects}</span>
745 <span·class="go">········1····0.000····0.000····0.002····0.002·{built-in·method·builtins.exec}</span>745 <span·class="go">········1····0.000····0.000····0.003····0.003·{built-in·method·builtins.exec}</span>
746 <span·class="go">········3····0.000····0.000····0.000····0.000·frame.py:4062(__getitem__)</span>746 <span·class="go">········3····0.000····0.000····0.000····0.000·frame.py:4062(__getitem__)</span>
747 </pre></div>747 </pre></div>
748 </div>748 </div>
749 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[16]:·</span><span·class="o">%%</span><span·class="k">cython</span>749 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[16]:·</span><span·class="o">%%</span><span·class="k">cython</span>
750 <span·class="gp">···....:·</span>cimport·cython750 <span·class="gp">···....:·</span>cimport·cython
751 <span·class="gp">···....:·</span>cimport·numpy·as·np751 <span·class="gp">···....:·</span>cimport·numpy·as·np
752 <span·class="gp">···....:·</span>import·numpy·as·np752 <span·class="gp">···....:·</span>import·numpy·as·np
Offset 1180, 19 lines modifiedOffset 1180, 19 lines modified
1180 compared·to·standard·Python·syntax·for·large·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.html#pandas.DataFrame"·title="pandas.DataFrame"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">DataFrame</span></code></a>.·This·engine·requires·the1180 compared·to·standard·Python·syntax·for·large·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.html#pandas.DataFrame"·title="pandas.DataFrame"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">DataFrame</span></code></a>.·This·engine·requires·the
1181 optional·dependency·<code·class="docutils·literal·notranslate"><span·class="pre">numexpr</span></code>·to·be·installed.</p>1181 optional·dependency·<code·class="docutils·literal·notranslate"><span·class="pre">numexpr</span></code>·to·be·installed.</p>
1182 <p>The·<code·class="docutils·literal·notranslate"><span·class="pre">'python'</span></code>·engine·is·generally·<em>not</em>·useful·except·for·testing1182 <p>The·<code·class="docutils·literal·notranslate"><span·class="pre">'python'</span></code>·engine·is·generally·<em>not</em>·useful·except·for·testing
1183 other·evaluation·engines·against·it.·You·will·achieve·<strong>no</strong>·performance1183 other·evaluation·engines·against·it.·You·will·achieve·<strong>no</strong>·performance
1184 benefits·using·<a·class="reference·internal"·href="../reference/api/pandas.eval.html#pandas.eval"·title="pandas.eval"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">eval()</span></code></a>·with·<code·class="docutils·literal·notranslate"><span·class="pre">engine='python'</span></code>·and·may1184 benefits·using·<a·class="reference·internal"·href="../reference/api/pandas.eval.html#pandas.eval"·title="pandas.eval"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">eval()</span></code></a>·with·<code·class="docutils·literal·notranslate"><span·class="pre">engine='python'</span></code>·and·may
1185 incur·a·performance·hit.</p>1185 incur·a·performance·hit.</p>
1186 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[40]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df1·+·df2·+·df3·+·df41186 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[40]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df1·+·df2·+·df3·+·df4
Max diff block lines reached; 6847/20732 bytes (33.03%) of diff not shown.
10.1 KB
html2text {}
    
Offset 110, 32 lines modifiedOffset 110, 33 lines modified
110 ···...:·····dx·=·(b·-·a)·/·N110 ···...:·····dx·=·(b·-·a)·/·N
111 ···...:·····for·i·in·range(N):111 ···...:·····for·i·in·range(N):
112 ···...:·········s·+=·f(a·+·i·*·dx)112 ···...:·········s·+=·f(a·+·i·*·dx)
113 ···...:·····return·s·*·dx113 ···...:·····return·s·*·dx
114 ···...:114 ···...:
115 We·achieve·our·result·by·using·_\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e_\x8._\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8)·(row-wise):115 We·achieve·our·result·by·using·_\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e_\x8._\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8)·(row-wise):
116 In·[5]:·%timeit·df.apply(lambda·x:·integrate_f(x["a"],·x["b"],·x["N"]),·axis=1)116 In·[5]:·%timeit·df.apply(lambda·x:·integrate_f(x["a"],·x["b"],·x["N"]),·axis=1)
117 85.1·ms·+-·78.9·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)117 184·ms·+-·7.08·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)
118 Let’s·take·a·look·and·see·where·the·time·is·spent·during·this·operation·using118 Let’s·take·a·look·and·see·where·the·time·is·spent·during·this·operation·using
119 the·_\x8p_\x8r_\x8u_\x8n_\x8·_\x8i_\x8p_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8m_\x8a_\x8g_\x8i_\x8c_\x8·_\x8f_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n:119 the·_\x8p_\x8r_\x8u_\x8n_\x8·_\x8i_\x8p_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8m_\x8a_\x8g_\x8i_\x8c_\x8·_\x8f_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n:
120 #·most·time·consuming·4·calls120 #·most·time·consuming·4·calls
121 In·[6]:·%prun·-l·4·df.apply(lambda·x:·integrate_f(x["a"],·x["b"],·x["N"]),121 In·[6]:·%prun·-l·4·df.apply(lambda·x:·integrate_f(x["a"],·x["b"],·x["N"]),
122 axis=1)··#·noqa·E999122 axis=1)··#·noqa·E999
123 ·········605946·function·calls·(605928·primitive·calls)·in·0.288·seconds123 ·········605946·function·calls·(605928·primitive·calls)·in·1.454·seconds
  
124 ···Ordered·by:·internal·time124 ···Ordered·by:·internal·time
125 ···List·reduced·from·159·to·4·due·to·restriction·<4>125 ···List·reduced·from·159·to·4·due·to·restriction·<4>
  
126 ···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)126 ···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)
127 ·····1000····0.176····0.000····0.254····0.000·<ipython-input-4-c2a74e076cf0>:1127 ·····1000····0.766····0.001····1.279····0.001·<ipython-input-4-c2a74e076cf0>:1
128 (integrate_f)128 (integrate_f)
129 ···552423····0.078····0.000····0.078····0.000·<ipython-input-3-c138bdd570e3>:1129 ···552423····0.513····0.000····0.513····0.000·<ipython-input-3-c138bdd570e3>:1
130 (f)130 (f)
131 ·····3000····0.006····0.000····0.023····0.000·series.py:1095(__getitem__)131 ·····3000····0.027····0.000····0.119····0.000·series.py:1095(__getitem__)
132 ·····3000····0.004····0.000····0.010····0.000·series.py:1220(_get_value)132 ····16098····0.020····0.000····0.027····0.000·{built-in·method
 133 builtins.isinstance}
133 By·far·the·majority·of·time·is·spend·inside·either·integrate_f·or·f,·hence134 By·far·the·majority·of·time·is·spend·inside·either·integrate_f·or·f,·hence
134 we’ll·concentrate·our·efforts·cythonizing·these·two·functions.135 we’ll·concentrate·our·efforts·cythonizing·these·two·functions.
135 *\x8**\x8**\x8**\x8*·P\x8Pl\x8la\x8ai\x8in\x8n·C\x8Cy\x8yt\x8th\x8ho\x8on\x8n_\x8#\x8#·*\x8**\x8**\x8**\x8*136 *\x8**\x8**\x8**\x8*·P\x8Pl\x8la\x8ai\x8in\x8n·C\x8Cy\x8yt\x8th\x8ho\x8on\x8n_\x8#\x8#·*\x8**\x8**\x8**\x8*
136 First·we’re·going·to·need·to·import·the·Cython·magic·function·to·IPython:137 First·we’re·going·to·need·to·import·the·Cython·magic·function·to·IPython:
137 In·[7]:·%load_ext·Cython138 In·[7]:·%load_ext·Cython
138 Now,·let’s·simply·copy·our·functions·over·to·Cython:139 Now,·let’s·simply·copy·our·functions·over·to·Cython:
139 In·[8]:·%%cython140 In·[8]:·%%cython
Offset 146, 15 lines modifiedOffset 147, 15 lines modified
146 ···...:·····dx·=·(b·-·a)·/·N147 ···...:·····dx·=·(b·-·a)·/·N
147 ···...:·····for·i·in·range(N):148 ···...:·····for·i·in·range(N):
148 ···...:·········s·+=·f_plain(a·+·i·*·dx)149 ···...:·········s·+=·f_plain(a·+·i·*·dx)
149 ···...:·····return·s·*·dx150 ···...:·····return·s·*·dx
150 ···...:151 ···...:
151 In·[9]:·%timeit·df.apply(lambda·x:·integrate_f_plain(x["a"],·x["b"],·x["N"]),152 In·[9]:·%timeit·df.apply(lambda·x:·integrate_f_plain(x["a"],·x["b"],·x["N"]),
152 axis=1)153 axis=1)
153 77.9·ms·+-·1.18·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)154 145·ms·+-·12.1·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)
154 This·has·improved·the·performance·compared·to·the·pure·Python·approach·by·one-155 This·has·improved·the·performance·compared·to·the·pure·Python·approach·by·one-
155 third.156 third.
156 *\x8**\x8**\x8**\x8*·D\x8De\x8ec\x8cl\x8la\x8ar\x8ri\x8in\x8ng\x8g·C\x8C·t\x8ty\x8yp\x8pe\x8es\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*157 *\x8**\x8**\x8**\x8*·D\x8De\x8ec\x8cl\x8la\x8ar\x8ri\x8in\x8ng\x8g·C\x8C·t\x8ty\x8yp\x8pe\x8es\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*
157 We·can·annotate·the·function·variables·and·return·types·as·well·as·use·cdef·and158 We·can·annotate·the·function·variables·and·return·types·as·well·as·use·cdef·and
158 cpdef·to·improve·performance:159 cpdef·to·improve·performance:
159 In·[10]:·%%cython160 In·[10]:·%%cython
160 ···....:·cdef·double·f_typed(double·x)·except?·-2:161 ···....:·cdef·double·f_typed(double·x)·except?·-2:
Offset 166, 35 lines modifiedOffset 167, 36 lines modified
166 ···....:·····dx·=·(b·-·a)·/·N167 ···....:·····dx·=·(b·-·a)·/·N
167 ···....:·····for·i·in·range(N):168 ···....:·····for·i·in·range(N):
168 ···....:·········s·+=·f_typed(a·+·i·*·dx)169 ···....:·········s·+=·f_typed(a·+·i·*·dx)
169 ···....:·····return·s·*·dx170 ···....:·····return·s·*·dx
170 ···....:171 ···....:
171 In·[11]:·%timeit·df.apply(lambda·x:·integrate_f_typed(x["a"],·x["b"],·x["N"]),172 In·[11]:·%timeit·df.apply(lambda·x:·integrate_f_typed(x["a"],·x["b"],·x["N"]),
172 axis=1)173 axis=1)
173 10.2·ms·+-·17.2·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·100·loops·each)174 28.3·ms·+-·3.28·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·10·loops·each)
174 Annotating·the·functions·with·C·types·yields·an·over·ten·times·performance175 Annotating·the·functions·with·C·types·yields·an·over·ten·times·performance
175 improvement·compared·to·the·original·Python·implementation.176 improvement·compared·to·the·original·Python·implementation.
176 *\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·n\x8nd\x8da\x8ar\x8rr\x8ra\x8ay\x8y_\x8#\x8#·*\x8**\x8**\x8**\x8*177 *\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·n\x8nd\x8da\x8ar\x8rr\x8ra\x8ay\x8y_\x8#\x8#·*\x8**\x8**\x8**\x8*
177 When·re-profiling,·time·is·spent·creating·a·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s·from·each·row,·and·calling178 When·re-profiling,·time·is·spent·creating·a·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s·from·each·row,·and·calling
178 __getitem__·from·both·the·index·and·the·series·(three·times·for·each·row).179 __getitem__·from·both·the·index·and·the·series·(three·times·for·each·row).
179 These·Python·function·calls·are·expensive·and·can·be·improved·by·passing·an180 These·Python·function·calls·are·expensive·and·can·be·improved·by·passing·an
180 np.ndarray.181 np.ndarray.
181 In·[12]:·%prun·-l·4·df.apply(lambda·x:·integrate_f_typed(x["a"],·x["b"],·x182 In·[12]:·%prun·-l·4·df.apply(lambda·x:·integrate_f_typed(x["a"],·x["b"],·x
182 ["N"]),·axis=1)183 ["N"]),·axis=1)
183 ·········52523·function·calls·(52505·primitive·calls)·in·0.034·seconds184 ·········52523·function·calls·(52505·primitive·calls)·in·0.119·seconds
  
184 ···Ordered·by:·internal·time185 ···Ordered·by:·internal·time
185 ···List·reduced·from·157·to·4·due·to·restriction·<4>186 ···List·reduced·from·157·to·4·due·to·restriction·<4>
  
186 ···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)187 ···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)
187 ·····3000····0.006····0.000····0.022····0.000·series.py:1095(__getitem__)188 ·····3000····0.019····0.000····0.084····0.000·series.py:1095(__getitem__)
188 ·····3000····0.004····0.000····0.009····0.000·series.py:1220(_get_value) 
189 ····16098····0.003····0.000····0.004····0.000·{built-in·method189 ····16098····0.015····0.000····0.019····0.000·{built-in·method
190 builtins.isinstance}190 builtins.isinstance}
191 ·····3000····0.003····0.000····0.003····0.000·base.py:3777(get_loc)191 ·····3000····0.013····0.000····0.034····0.000·series.py:1220(_get_value)
 192 ·····3000····0.012····0.000····0.021····0.000·indexing.py:2765
 193 (check_dict_or_set_indexers)
192 In·[13]:·%%cython194 In·[13]:·%%cython
193 ···....:·cimport·numpy·as·np195 ···....:·cimport·numpy·as·np
194 ···....:·import·numpy·as·np196 ···....:·import·numpy·as·np
195 ···....:·cdef·double·f_typed(double·x)·except?·-2:197 ···....:·cdef·double·f_typed(double·x)·except?·-2:
196 ···....:·····return·x·*·(x·-·1)198 ···....:·····return·x·*·(x·-·1)
197 ···....:·cpdef·double·integrate_f_typed(double·a,·double·b,·int·N):199 ···....:·cpdef·double·integrate_f_typed(double·a,·double·b,·int·N):
198 ···....:·····cdef·int·i200 ···....:·····cdef·int·i
Offset 235, 31 lines modifiedOffset 237, 31 lines modified
235 This·implementation·creates·an·array·of·zeros·and·inserts·the·result·of237 This·implementation·creates·an·array·of·zeros·and·inserts·the·result·of
236 integrate_f_typed·applied·over·each·row.·Looping·over·an·ndarray·is·faster·in238 integrate_f_typed·applied·over·each·row.·Looping·over·an·ndarray·is·faster·in
237 Cython·than·looping·over·a·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s·object.239 Cython·than·looping·over·a·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s·object.
238 Since·apply_integrate_f·is·typed·to·accept·an·np.ndarray,·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s_\x8._\x8t_\x8o_\x8__\x8n_\x8u_\x8m_\x8p_\x8y_\x8(_\x8)240 Since·apply_integrate_f·is·typed·to·accept·an·np.ndarray,·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s_\x8._\x8t_\x8o_\x8__\x8n_\x8u_\x8m_\x8p_\x8y_\x8(_\x8)
239 calls·are·needed·to·utilize·this·function.241 calls·are·needed·to·utilize·this·function.
240 In·[14]:·%timeit·apply_integrate_f(df["a"].to_numpy(),·df["b"].to_numpy(),·df242 In·[14]:·%timeit·apply_integrate_f(df["a"].to_numpy(),·df["b"].to_numpy(),·df
241 ["N"].to_numpy())243 ["N"].to_numpy())
242 1.89·ms·+-·455·ns·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each)244 2.43·ms·+-·55.3·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·100·loops·each)
243 Performance·has·improved·from·the·prior·implementation·by·almost·ten·times.245 Performance·has·improved·from·the·prior·implementation·by·almost·ten·times.
244 *\x8**\x8**\x8**\x8*·D\x8Di\x8is\x8sa\x8ab\x8bl\x8li\x8in\x8ng\x8g·c\x8co\x8om\x8mp\x8pi\x8il\x8le\x8er\x8r·d\x8di\x8ir\x8re\x8ec\x8ct\x8ti\x8iv\x8ve\x8es\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*246 *\x8**\x8**\x8**\x8*·D\x8Di\x8is\x8sa\x8ab\x8bl\x8li\x8in\x8ng\x8g·c\x8co\x8om\x8mp\x8pi\x8il\x8le\x8er\x8r·d\x8di\x8ir\x8re\x8ec\x8ct\x8ti\x8iv\x8ve\x8es\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*
245 The·majority·of·the·time·is·now·spent·in·apply_integrate_f.·Disabling·Cython’s247 The·majority·of·the·time·is·now·spent·in·apply_integrate_f.·Disabling·Cython’s
246 boundscheck·and·wraparound·checks·can·yield·more·performance.248 boundscheck·and·wraparound·checks·can·yield·more·performance.
247 In·[15]:·%prun·-l·4·apply_integrate_f(df["a"].to_numpy(),·df["b"].to_numpy(),249 In·[15]:·%prun·-l·4·apply_integrate_f(df["a"].to_numpy(),·df["b"].to_numpy(),
248 df["N"].to_numpy())250 df["N"].to_numpy())
249 ·········78·function·calls·in·0.002·seconds251 ·········78·function·calls·in·0.003·seconds
  
250 ···Ordered·by:·internal·time252 ···Ordered·by:·internal·time
251 ···List·reduced·from·21·to·4·due·to·restriction·<4>253 ···List·reduced·from·21·to·4·due·to·restriction·<4>
  
252 ···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)254 ···ncalls··tottime··percall··cumtime··percall·filename:lineno(function)
253 ········1····0.002····0.002····0.002····0.002·<string>:1(<module>)255 ········1····0.002····0.002····0.003····0.003·<string>:1(<module>)
254 ········1····0.000····0.000····0.000····0.000·{method·'disable'·of256 ········1····0.000····0.000····0.000····0.000·{method·'disable'·of
255 '_lsprof.Profiler'·objects}257 '_lsprof.Profiler'·objects}
256 ········1····0.000····0.000····0.002····0.002·{built-in·method·builtins.exec}258 ········1····0.000····0.000····0.003····0.003·{built-in·method·builtins.exec}
257 ········3····0.000····0.000····0.000····0.000·frame.py:4062(__getitem__)259 ········3····0.000····0.000····0.000····0.000·frame.py:4062(__getitem__)
258 In·[16]:·%%cython260 In·[16]:·%%cython
259 ···....:·cimport·cython261 ···....:·cimport·cython
260 ···....:·cimport·numpy·as·np262 ···....:·cimport·numpy·as·np
261 ···....:·import·numpy·as·np263 ···....:·import·numpy·as·np
262 ···....:·cdef·np.float64_t·f_typed(np.float64_t·x)·except?·-2:264 ···....:·cdef·np.float64_t·f_typed(np.float64_t·x)·except?·-2:
263 ···....:·····return·x·*·(x·-·1)265 ···....:·····return·x·*·(x·-·1)
Offset 646, 17 lines modifiedOffset 648, 17 lines modified
646 The·'numexpr'·engine·is·the·more·performant·engine·that·can·yield·performance648 The·'numexpr'·engine·is·the·more·performant·engine·that·can·yield·performance
647 improvements·compared·to·standard·Python·syntax·for·large·_\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e.·This649 improvements·compared·to·standard·Python·syntax·for·large·_\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e.·This
648 engine·requires·the·optional·dependency·numexpr·to·be·installed.650 engine·requires·the·optional·dependency·numexpr·to·be·installed.
649 The·'python'·engine·is·generally·n\x8no\x8ot\x8t·useful·except·for·testing·other·evaluation651 The·'python'·engine·is·generally·n\x8no\x8ot\x8t·useful·except·for·testing·other·evaluation
650 engines·against·it.·You·will·achieve·n\x8no\x8o·performance·benefits·using·_\x8e_\x8v_\x8a_\x8l_\x8(_\x8)·with652 engines·against·it.·You·will·achieve·n\x8no\x8o·performance·benefits·using·_\x8e_\x8v_\x8a_\x8l_\x8(_\x8)·with
651 engine='python'·and·may·incur·a·performance·hit.653 engine='python'·and·may·incur·a·performance·hit.
652 In·[40]:·%timeit·df1·+·df2·+·df3·+·df4654 In·[40]:·%timeit·df1·+·df2·+·df3·+·df4
Max diff block lines reached; 2549/10276 bytes (24.81%) of diff not shown.
5.37 KB
./usr/share/doc/python-pandas-doc/html/user_guide/pyarrow.html
    
Offset 986, 19 lines modifiedOffset 986, 26 lines modified
986 <span·class="n">Cell</span>·<span·class="n">In</span><span·class="p">[</span><span·class="mi">33</span><span·class="p">],</span>·<span·class="n">line</span>·<span·class="mi">1</span>986 <span·class="n">Cell</span>·<span·class="n">In</span><span·class="p">[</span><span·class="mi">33</span><span·class="p">],</span>·<span·class="n">line</span>·<span·class="mi">1</span>
987 <span·class="ne">----&gt;·</span><span·class="mi">1</span>·<span·class="n">table</span>·<span·class="o">=</span>·<span·class="n">pa</span><span·class="o">.</span><span·class="n">table</span><span·class="p">([</span><span·class="n">pa</span><span·class="o">.</span><span·class="n">array</span><span·class="p">([</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">,</span>·<span·class="mi">3</span><span·class="p">],</span>·<span·class="nb">type</span><span·class="o">=</span><span·class="n">pa</span><span·class="o">.</span><span·class="n">int64</span><span·class="p">())],</span>·<span·class="n">names</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;a&quot;</span><span·class="p">])</span>987 <span·class="ne">----&gt;·</span><span·class="mi">1</span>·<span·class="n">table</span>·<span·class="o">=</span>·<span·class="n">pa</span><span·class="o">.</span><span·class="n">table</span><span·class="p">([</span><span·class="n">pa</span><span·class="o">.</span><span·class="n">array</span><span·class="p">([</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">,</span>·<span·class="mi">3</span><span·class="p">],</span>·<span·class="nb">type</span><span·class="o">=</span><span·class="n">pa</span><span·class="o">.</span><span·class="n">int64</span><span·class="p">())],</span>·<span·class="n">names</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;a&quot;</span><span·class="p">])</span>
  
988 <span·class="ne">NameError</span>:·name·&#39;pa&#39;·is·not·defined988 <span·class="ne">NameError</span>:·name·&#39;pa&#39;·is·not·defined
  
989 <span·class="gp">In·[34]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">table</span><span·class="o">.</span><span·class="n">to_pandas</span><span·class="p">(</span><span·class="n">types_mapper</span><span·class="o">=</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">ArrowDtype</span><span·class="p">)</span>989 <span·class="gp">In·[34]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">table</span><span·class="o">.</span><span·class="n">to_pandas</span><span·class="p">(</span><span·class="n">types_mapper</span><span·class="o">=</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">ArrowDtype</span><span·class="p">)</span>
990 <span·class="gt">---------------------------------------------------------------------------</span>990 <span·class="gt">---------------------------------------------------------------------------</span>
991 <span·class="ne">NameError</span><span·class="g·g-Whitespace">·································</span>Traceback·(most·recent·call·last)991 <span·class="ne">AttributeError</span><span·class="g·g-Whitespace">····························</span>Traceback·(most·recent·call·last)
992 <span·class="n">Cell</span>·<span·class="n">In</span><span·class="p">[</span><span·class="mi">34</span><span·class="p">],</span>·<span·class="n">line</span>·<span·class="mi">1</span>992 <span·class="nn">&lt;ipython-input-34-64ec62289cb4&gt;</span>·in·<span·class="ni">?</span><span·class="nt">()</span>
993 <span·class="ne">----&gt;·</span><span·class="mi">1</span>·<span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">table</span><span·class="o">.</span><span·class="n">to_pandas</span><span·class="p">(</span><span·class="n">types_mapper</span><span·class="o">=</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">ArrowDtype</span><span·class="p">)</span>993 <span·class="ne">----&gt;·</span><span·class="mi">1</span>·<span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">table</span><span·class="o">.</span><span·class="n">to_pandas</span><span·class="p">(</span><span·class="n">types_mapper</span><span·class="o">=</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">ArrowDtype</span><span·class="p">)</span>
  
994 <span·class="ne">NameError</span>:·name·&#39;table&#39;·is·not·defined994 <span·class="nn">/usr/lib/python3/dist-packages/pandas/core/generic.py</span>·in·<span·class="ni">?</span><span·class="nt">(self,·name)</span>
 995 <span·class="g·g-Whitespace">···</span><span·class="mi">6295</span>·············<span·class="ow">and</span>·<span·class="n">name</span>·<span·class="ow">not</span>·<span·class="ow">in</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_accessors</span>
 996 <span·class="g·g-Whitespace">···</span><span·class="mi">6296</span>·············<span·class="ow">and</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_info_axis</span><span·class="o">.</span><span·class="n">_can_hold_identifiers_and_holds_name</span><span·class="p">(</span><span·class="n">name</span><span·class="p">)</span>
 997 <span·class="g·g-Whitespace">···</span><span·class="mi">6297</span>·········<span·class="p">):</span>
 998 <span·class="g·g-Whitespace">···</span><span·class="mi">6298</span>·············<span·class="k">return</span>·<span·class="bp">self</span><span·class="p">[</span><span·class="n">name</span><span·class="p">]</span>
 999 <span·class="ne">-&gt;·</span><span·class="mi">6299</span>·········<span·class="k">return</span>·<span·class="nb">object</span><span·class="o">.</span><span·class="fm">__getattribute__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">name</span><span·class="p">)</span>
  
 1000 <span·class="ne">AttributeError</span>:·&#39;DataFrame&#39;·object·has·no·attribute·&#39;to_pandas&#39;
  
995 <span·class="gp">In·[35]:·</span><span·class="n">df</span>1001 <span·class="gp">In·[35]:·</span><span·class="n">df</span>
996 <span·class="gh">Out[35]:·</span>1002 <span·class="gh">Out[35]:·</span>
997 <span·class="go">·····a····b</span>1003 <span·class="go">·····a····b</span>
998 <span·class="go">0··xxx··yyy</span>1004 <span·class="go">0··xxx··yyy</span>
999 <span·class="go">1···¡¡···¡¡</span>1005 <span·class="go">1···¡¡···¡¡</span>
  
1.08 KB
html2text {}
    
Offset 526, 19 lines modifiedOffset 526, 27 lines modified
526 Cell·In[33],·line·1526 Cell·In[33],·line·1
527 ---->·1·table·=·pa.table([pa.array([1,·2,·3],·type=pa.int64())],·names=["a"])527 ---->·1·table·=·pa.table([pa.array([1,·2,·3],·type=pa.int64())],·names=["a"])
  
528 NameError:·name·'pa'·is·not·defined528 NameError:·name·'pa'·is·not·defined
  
529 In·[34]:·df·=·table.to_pandas(types_mapper=pd.ArrowDtype)529 In·[34]:·df·=·table.to_pandas(types_mapper=pd.ArrowDtype)
530 ---------------------------------------------------------------------------530 ---------------------------------------------------------------------------
531 NameError·································Traceback·(most·recent·call·last)531 AttributeError····························Traceback·(most·recent·call·last)
532 Cell·In[34],·line·1532 <ipython-input-34-64ec62289cb4>·in·?()
533 ---->·1·df·=·table.to_pandas(types_mapper=pd.ArrowDtype)533 ---->·1·df·=·table.to_pandas(types_mapper=pd.ArrowDtype)
  
534 NameError:·name·'table'·is·not·defined534 /usr/lib/python3/dist-packages/pandas/core/generic.py·in·?(self,·name)
 535 ···6295·············and·name·not·in·self._accessors
 536 ···6296·············and·self._info_axis._can_hold_identifiers_and_holds_name
 537 (name)
 538 ···6297·········):
 539 ···6298·············return·self[name]
 540 ->·6299·········return·object.__getattribute__(self,·name)
  
 541 AttributeError:·'DataFrame'·object·has·no·attribute·'to_pandas'
  
535 In·[35]:·df542 In·[35]:·df
536 Out[35]:543 Out[35]:
537 ·····a····b544 ·····a····b
538 0··xxx··yyy545 0··xxx··yyy
539 1···¡¡···¡¡546 1···¡¡···¡¡
  
4.06 KB
./usr/share/doc/python-pandas-doc/html/user_guide/scale.html
    
Offset 1086, 16 lines modifiedOffset 1086, 16 lines modified
1086 <span·class="gp">···....:·</span><span·class="n">files</span>·<span·class="o">=</span>·<span·class="n">pathlib</span><span·class="o">.</span><span·class="n">Path</span><span·class="p">(</span><span·class="s2">&quot;data/timeseries/&quot;</span><span·class="p">)</span><span·class="o">.</span><span·class="n">glob</span><span·class="p">(</span><span·class="s2">&quot;ts*.parquet&quot;</span><span·class="p">)</span>1086 <span·class="gp">···....:·</span><span·class="n">files</span>·<span·class="o">=</span>·<span·class="n">pathlib</span><span·class="o">.</span><span·class="n">Path</span><span·class="p">(</span><span·class="s2">&quot;data/timeseries/&quot;</span><span·class="p">)</span><span·class="o">.</span><span·class="n">glob</span><span·class="p">(</span><span·class="s2">&quot;ts*.parquet&quot;</span><span·class="p">)</span>
1087 <span·class="gp">···....:·</span><span·class="n">counts</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">dtype</span><span·class="o">=</span><span·class="nb">int</span><span·class="p">)</span>1087 <span·class="gp">···....:·</span><span·class="n">counts</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">dtype</span><span·class="o">=</span><span·class="nb">int</span><span·class="p">)</span>
1088 <span·class="gp">···....:·</span><span·class="k">for</span>·<span·class="n">path</span>·<span·class="ow">in</span>·<span·class="n">files</span><span·class="p">:</span>1088 <span·class="gp">···....:·</span><span·class="k">for</span>·<span·class="n">path</span>·<span·class="ow">in</span>·<span·class="n">files</span><span·class="p">:</span>
1089 <span·class="gp">···....:·</span>····<span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">read_parquet</span><span·class="p">(</span><span·class="n">path</span><span·class="p">)</span>1089 <span·class="gp">···....:·</span>····<span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">read_parquet</span><span·class="p">(</span><span·class="n">path</span><span·class="p">)</span>
1090 <span·class="gp">···....:·</span>····<span·class="n">counts</span>·<span·class="o">=</span>·<span·class="n">counts</span><span·class="o">.</span><span·class="n">add</span><span·class="p">(</span><span·class="n">df</span><span·class="p">[</span><span·class="s2">&quot;name&quot;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">value_counts</span><span·class="p">(),</span>·<span·class="n">fill_value</span><span·class="o">=</span><span·class="mi">0</span><span·class="p">)</span>1090 <span·class="gp">···....:·</span>····<span·class="n">counts</span>·<span·class="o">=</span>·<span·class="n">counts</span><span·class="o">.</span><span·class="n">add</span><span·class="p">(</span><span·class="n">df</span><span·class="p">[</span><span·class="s2">&quot;name&quot;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">value_counts</span><span·class="p">(),</span>·<span·class="n">fill_value</span><span·class="o">=</span><span·class="mi">0</span><span·class="p">)</span>
1091 <span·class="gp">···....:·</span><span·class="n">counts</span><span·class="o">.</span><span·class="n">astype</span><span·class="p">(</span><span·class="nb">int</span><span·class="p">)</span>1091 <span·class="gp">···....:·</span><span·class="n">counts</span><span·class="o">.</span><span·class="n">astype</span><span·class="p">(</span><span·class="nb">int</span><span·class="p">)</span>
1092 <span·class="gp">···....:·</span>1092 <span·class="gp">···....:·</span>
1093 <span·class="go">CPU·times:·user·595·us,·sys:·0·ns,·total:·595·us</span>1093 <span·class="go">CPU·times:·user·960·us,·sys:·0·ns,·total:·960·us</span>
1094 <span·class="go">Wall·time:·601·us</span>1094 <span·class="go">Wall·time:·971·us</span>
1095 <span·class="gh">Out[32]:·</span><span·class="go">Series([],·dtype:·int32)</span>1095 <span·class="gh">Out[32]:·</span><span·class="go">Series([],·dtype:·int32)</span>
1096 </pre></div>1096 </pre></div>
1097 </div>1097 </div>
1098 <p>Some·readers,·like·<a·class="reference·internal"·href="../reference/api/pandas.read_csv.html#pandas.read_csv"·title="pandas.read_csv"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">pandas.read_csv()</span></code></a>,·offer·parameters·to·control·the1098 <p>Some·readers,·like·<a·class="reference·internal"·href="../reference/api/pandas.read_csv.html#pandas.read_csv"·title="pandas.read_csv"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">pandas.read_csv()</span></code></a>,·offer·parameters·to·control·the
1099 <code·class="docutils·literal·notranslate"><span·class="pre">chunksize</span></code>·when·reading·a·single·file.</p>1099 <code·class="docutils·literal·notranslate"><span·class="pre">chunksize</span></code>·when·reading·a·single·file.</p>
1100 <p>Manually·chunking·is·an·OK·option·for·workflows·that·don’t1100 <p>Manually·chunking·is·an·OK·option·for·workflows·that·don’t
1101 require·too·sophisticated·of·operations.·Some·operations,·like·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby"·title="pandas.DataFrame.groupby"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">pandas.DataFrame.groupby()</span></code></a>,·are1101 require·too·sophisticated·of·operations.·Some·operations,·like·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.groupby.html#pandas.DataFrame.groupby"·title="pandas.DataFrame.groupby"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">pandas.DataFrame.groupby()</span></code></a>,·are
1020 B
html2text {}
    
Offset 644, 16 lines modifiedOffset 644, 16 lines modified
644 ···....:·files·=·pathlib.Path("data/timeseries/").glob("ts*.parquet")644 ···....:·files·=·pathlib.Path("data/timeseries/").glob("ts*.parquet")
645 ···....:·counts·=·pd.Series(dtype=int)645 ···....:·counts·=·pd.Series(dtype=int)
646 ···....:·for·path·in·files:646 ···....:·for·path·in·files:
647 ···....:·····df·=·pd.read_parquet(path)647 ···....:·····df·=·pd.read_parquet(path)
648 ···....:·····counts·=·counts.add(df["name"].value_counts(),·fill_value=0)648 ···....:·····counts·=·counts.add(df["name"].value_counts(),·fill_value=0)
649 ···....:·counts.astype(int)649 ···....:·counts.astype(int)
650 ···....:650 ···....:
651 CPU·times:·user·595·us,·sys:·0·ns,·total:·595·us651 CPU·times:·user·960·us,·sys:·0·ns,·total:·960·us
652 Wall·time:·601·us652 Wall·time:·971·us
653 Out[32]:·Series([],·dtype:·int32)653 Out[32]:·Series([],·dtype:·int32)
654 Some·readers,·like·_\x8p_\x8a_\x8n_\x8d_\x8a_\x8s_\x8._\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8s_\x8v_\x8(_\x8),·offer·parameters·to·control·the·chunksize654 Some·readers,·like·_\x8p_\x8a_\x8n_\x8d_\x8a_\x8s_\x8._\x8r_\x8e_\x8a_\x8d_\x8__\x8c_\x8s_\x8v_\x8(_\x8),·offer·parameters·to·control·the·chunksize
655 when·reading·a·single·file.655 when·reading·a·single·file.
656 Manually·chunking·is·an·OK·option·for·workflows·that·don’t·require·too656 Manually·chunking·is·an·OK·option·for·workflows·that·don’t·require·too
657 sophisticated·of·operations.·Some·operations,·like·_\x8p_\x8a_\x8n_\x8d_\x8a_\x8s_\x8._\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e_\x8._\x8g_\x8r_\x8o_\x8u_\x8p_\x8b_\x8y_\x8(_\x8),657 sophisticated·of·operations.·Some·operations,·like·_\x8p_\x8a_\x8n_\x8d_\x8a_\x8s_\x8._\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e_\x8._\x8g_\x8r_\x8o_\x8u_\x8p_\x8b_\x8y_\x8(_\x8),
658 are·much·harder·to·do·chunkwise.·In·these·cases,·you·may·be·better·switching·to658 are·much·harder·to·do·chunkwise.·In·these·cases,·you·may·be·better·switching·to
659 a·different·library·that·implements·these·out-of-core·algorithms·for·you.659 a·different·library·that·implements·these·out-of-core·algorithms·for·you.
89.1 KB
./usr/share/doc/python-pandas-doc/html/user_guide/style.ipynb.gz
88.9 KB
style.ipynb
88.9 KB
Pretty-printed
Similarity: 0.9985610875706213% Differences: {"'cells'": "{1: {'metadata': {'execution': {'iopub.execute_input': '2025-02-07T20:54:16.552859Z', " "'iopub.status.busy': '2025-02-07T20:54:16.552451Z', 'iopub.status.idle': " "'2025-02-07T20:54:18.442922Z', 'shell.execute_reply': " "'2025-02-07T20:54:18.442092Z'}}}, 3: {'metadata': {'execution': " "{'iopub.execute_input': '2025-02-07T20:54:18.446880Z', 'iopub.status.busy': " "'2025-02-07T20:54:18.446470Z', 'iopub.status.idle': '2025-02-07T20:54:2 […]
    
Offset 39, 18 lines modifiedOffset 39, 18 lines modified
39 ············]39 ············]
40 ········},40 ········},
41 ········{41 ········{
42 ············"cell_type":·"code",42 ············"cell_type":·"code",
43 ············"execution_count":·1,43 ············"execution_count":·1,
44 ············"metadata":·{44 ············"metadata":·{
45 ················"execution":·{45 ················"execution":·{
46 ····················"iopub.execute_input":·"2026-03-13T06:59:48.318246Z",46 ····················"iopub.execute_input":·"2025-02-07T20:54:16.552859Z",
47 ····················"iopub.status.busy":·"2026-03-13T06:59:48.318010Z",47 ····················"iopub.status.busy":·"2025-02-07T20:54:16.552451Z",
48 ····················"iopub.status.idle":·"2026-03-13T06:59:48.751525Z",48 ····················"iopub.status.idle":·"2025-02-07T20:54:18.442922Z",
49 ····················"shell.execute_reply":·"2026-03-13T06:59:48.750812Z"49 ····················"shell.execute_reply":·"2025-02-07T20:54:18.442092Z"
50 ················},50 ················},
51 ················"nbsphinx":·"hidden"51 ················"nbsphinx":·"hidden"
52 ············},52 ············},
53 ············"outputs":·[],53 ············"outputs":·[],
54 ············"source":·[54 ············"source":·[
55 ················"import·matplotlib.pyplot\n",55 ················"import·matplotlib.pyplot\n",
56 ················"#·We·have·this·here·to·trigger·matplotlib's·font·cache·stuff.\n",56 ················"#·We·have·this·here·to·trigger·matplotlib's·font·cache·stuff.\n",
Offset 77, 36 lines modifiedOffset 77, 36 lines modified
77 ············]77 ············]
78 ········},78 ········},
79 ········{79 ········{
80 ············"cell_type":·"code",80 ············"cell_type":·"code",
81 ············"execution_count":·2,81 ············"execution_count":·2,
82 ············"metadata":·{82 ············"metadata":·{
83 ················"execution":·{83 ················"execution":·{
84 ····················"iopub.execute_input":·"2026-03-13T06:59:48.754634Z",84 ····················"iopub.execute_input":·"2025-02-07T20:54:18.446880Z",
85 ····················"iopub.status.busy":·"2026-03-13T06:59:48.754297Z",85 ····················"iopub.status.busy":·"2025-02-07T20:54:18.446470Z",
86 ····················"iopub.status.idle":·"2026-03-13T06:59:49.018604Z",86 ····················"iopub.status.idle":·"2025-02-07T20:54:20.856915Z",
87 ····················"shell.execute_reply":·"2026-03-13T06:59:49.018024Z"87 ····················"shell.execute_reply":·"2025-02-07T20:54:20.855684Z"
88 ················}88 ················}
89 ············},89 ············},
90 ············"outputs":·[],90 ············"outputs":·[],
91 ············"source":·[91 ············"source":·[
92 ················"import·pandas·as·pd\n",92 ················"import·pandas·as·pd\n",
93 ················"import·numpy·as·np\n",93 ················"import·numpy·as·np\n",
94 ················"import·matplotlib·as·mpl\n"94 ················"import·matplotlib·as·mpl\n"
95 ············]95 ············]
96 ········},96 ········},
97 ········{97 ········{
98 ············"cell_type":·"code",98 ············"cell_type":·"code",
99 ············"execution_count":·3,99 ············"execution_count":·3,
100 ············"metadata":·{100 ············"metadata":·{
101 ················"execution":·{101 ················"execution":·{
102 ····················"iopub.execute_input":·"2026-03-13T06:59:49.021503Z",102 ····················"iopub.execute_input":·"2025-02-07T20:54:20.860745Z",
103 ····················"iopub.status.busy":·"2026-03-13T06:59:49.021180Z",103 ····················"iopub.status.busy":·"2025-02-07T20:54:20.860182Z",
104 ····················"iopub.status.idle":·"2026-03-13T06:59:49.133038Z",104 ····················"iopub.status.idle":·"2025-02-07T20:54:21.196932Z",
105 ····················"shell.execute_reply":·"2026-03-13T06:59:49.132438Z"105 ····················"shell.execute_reply":·"2025-02-07T20:54:21.195753Z"
106 ················},106 ················},
107 ················"nbsphinx":·"hidden"107 ················"nbsphinx":·"hidden"
108 ············},108 ············},
109 ············"outputs":·[],109 ············"outputs":·[],
110 ············"source":·[110 ············"source":·[
111 ················"#·For·reproducibility·-·this·doesn't·respect·uuid_len·or·positionally-passed·uuid·but·the·places·here·that·use·that·coincidentally·bypass·this·anyway\n",111 ················"#·For·reproducibility·-·this·doesn't·respect·uuid_len·or·positionally-passed·uuid·but·the·places·here·that·use·that·coincidentally·bypass·this·anyway\n",
112 ················"from·pandas.io.formats.style·import·Styler\n",112 ················"from·pandas.io.formats.style·import·Styler\n",
Offset 123, 18 lines modifiedOffset 123, 18 lines modified
123 ············]123 ············]
124 ········},124 ········},
125 ········{125 ········{
126 ············"cell_type":·"code",126 ············"cell_type":·"code",
127 ············"execution_count":·4,127 ············"execution_count":·4,
128 ············"metadata":·{128 ············"metadata":·{
129 ················"execution":·{129 ················"execution":·{
130 ····················"iopub.execute_input":·"2026-03-13T06:59:49.135729Z",130 ····················"iopub.execute_input":·"2025-02-07T20:54:21.201717Z",
131 ····················"iopub.status.busy":·"2026-03-13T06:59:49.135435Z",131 ····················"iopub.status.busy":·"2025-02-07T20:54:21.201184Z",
132 ····················"iopub.status.idle":·"2026-03-13T06:59:49.145087Z",132 ····················"iopub.status.idle":·"2025-02-07T20:54:21.221163Z",
133 ····················"shell.execute_reply":·"2026-03-13T06:59:49.144549Z"133 ····················"shell.execute_reply":·"2025-02-07T20:54:21.219979Z"
134 ················}134 ················}
135 ············},135 ············},
136 ············"outputs":·[136 ············"outputs":·[
137 ················{137 ················{
138 ····················"data":·{138 ····················"data":·{
139 ························"text/html":·[139 ························"text/html":·[
140 ····························"<style·type=\"text/css\">\n",140 ····························"<style·type=\"text/css\">\n",
Offset 193, 18 lines modifiedOffset 193, 18 lines modified
193 ············]193 ············]
194 ········},194 ········},
195 ········{195 ········{
196 ············"cell_type":·"code",196 ············"cell_type":·"code",
197 ············"execution_count":·5,197 ············"execution_count":·5,
198 ············"metadata":·{198 ············"metadata":·{
199 ················"execution":·{199 ················"execution":·{
200 ····················"iopub.execute_input":·"2026-03-13T06:59:49.192607Z",200 ····················"iopub.execute_input":·"2025-02-07T20:54:21.313712Z",
201 ····················"iopub.status.busy":·"2026-03-13T06:59:49.192315Z",201 ····················"iopub.status.busy":·"2025-02-07T20:54:21.313290Z",
202 ····················"iopub.status.idle":·"2026-03-13T06:59:49.203751Z",202 ····················"iopub.status.idle":·"2025-02-07T20:54:21.334068Z",
203 ····················"shell.execute_reply":·"2026-03-13T06:59:49.203232Z"203 ····················"shell.execute_reply":·"2025-02-07T20:54:21.333107Z"
204 ················}204 ················}
205 ············},205 ············},
206 ············"outputs":·[206 ············"outputs":·[
207 ················{207 ················{
208 ····················"data":·{208 ····················"data":·{
209 ························"text/html":·[209 ························"text/html":·[
210 ····························"<div>\n",210 ····························"<div>\n",
Offset 327, 18 lines modifiedOffset 327, 18 lines modified
327 ············]327 ············]
328 ········},328 ········},
329 ········{329 ········{
330 ············"cell_type":·"code",330 ············"cell_type":·"code",
331 ············"execution_count":·6,331 ············"execution_count":·6,
332 ············"metadata":·{332 ············"metadata":·{
333 ················"execution":·{333 ················"execution":·{
334 ····················"iopub.execute_input":·"2026-03-13T06:59:49.205902Z",334 ····················"iopub.execute_input":·"2025-02-07T20:54:21.338271Z",
335 ····················"iopub.status.busy":·"2026-03-13T06:59:49.205660Z",335 ····················"iopub.status.busy":·"2025-02-07T20:54:21.337841Z",
336 ····················"iopub.status.idle":·"2026-03-13T06:59:49.217342Z",336 ····················"iopub.status.idle":·"2025-02-07T20:54:21.357864Z",
337 ····················"shell.execute_reply":·"2026-03-13T06:59:49.216825Z"337 ····················"shell.execute_reply":·"2025-02-07T20:54:21.356477Z"
338 ················}338 ················}
339 ············},339 ············},
340 ············"outputs":·[340 ············"outputs":·[
341 ················{341 ················{
342 ····················"data":·{342 ····················"data":·{
343 ························"text/html":·[343 ························"text/html":·[
344 ····························"<style·type=\"text/css\">\n",344 ····························"<style·type=\"text/css\">\n",
Offset 448, 18 lines modifiedOffset 448, 18 lines modified
448 ············]448 ············]
449 ········},449 ········},
450 ········{450 ········{
451 ············"cell_type":·"code",451 ············"cell_type":·"code",
452 ············"execution_count":·7,452 ············"execution_count":·7,
453 ············"metadata":·{453 ············"metadata":·{
454 ················"execution":·{454 ················"execution":·{
455 ····················"iopub.execute_input":·"2026-03-13T06:59:49.219419Z",455 ····················"iopub.execute_input":·"2025-02-07T20:54:21.361039Z",
456 ····················"iopub.status.busy":·"2026-03-13T06:59:49.219167Z",456 ····················"iopub.status.busy":·"2025-02-07T20:54:21.360612Z",
457 ····················"iopub.status.idle":·"2026-03-13T06:59:49.226538Z",457 ····················"iopub.status.idle":·"2025-02-07T20:54:21.375805Z",
458 ····················"shell.execute_reply":·"2026-03-13T06:59:49.226035Z"458 ····················"shell.execute_reply":·"2025-02-07T20:54:21.374881Z"
459 ················}459 ················}
460 ············},460 ············},
461 ············"outputs":·[461 ············"outputs":·[
Max diff block lines reached; 83518/90470 bytes (92.32%) of diff not shown.
3.74 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.13.0.html
    
Offset 1613, 20 lines modifiedOffset 1613, 20 lines modified
1613 <span·class="gp">In·[94]:·</span><span·class="n">df1</span><span·class="p">,</span>·<span·class="n">df2</span><span·class="p">,</span>·<span·class="n">df3</span><span·class="p">,</span>·<span·class="n">df4</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">DataFrame</span><span·class="p">(</span><span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">randn</span><span·class="p">(</span><span·class="n">nrows</span><span·class="p">,</span>·<span·class="n">ncols</span><span·class="p">))</span>1613 <span·class="gp">In·[94]:·</span><span·class="n">df1</span><span·class="p">,</span>·<span·class="n">df2</span><span·class="p">,</span>·<span·class="n">df3</span><span·class="p">,</span>·<span·class="n">df4</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">DataFrame</span><span·class="p">(</span><span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">randn</span><span·class="p">(</span><span·class="n">nrows</span><span·class="p">,</span>·<span·class="n">ncols</span><span·class="p">))</span>
1614 <span·class="gp">···....:·</span>······················<span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">4</span><span·class="p">)]</span>1614 <span·class="gp">···....:·</span>······················<span·class="k">for</span>·<span·class="n">_</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">4</span><span·class="p">)]</span>
1615 <span·class="gp">···....:·</span>1615 <span·class="gp">···....:·</span>
1616 </pre></div>1616 </pre></div>
1617 </div>1617 </div>
1618 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·eval·with·NumExpr·backend</span>1618 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·eval·with·NumExpr·backend</span>
1619 <span·class="gp">In·[95]:·</span><span·class="o">%</span><span·class="k">timeit</span>·pd.eval(&#39;df1·+·df2·+·df3·+·df4&#39;)1619 <span·class="gp">In·[95]:·</span><span·class="o">%</span><span·class="k">timeit</span>·pd.eval(&#39;df1·+·df2·+·df3·+·df4&#39;)
1620 <span·class="go">11.3·ms·+-·2.08·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span>1620 <span·class="go">310·ms·+-·56.6·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span>
1621 </pre></div>1621 </pre></div>
1622 </div>1622 </div>
1623 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·pure·Python·evaluation</span>1623 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·pure·Python·evaluation</span>
1624 <span·class="gp">In·[96]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df1·+·df2·+·df3·+·df41624 <span·class="gp">In·[96]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df1·+·df2·+·df3·+·df4
1625 <span·class="go">15.2·ms·+-·230·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·100·loops·each)</span>1625 <span·class="go">1.37·s·+-·311·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)</span>
1626 </pre></div>1626 </pre></div>
1627 </div>1627 </div>
1628 <p>For·more·details,·see·the·<a·class="reference·internal"·href="../user_guide/enhancingperf.html#enhancingperf-eval"><span·class="std·std-ref">the·docs</span></a></p>1628 <p>For·more·details,·see·the·<a·class="reference·internal"·href="../user_guide/enhancingperf.html#enhancingperf-eval"><span·class="std·std-ref">the·docs</span></a></p>
1629 </li>1629 </li>
1630 <li><p>Similar·to·<code·class="docutils·literal·notranslate"><span·class="pre">pandas.eval</span></code>,·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.html#pandas.DataFrame"·title="pandas.DataFrame"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">DataFrame</span></code></a>·has·a·new1630 <li><p>Similar·to·<code·class="docutils·literal·notranslate"><span·class="pre">pandas.eval</span></code>,·<a·class="reference·internal"·href="../reference/api/pandas.DataFrame.html#pandas.DataFrame"·title="pandas.DataFrame"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">DataFrame</span></code></a>·has·a·new
1631 <code·class="docutils·literal·notranslate"><span·class="pre">DataFrame.eval</span></code>·method·that·evaluates·an·expression·in·the·context·of1631 <code·class="docutils·literal·notranslate"><span·class="pre">DataFrame.eval</span></code>·method·that·evaluates·an·expression·in·the·context·of
1632 the·<code·class="docutils·literal·notranslate"><span·class="pre">DataFrame</span></code>.·For·example,</p>1632 the·<code·class="docutils·literal·notranslate"><span·class="pre">DataFrame</span></code>.·For·example,</p>
1.03 KB
html2text {}
    
Offset 965, 18 lines modifiedOffset 965, 18 lines modified
  
965 ······In·[94]:·df1,·df2,·df3,·df4·=·[pd.DataFrame(np.random.randn(nrows,965 ······In·[94]:·df1,·df2,·df3,·df4·=·[pd.DataFrame(np.random.randn(nrows,
966 ······ncols))966 ······ncols))
967 ·········....:·······················for·_·in·range(4)]967 ·········....:·······················for·_·in·range(4)]
968 ·········....:968 ·········....:
969 ······#·eval·with·NumExpr·backend969 ······#·eval·with·NumExpr·backend
970 ······In·[95]:·%timeit·pd.eval('df1·+·df2·+·df3·+·df4')970 ······In·[95]:·%timeit·pd.eval('df1·+·df2·+·df3·+·df4')
971 ······11.3·ms·+-·2.08·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)971 ······310·ms·+-·56.6·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)
972 ······#·pure·Python·evaluation972 ······#·pure·Python·evaluation
973 ······In·[96]:·%timeit·df1·+·df2·+·df3·+·df4973 ······In·[96]:·%timeit·df1·+·df2·+·df3·+·df4
974 ······15.2·ms·+-·230·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·100·loops·each)974 ······1.37·s·+-·311·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each)
975 ······For·more·details,·see·the·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8s975 ······For·more·details,·see·the·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8s
976 ····*·Similar·to·pandas.eval,·_\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e·has·a·new·DataFrame.eval·method·that976 ····*·Similar·to·pandas.eval,·_\x8D_\x8a_\x8t_\x8a_\x8F_\x8r_\x8a_\x8m_\x8e·has·a·new·DataFrame.eval·method·that
977 ······evaluates·an·expression·in·the·context·of·the·DataFrame.·For·example,977 ······evaluates·an·expression·in·the·context·of·the·DataFrame.·For·example,
978 ······In·[97]:·df·=·pd.DataFrame(np.random.randn(10,·2),·columns=['a',·'b'])978 ······In·[97]:·df·=·pd.DataFrame(np.random.randn(10,·2),·columns=['a',·'b'])
  
979 ······In·[98]:·df.eval('a·+·b')979 ······In·[98]:·df.eval('a·+·b')
980 ······Out[98]:980 ······Out[98]:
16.9 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.16.1.html
    
Offset 821, 64 lines modifiedOffset 821, 62 lines modified
821 facilitate·replication.·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/2419">GH·2419</a>)</p>821 facilitate·replication.·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/2419">GH·2419</a>)</p>
822 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[1]:·</span><span·class="n">example_series</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">,</span>·<span·class="mi">3</span><span·class="p">,</span>·<span·class="mi">4</span><span·class="p">,</span>·<span·class="mi">5</span><span·class="p">])</span>822 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[1]:·</span><span·class="n">example_series</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">,</span>·<span·class="mi">3</span><span·class="p">,</span>·<span·class="mi">4</span><span·class="p">,</span>·<span·class="mi">5</span><span·class="p">])</span>
  
823 <span·class="go">#·When·no·arguments·are·passed,·returns·1</span>823 <span·class="go">#·When·no·arguments·are·passed,·returns·1</span>
824 <span·class="gp">In·[2]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">()</span>824 <span·class="gp">In·[2]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">()</span>
825 <span·class="gh">Out[2]:·</span>825 <span·class="gh">Out[2]:·</span>
826 <span·class="go">3····3</span>826 <span·class="go">3····3</span>
827 <span·class="go">Length:·1,·dtype:·int64</span>827 <span·class="go">dtype:·int64</span>
  
828 <span·class="go">#·One·may·specify·either·a·number·of·rows:</span>828 <span·class="go">#·One·may·specify·either·a·number·of·rows:</span>
829 <span·class="gp">In·[3]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">)</span>829 <span·class="gp">In·[3]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">)</span>
830 <span·class="gh">Out[3]:·</span>830 <span·class="gh">Out[3]:·</span>
831 <span·class="go">2····2</span>831 <span·class="go">2····2</span>
832 <span·class="go">1····1</span>832 <span·class="go">1····1</span>
833 <span·class="go">0····0</span>833 <span·class="go">0····0</span>
834 <span·class="go">Length:·3,·dtype:·int64</span>834 <span·class="go">dtype:·int64</span>
  
835 <span·class="go">#·Or·a·fraction·of·the·rows:</span>835 <span·class="go">#·Or·a·fraction·of·the·rows:</span>
836 <span·class="gp">In·[4]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">frac</span><span·class="o">=</span><span·class="mf">0.5</span><span·class="p">)</span>836 <span·class="gp">In·[4]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">frac</span><span·class="o">=</span><span·class="mf">0.5</span><span·class="p">)</span>
837 <span·class="gh">Out[4]:·</span>837 <span·class="gh">Out[4]:·</span>
838 <span·class="go">1····1</span>838 <span·class="go">1····1</span>
839 <span·class="go">5····5</span>839 <span·class="go">5····5</span>
840 <span·class="go">3····3</span>840 <span·class="go">3····3</span>
841 <span·class="go">Length:·3,·dtype:·int64</span>841 <span·class="go">dtype:·int64</span>
  
842 <span·class="go">#·weights·are·accepted.</span>842 <span·class="go">#·weights·are·accepted.</span>
843 <span·class="gp">In·[5]:·</span><span·class="n">example_weights</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="mf">0.2</span><span·class="p">,</span>·<span·class="mf">0.2</span><span·class="p">,</span>·<span·class="mf">0.2</span><span·class="p">,</span>·<span·class="mf">0.4</span><span·class="p">]</span>843 <span·class="gp">In·[5]:·</span><span·class="n">example_weights</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="mf">0.2</span><span·class="p">,</span>·<span·class="mf">0.2</span><span·class="p">,</span>·<span·class="mf">0.2</span><span·class="p">,</span>·<span·class="mf">0.4</span><span·class="p">]</span>
  
844 <span·class="gp">In·[6]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">weights</span><span·class="o">=</span><span·class="n">example_weights</span><span·class="p">)</span>844 <span·class="gp">In·[6]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">weights</span><span·class="o">=</span><span·class="n">example_weights</span><span·class="p">)</span>
845 <span·class="gh">Out[6]:·</span>845 <span·class="gh">Out[6]:·</span>
846 <span·class="go">2····2</span>846 <span·class="go">2····2</span>
847 <span·class="go">4····4</span>847 <span·class="go">4····4</span>
848 <span·class="go">3····3</span>848 <span·class="go">3····3</span>
849 <span·class="go">Length:·3,·dtype:·int64</span>849 <span·class="go">dtype:·int64</span>
  
850 <span·class="go">#·weights·will·also·be·normalized·if·they·do·not·sum·to·one,</span>850 <span·class="go">#·weights·will·also·be·normalized·if·they·do·not·sum·to·one,</span>
851 <span·class="go">#·and·missing·values·will·be·treated·as·zeros.</span>851 <span·class="go">#·and·missing·values·will·be·treated·as·zeros.</span>
852 <span·class="gp">In·[7]:·</span><span·class="n">example_weights2</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mf">0.5</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="kc">None</span><span·class="p">,</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">nan</span><span·class="p">]</span>852 <span·class="gp">In·[7]:·</span><span·class="n">example_weights2</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mf">0.5</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">,</span>·<span·class="kc">None</span><span·class="p">,</span>·<span·class="n">np</span><span·class="o">.</span><span·class="n">nan</span><span·class="p">]</span>
  
853 <span·class="gp">In·[8]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">weights</span><span·class="o">=</span><span·class="n">example_weights2</span><span·class="p">)</span>853 <span·class="gp">In·[8]:·</span><span·class="n">example_series</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">weights</span><span·class="o">=</span><span·class="n">example_weights2</span><span·class="p">)</span>
854 <span·class="gh">Out[8]:·</span>854 <span·class="gh">Out[8]:·</span>
855 <span·class="go">0····0</span>855 <span·class="go">0····0</span>
856 <span·class="go">Length:·1,·dtype:·int64</span>856 <span·class="go">dtype:·int64</span>
857 </pre></div>857 </pre></div>
858 </div>858 </div>
859 <p>When·applied·to·a·DataFrame,·one·may·pass·the·name·of·a·column·to·specify·sampling·weights859 <p>When·applied·to·a·DataFrame,·one·may·pass·the·name·of·a·column·to·specify·sampling·weights
860 when·sampling·from·rows.</p>860 when·sampling·from·rows.</p>
861 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[9]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">DataFrame</span><span·class="p">({</span><span·class="s2">&quot;col1&quot;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="mi">9</span><span·class="p">,</span>·<span·class="mi">8</span><span·class="p">,</span>·<span·class="mi">7</span><span·class="p">,</span>·<span·class="mi">6</span><span·class="p">],</span>·<span·class="s2">&quot;weight_column&quot;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="mf">0.5</span><span·class="p">,</span>·<span·class="mf">0.4</span><span·class="p">,</span>·<span·class="mf">0.1</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">]})</span>861 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[9]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">DataFrame</span><span·class="p">({</span><span·class="s2">&quot;col1&quot;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="mi">9</span><span·class="p">,</span>·<span·class="mi">8</span><span·class="p">,</span>·<span·class="mi">7</span><span·class="p">,</span>·<span·class="mi">6</span><span·class="p">],</span>·<span·class="s2">&quot;weight_column&quot;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="mf">0.5</span><span·class="p">,</span>·<span·class="mf">0.4</span><span·class="p">,</span>·<span·class="mf">0.1</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">]})</span>
  
862 <span·class="gp">In·[10]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">weights</span><span·class="o">=</span><span·class="s2">&quot;weight_column&quot;</span><span·class="p">)</span>862 <span·class="gp">In·[10]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">sample</span><span·class="p">(</span><span·class="n">n</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">,</span>·<span·class="n">weights</span><span·class="o">=</span><span·class="s2">&quot;weight_column&quot;</span><span·class="p">)</span>
863 <span·class="gh">Out[10]:·</span>863 <span·class="gh">Out[10]:·</span>
864 <span·class="go">···col1··weight_column</span>864 <span·class="go">···col1··weight_column</span>
865 <span·class="go">0·····9············0.5</span>865 <span·class="go">0·····9············0.5</span>
866 <span·class="go">1·····8············0.4</span>866 <span·class="go">1·····8············0.4</span>
867 <span·class="go">2·····7············0.1</span>867 <span·class="go">2·····7············0.1</span>
  
868 <span·class="go">[3·rows·x·2·columns]</span> 
869 </pre></div>868 </pre></div>
870 </div>869 </div>
871 </section>870 </section>
872 <section·id="string-methods-enhancements">871 <section·id="string-methods-enhancements">
873 <span·id="whatsnew-0161-enhancements-string"></span><h3>String·methods·enhancements<a·class="headerlink"·href="#string-methods-enhancements"·title="Link·to·this·heading">#</a></h3>872 <span·id="whatsnew-0161-enhancements-string"></span><h3>String·methods·enhancements<a·class="headerlink"·href="#string-methods-enhancements"·title="Link·to·this·heading">#</a></h3>
874 <p><a·class="reference·internal"·href="v0.16.0.html#whatsnew-0160-enhancements-string"><span·class="std·std-ref">Continuing·from·v0.16.0</span></a>,·the·following873 <p><a·class="reference·internal"·href="v0.16.0.html#whatsnew-0160-enhancements-string"><span·class="std·std-ref">Continuing·from·v0.16.0</span></a>,·the·following
875 enhancements·make·string·operations·easier·and·more·consistent·with·standard·python·string·operations.</p>874 enhancements·make·string·operations·easier·and·more·consistent·with·standard·python·string·operations.</p>
Offset 900, 24 lines modifiedOffset 898, 24 lines modified
  
900 <span·class="gp">In·[15]:·</span><span·class="n">s</span>898 <span·class="gp">In·[15]:·</span><span·class="n">s</span>
901 <span·class="gh">Out[15]:·</span>899 <span·class="gh">Out[15]:·</span>
902 <span·class="go">a1····0</span>900 <span·class="go">a1····0</span>
903 <span·class="go">a2····1</span>901 <span·class="go">a2····1</span>
904 <span·class="go">b1····2</span>902 <span·class="go">b1····2</span>
905 <span·class="go">b2····3</span>903 <span·class="go">b2····3</span>
906 <span·class="go">Length:·4,·dtype:·int64</span>904 <span·class="go">dtype:·int64</span>
  
907 <span·class="gp">In·[16]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">startswith</span><span·class="p">(</span><span·class="s2">&quot;a&quot;</span><span·class="p">)</span>905 <span·class="gp">In·[16]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">startswith</span><span·class="p">(</span><span·class="s2">&quot;a&quot;</span><span·class="p">)</span>
908 <span·class="gh">Out[16]:·</span><span·class="go">array([·True,··True,·False,·False])</span>906 <span·class="gh">Out[16]:·</span><span·class="go">array([·True,··True,·False,·False])</span>
  
909 <span·class="gp">In·[17]:·</span><span·class="n">s</span><span·class="p">[</span><span·class="n">s</span><span·class="o">.</span><span·class="n">index</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">startswith</span><span·class="p">(</span><span·class="s2">&quot;a&quot;</span><span·class="p">)]</span>907 <span·class="gp">In·[17]:·</span><span·class="n">s</span><span·class="p">[</span><span·class="n">s</span><span·class="o">.</span><span·class="n">index</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">startswith</span><span·class="p">(</span><span·class="s2">&quot;a&quot;</span><span·class="p">)]</span>
910 <span·class="gh">Out[17]:·</span>908 <span·class="gh">Out[17]:·</span>
911 <span·class="go">a1····0</span>909 <span·class="go">a1····0</span>
912 <span·class="go">a2····1</span>910 <span·class="go">a2····1</span>
913 <span·class="go">Length:·2,·dtype:·int64</span>911 <span·class="go">dtype:·int64</span>
914 </pre></div>912 </pre></div>
915 </div>913 </div>
916 </li>914 </li>
917 <li><p>The·following·new·methods·are·accessible·via·<code·class="docutils·literal·notranslate"><span·class="pre">.str</span></code>·accessor·to·apply·the·function·to·each·values.·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/9766">GH·9766</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/9773">GH·9773</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10031">GH·10031</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10045">GH·10045</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10052">GH·10052</a>)</p>915 <li><p>The·following·new·methods·are·accessible·via·<code·class="docutils·literal·notranslate"><span·class="pre">.str</span></code>·accessor·to·apply·the·function·to·each·values.·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/9766">GH·9766</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/9773">GH·9773</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10031">GH·10031</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10045">GH·10045</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10052">GH·10052</a>)</p>
918 <div·class="pst-scrollable-table-container"><table·class="table">916 <div·class="pst-scrollable-table-container"><table·class="table">
919 <thead>917 <thead>
920 <tr·class="row-odd"><th·class="head"></th>918 <tr·class="row-odd"><th·class="head"></th>
Offset 949, 26 lines modifiedOffset 947, 24 lines modified
  
949 <span·class="go">#·return·Series</span>947 <span·class="go">#·return·Series</span>
950 <span·class="gp">In·[19]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">split</span><span·class="p">(</span><span·class="s2">&quot;,&quot;</span><span·class="p">)</span>948 <span·class="gp">In·[19]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">split</span><span·class="p">(</span><span·class="s2">&quot;,&quot;</span><span·class="p">)</span>
951 <span·class="gh">Out[19]:·</span>949 <span·class="gh">Out[19]:·</span>
952 <span·class="go">0····[a,·b]</span>950 <span·class="go">0····[a,·b]</span>
953 <span·class="go">1····[a,·c]</span>951 <span·class="go">1····[a,·c]</span>
954 <span·class="go">2····[b,·c]</span>952 <span·class="go">2····[b,·c]</span>
955 <span·class="go">Length:·3,·dtype:·object</span>953 <span·class="go">dtype:·object</span>
  
956 <span·class="go">#·return·DataFrame</span>954 <span·class="go">#·return·DataFrame</span>
957 <span·class="gp">In·[20]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">split</span><span·class="p">(</span><span·class="s2">&quot;,&quot;</span><span·class="p">,</span>·<span·class="n">expand</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span>955 <span·class="gp">In·[20]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">split</span><span·class="p">(</span><span·class="s2">&quot;,&quot;</span><span·class="p">,</span>·<span·class="n">expand</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span>
958 <span·class="gh">Out[20]:·</span>956 <span·class="gh">Out[20]:·</span>
959 <span·class="go">···0··1</span>957 <span·class="go">···0··1</span>
960 <span·class="go">0··a··b</span>958 <span·class="go">0··a··b</span>
961 <span·class="go">1··a··c</span>959 <span·class="go">1··a··c</span>
962 <span·class="go">2··b··c</span>960 <span·class="go">2··b··c</span>
  
963 <span·class="go">[3·rows·x·2·columns]</span> 
  
964 <span·class="gp">In·[21]:·</span><span·class="n">idx</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Index</span><span·class="p">([</span><span·class="s2">&quot;a,b&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;a,c&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;b,c&quot;</span><span·class="p">])</span>961 <span·class="gp">In·[21]:·</span><span·class="n">idx</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Index</span><span·class="p">([</span><span·class="s2">&quot;a,b&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;a,c&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;b,c&quot;</span><span·class="p">])</span>
  
965 <span·class="go">#·return·Index</span>962 <span·class="go">#·return·Index</span>
966 <span·class="gp">In·[22]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">split</span><span·class="p">(</span><span·class="s2">&quot;,&quot;</span><span·class="p">)</span>963 <span·class="gp">In·[22]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">split</span><span·class="p">(</span><span·class="s2">&quot;,&quot;</span><span·class="p">)</span>
967 <span·class="gh">Out[22]:·</span><span·class="go">Index([[&#39;a&#39;,·&#39;b&#39;],·[&#39;a&#39;,·&#39;c&#39;],·[&#39;b&#39;,·&#39;c&#39;]],·dtype=&#39;object&#39;)</span>964 <span·class="gh">Out[22]:·</span><span·class="go">Index([[&#39;a&#39;,·&#39;b&#39;],·[&#39;a&#39;,·&#39;c&#39;],·[&#39;b&#39;,·&#39;c&#39;]],·dtype=&#39;object&#39;)</span>
  
968 <span·class="go">#·return·MultiIndex</span>965 <span·class="go">#·return·MultiIndex</span>
Offset 1007, 16 lines modifiedOffset 1003, 14 lines modified
  
1007 <span·class="gp">In·[28]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">drop</span><span·class="p">([</span><span·class="s2">&quot;A&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;X&quot;</span><span·class="p">],</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">errors</span><span·class="o">=</span><span·class="s2">&quot;ignore&quot;</span><span·class="p">)</span>1003 <span·class="gp">In·[28]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">drop</span><span·class="p">([</span><span·class="s2">&quot;A&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;X&quot;</span><span·class="p">],</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="n">errors</span><span·class="o">=</span><span·class="s2">&quot;ignore&quot;</span><span·class="p">)</span>
1008 <span·class="gh">Out[28]:·</span>1004 <span·class="gh">Out[28]:·</span>
1009 <span·class="go">··········B·········C</span>1005 <span·class="go">··········B·········C</span>
1010 <span·class="go">0·-0.706771·-1.039575</span>1006 <span·class="go">0·-0.706771·-1.039575</span>
1011 <span·class="go">1·-0.424972··0.567020</span>1007 <span·class="go">1·-0.424972··0.567020</span>
1012 <span·class="go">2·-1.087401·-0.673690</span>1008 <span·class="go">2·-1.087401·-0.673690</span>
  
1013 <span·class="go">[3·rows·x·2·columns]</span> 
1014 </pre></div>1009 </pre></div>
Max diff block lines reached; 1296/12861 bytes (10.08%) of diff not shown.
4.22 KB
html2text {}
    
Offset 267, 63 lines modifiedOffset 267, 61 lines modified
267 sampling,·and·for·setting·seed·values·to·facilitate·replication.·(_\x8G_\x8H_\x8·_\x82_\x84_\x81_\x89)267 sampling,·and·for·setting·seed·values·to·facilitate·replication.·(_\x8G_\x8H_\x8·_\x82_\x84_\x81_\x89)
268 In·[1]:·example_series·=·pd.Series([0,·1,·2,·3,·4,·5])268 In·[1]:·example_series·=·pd.Series([0,·1,·2,·3,·4,·5])
  
269 #·When·no·arguments·are·passed,·returns·1269 #·When·no·arguments·are·passed,·returns·1
270 In·[2]:·example_series.sample()270 In·[2]:·example_series.sample()
271 Out[2]:271 Out[2]:
272 3····3272 3····3
273 Length:·1,·dtype:·int64273 dtype:·int64
  
274 #·One·may·specify·either·a·number·of·rows:274 #·One·may·specify·either·a·number·of·rows:
275 In·[3]:·example_series.sample(n=3)275 In·[3]:·example_series.sample(n=3)
276 Out[3]:276 Out[3]:
277 2····2277 2····2
278 1····1278 1····1
279 0····0279 0····0
280 Length:·3,·dtype:·int64280 dtype:·int64
  
281 #·Or·a·fraction·of·the·rows:281 #·Or·a·fraction·of·the·rows:
282 In·[4]:·example_series.sample(frac=0.5)282 In·[4]:·example_series.sample(frac=0.5)
283 Out[4]:283 Out[4]:
284 1····1284 1····1
285 5····5285 5····5
286 3····3286 3····3
287 Length:·3,·dtype:·int64287 dtype:·int64
  
288 #·weights·are·accepted.288 #·weights·are·accepted.
289 In·[5]:·example_weights·=·[0,·0,·0.2,·0.2,·0.2,·0.4]289 In·[5]:·example_weights·=·[0,·0,·0.2,·0.2,·0.2,·0.4]
  
290 In·[6]:·example_series.sample(n=3,·weights=example_weights)290 In·[6]:·example_series.sample(n=3,·weights=example_weights)
291 Out[6]:291 Out[6]:
292 2····2292 2····2
293 4····4293 4····4
294 3····3294 3····3
295 Length:·3,·dtype:·int64295 dtype:·int64
  
296 #·weights·will·also·be·normalized·if·they·do·not·sum·to·one,296 #·weights·will·also·be·normalized·if·they·do·not·sum·to·one,
297 #·and·missing·values·will·be·treated·as·zeros.297 #·and·missing·values·will·be·treated·as·zeros.
298 In·[7]:·example_weights2·=·[0.5,·0,·0,·0,·None,·np.nan]298 In·[7]:·example_weights2·=·[0.5,·0,·0,·0,·None,·np.nan]
  
299 In·[8]:·example_series.sample(n=1,·weights=example_weights2)299 In·[8]:·example_series.sample(n=1,·weights=example_weights2)
300 Out[8]:300 Out[8]:
301 0····0301 0····0
302 Length:·1,·dtype:·int64302 dtype:·int64
303 When·applied·to·a·DataFrame,·one·may·pass·the·name·of·a·column·to·specify303 When·applied·to·a·DataFrame,·one·may·pass·the·name·of·a·column·to·specify
304 sampling·weights·when·sampling·from·rows.304 sampling·weights·when·sampling·from·rows.
305 In·[9]:·df·=·pd.DataFrame({"col1":·[9,·8,·7,·6],·"weight_column":·[0.5,·0.4,305 In·[9]:·df·=·pd.DataFrame({"col1":·[9,·8,·7,·6],·"weight_column":·[0.5,·0.4,
306 0.1,·0]})306 0.1,·0]})
  
307 In·[10]:·df.sample(n=3,·weights="weight_column")307 In·[10]:·df.sample(n=3,·weights="weight_column")
308 Out[10]:308 Out[10]:
309 ···col1··weight_column309 ···col1··weight_column
310 0·····9············0.5310 0·····9············0.5
311 1·····8············0.4311 1·····8············0.4
312 2·····7············0.1312 2·····7············0.1
  
313 [3·rows·x·2·columns] 
314 *\x8**\x8**\x8**\x8*·S\x8St\x8tr\x8ri\x8in\x8ng\x8g·m\x8me\x8et\x8th\x8ho\x8od\x8ds\x8s·e\x8en\x8nh\x8ha\x8an\x8nc\x8ce\x8em\x8me\x8en\x8nt\x8ts\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*313 *\x8**\x8**\x8**\x8*·S\x8St\x8tr\x8ri\x8in\x8ng\x8g·m\x8me\x8et\x8th\x8ho\x8od\x8ds\x8s·e\x8en\x8nh\x8ha\x8an\x8nc\x8ce\x8em\x8me\x8en\x8nt\x8ts\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*
315 _\x8C_\x8o_\x8n_\x8t_\x8i_\x8n_\x8u_\x8i_\x8n_\x8g_\x8·_\x8f_\x8r_\x8o_\x8m_\x8·_\x8v_\x80_\x8._\x81_\x86_\x8._\x80,·the·following·enhancements·make·string·operations314 _\x8C_\x8o_\x8n_\x8t_\x8i_\x8n_\x8u_\x8i_\x8n_\x8g_\x8·_\x8f_\x8r_\x8o_\x8m_\x8·_\x8v_\x80_\x8._\x81_\x86_\x8._\x80,·the·following·enhancements·make·string·operations
316 easier·and·more·consistent·with·standard·python·string·operations.315 easier·and·more·consistent·with·standard·python·string·operations.
317 ····*·Added·StringMethods·(.str·accessor)·to·Index·(_\x8G_\x8H_\x8·_\x89_\x80_\x86_\x88)316 ····*·Added·StringMethods·(.str·accessor)·to·Index·(_\x8G_\x8H_\x8·_\x89_\x80_\x86_\x88)
318 ······The·.str·accessor·is·now·available·for·both·Series·and·Index.317 ······The·.str·accessor·is·now·available·for·both·Series·and·Index.
319 ······In·[11]:·idx·=·pd.Index(["·jack",·"jill·",·"·jesse·",·"frank"])318 ······In·[11]:·idx·=·pd.Index(["·jack",·"jill·",·"·jesse·",·"frank"])
  
Offset 339, 24 lines modifiedOffset 337, 24 lines modified
  
339 ······In·[15]:·s337 ······In·[15]:·s
340 ······Out[15]:338 ······Out[15]:
341 ······a1····0339 ······a1····0
342 ······a2····1340 ······a2····1
343 ······b1····2341 ······b1····2
344 ······b2····3342 ······b2····3
345 ······Length:·4,·dtype:·int64343 ······dtype:·int64
  
346 ······In·[16]:·idx.str.startswith("a")344 ······In·[16]:·idx.str.startswith("a")
347 ······Out[16]:·array([·True,··True,·False,·False])345 ······Out[16]:·array([·True,··True,·False,·False])
  
348 ······In·[17]:·s[s.index.str.startswith("a")]346 ······In·[17]:·s[s.index.str.startswith("a")]
349 ······Out[17]:347 ······Out[17]:
350 ······a1····0348 ······a1····0
351 ······a2····1349 ······a2····1
352 ······Length:·2,·dtype:·int64350 ······dtype:·int64
353 ····*·The·following·new·methods·are·accessible·via·.str·accessor·to·apply·the351 ····*·The·following·new·methods·are·accessible·via·.str·accessor·to·apply·the
354 ······function·to·each·values.·(_\x8G_\x8H_\x8·_\x89_\x87_\x86_\x86,·_\x8G_\x8H_\x8·_\x89_\x87_\x87_\x83,·_\x8G_\x8H_\x8·_\x81_\x80_\x80_\x83_\x81,·_\x8G_\x8H_\x8·_\x81_\x80_\x80_\x84_\x85,·_\x8G_\x8H_\x8·_\x81_\x80_\x80_\x85_\x82)352 ······function·to·each·values.·(_\x8G_\x8H_\x8·_\x89_\x87_\x86_\x86,·_\x8G_\x8H_\x8·_\x89_\x87_\x87_\x83,·_\x8G_\x8H_\x8·_\x81_\x80_\x80_\x83_\x81,·_\x8G_\x8H_\x8·_\x81_\x80_\x80_\x84_\x85,·_\x8G_\x8H_\x8·_\x81_\x80_\x80_\x85_\x82)
355 ······························M\x8Me\x8et\x8th\x8ho\x8od\x8ds\x8s353 ······························M\x8Me\x8et\x8th\x8ho\x8od\x8ds\x8s
356 ······capitalize()·swapcase()·normalize()·partition()·rpartition()354 ······capitalize()·swapcase()·normalize()·partition()·rpartition()
357 ······index()······rindex()···translate()355 ······index()······rindex()···translate()
358 ····*·split·now·takes·expand·keyword·to·specify·whether·to·expand356 ····*·split·now·takes·expand·keyword·to·specify·whether·to·expand
359 ······dimensionality.·return_type·is·deprecated.·(_\x8G_\x8H_\x8·_\x89_\x88_\x84_\x87)357 ······dimensionality.·return_type·is·deprecated.·(_\x8G_\x8H_\x8·_\x89_\x88_\x84_\x87)
Offset 364, 26 lines modifiedOffset 362, 24 lines modified
  
364 ······#·return·Series362 ······#·return·Series
365 ······In·[19]:·s.str.split(",")363 ······In·[19]:·s.str.split(",")
366 ······Out[19]:364 ······Out[19]:
367 ······0····[a,·b]365 ······0····[a,·b]
368 ······1····[a,·c]366 ······1····[a,·c]
369 ······2····[b,·c]367 ······2····[b,·c]
370 ······Length:·3,·dtype:·object368 ······dtype:·object
  
371 ······#·return·DataFrame369 ······#·return·DataFrame
372 ······In·[20]:·s.str.split(",",·expand=True)370 ······In·[20]:·s.str.split(",",·expand=True)
373 ······Out[20]:371 ······Out[20]:
374 ·········0··1372 ·········0··1
375 ······0··a··b373 ······0··a··b
376 ······1··a··c374 ······1··a··c
377 ······2··b··c375 ······2··b··c
  
378 ······[3·rows·x·2·columns] 
  
379 ······In·[21]:·idx·=·pd.Index(["a,b",·"a,c",·"b,c"])376 ······In·[21]:·idx·=·pd.Index(["a,b",·"a,c",·"b,c"])
  
380 ······#·return·Index377 ······#·return·Index
381 ······In·[22]:·idx.str.split(",")378 ······In·[22]:·idx.str.split(",")
382 ······Out[22]:·Index([['a',·'b'],·['a',·'c'],·['b',·'c']],·dtype='object')379 ······Out[22]:·Index([['a',·'b'],·['a',·'c'],·['b',·'c']],·dtype='object')
  
383 ······#·return·MultiIndex380 ······#·return·MultiIndex
Offset 424, 16 lines modifiedOffset 420, 14 lines modified
  
424 ······In·[28]:·df.drop(["A",·"X"],·axis=1,·errors="ignore")420 ······In·[28]:·df.drop(["A",·"X"],·axis=1,·errors="ignore")
425 ······Out[28]:421 ······Out[28]:
426 ················B·········C422 ················B·········C
427 ······0·-0.706771·-1.039575423 ······0·-0.706771·-1.039575
428 ······1·-0.424972··0.567020424 ······1·-0.424972··0.567020
429 ······2·-1.087401·-0.673690425 ······2·-1.087401·-0.673690
  
430 ······[3·rows·x·2·columns] 
431 ····*·Add·support·for·separating·years·and·quarters·using·dashes,·for·example426 ····*·Add·support·for·separating·years·and·quarters·using·dashes,·for·example
432 ······2014-Q1.·(_\x8G_\x8H_\x8·_\x89_\x86_\x88_\x88)427 ······2014-Q1.·(_\x8G_\x8H_\x8·_\x89_\x86_\x88_\x88)
Max diff block lines reached; 291/4300 bytes (6.77%) of diff not shown.
53.9 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.17.0.html
    
Offset 769, 37 lines modifiedOffset 769, 35 lines modified
769 <span·class="gp">In·[2]:·</span><span·class="n">df</span>769 <span·class="gp">In·[2]:·</span><span·class="n">df</span>
770 <span·class="gh">Out[2]:·</span>770 <span·class="gh">Out[2]:·</span>
771 <span·class="go">···········A·························B·························C</span>771 <span·class="go">···········A·························B·························C</span>
772 <span·class="go">0·2013-01-01·2013-01-01·00:00:00-05:00·2013-01-01·00:00:00+01:00</span>772 <span·class="go">0·2013-01-01·2013-01-01·00:00:00-05:00·2013-01-01·00:00:00+01:00</span>
773 <span·class="go">1·2013-01-02·2013-01-02·00:00:00-05:00·2013-01-02·00:00:00+01:00</span>773 <span·class="go">1·2013-01-02·2013-01-02·00:00:00-05:00·2013-01-02·00:00:00+01:00</span>
774 <span·class="go">2·2013-01-03·2013-01-03·00:00:00-05:00·2013-01-03·00:00:00+01:00</span>774 <span·class="go">2·2013-01-03·2013-01-03·00:00:00-05:00·2013-01-03·00:00:00+01:00</span>
  
775 <span·class="go">[3·rows·x·3·columns]</span> 
  
776 <span·class="gp">In·[3]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">dtypes</span>775 <span·class="gp">In·[3]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">dtypes</span>
777 <span·class="gh">Out[3]:·</span>776 <span·class="gh">Out[3]:·</span>
778 <span·class="go">A················datetime64[ns]</span>777 <span·class="go">A················datetime64[ns]</span>
779 <span·class="go">B····datetime64[ns,·US/Eastern]</span>778 <span·class="go">B····datetime64[ns,·US/Eastern]</span>
780 <span·class="go">C···········datetime64[ns,·CET]</span>779 <span·class="go">C···········datetime64[ns,·CET]</span>
781 <span·class="go">Length:·3,·dtype:·object</span>780 <span·class="go">dtype:·object</span>
782 </pre></div>781 </pre></div>
783 </div>782 </div>
784 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[4]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">B</span>783 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[4]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">B</span>
785 <span·class="gh">Out[4]:·</span>784 <span·class="gh">Out[4]:·</span>
786 <span·class="go">0···2013-01-01·00:00:00-05:00</span>785 <span·class="go">0···2013-01-01·00:00:00-05:00</span>
787 <span·class="go">1···2013-01-02·00:00:00-05:00</span>786 <span·class="go">1···2013-01-02·00:00:00-05:00</span>
788 <span·class="go">2···2013-01-03·00:00:00-05:00</span>787 <span·class="go">2···2013-01-03·00:00:00-05:00</span>
789 <span·class="go">Name:·B,·Length:·3,·dtype:·datetime64[ns,·US/Eastern]</span>788 <span·class="go">Name:·B,·dtype:·datetime64[ns,·US/Eastern]</span>
  
790 <span·class="gp">In·[5]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">B</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">tz_localize</span><span·class="p">(</span><span·class="kc">None</span><span·class="p">)</span>789 <span·class="gp">In·[5]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">B</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">tz_localize</span><span·class="p">(</span><span·class="kc">None</span><span·class="p">)</span>
791 <span·class="gh">Out[5]:·</span>790 <span·class="gh">Out[5]:·</span>
792 <span·class="go">0···2013-01-01</span>791 <span·class="go">0···2013-01-01</span>
793 <span·class="go">1···2013-01-02</span>792 <span·class="go">1···2013-01-02</span>
794 <span·class="go">2···2013-01-03</span>793 <span·class="go">2···2013-01-03</span>
795 <span·class="go">Name:·B,·Length:·3,·dtype:·datetime64[ns]</span>794 <span·class="go">Name:·B,·dtype:·datetime64[ns]</span>
796 </pre></div>795 </pre></div>
797 </div>796 </div>
798 <p>This·uses·a·new-dtype·representation·as·well,·that·is·very·similar·in·look-and-feel·to·its·numpy·cousin·<code·class="docutils·literal·notranslate"><span·class="pre">datetime64[ns]</span></code></p>797 <p>This·uses·a·new-dtype·representation·as·well,·that·is·very·similar·in·look-and-feel·to·its·numpy·cousin·<code·class="docutils·literal·notranslate"><span·class="pre">datetime64[ns]</span></code></p>
799 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[6]:·</span><span·class="n">df</span><span·class="p">[</span><span·class="s2">&quot;B&quot;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">dtype</span>798 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[6]:·</span><span·class="n">df</span><span·class="p">[</span><span·class="s2">&quot;B&quot;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">dtype</span>
800 <span·class="gh">Out[6]:·</span><span·class="go">datetime64[ns,·US/Eastern]</span>799 <span·class="gh">Out[6]:·</span><span·class="go">datetime64[ns,·US/Eastern]</span>
  
801 <span·class="gp">In·[7]:·</span><span·class="nb">type</span><span·class="p">(</span><span·class="n">df</span><span·class="p">[</span><span·class="s2">&quot;B&quot;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">dtype</span><span·class="p">)</span>800 <span·class="gp">In·[7]:·</span><span·class="nb">type</span><span·class="p">(</span><span·class="n">df</span><span·class="p">[</span><span·class="s2">&quot;B&quot;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">dtype</span><span·class="p">)</span>
Offset 878, 43 lines modifiedOffset 876, 43 lines modified
  
878 <span·class="gp">In·[14]:·</span><span·class="n">s</span>876 <span·class="gp">In·[14]:·</span><span·class="n">s</span>
879 <span·class="gh">Out[14]:·</span>877 <span·class="gh">Out[14]:·</span>
880 <span·class="go">0···2013-01-01</span>878 <span·class="go">0···2013-01-01</span>
881 <span·class="go">1···2013-01-02</span>879 <span·class="go">1···2013-01-02</span>
882 <span·class="go">2···2013-01-03</span>880 <span·class="go">2···2013-01-03</span>
883 <span·class="go">3···2013-01-04</span>881 <span·class="go">3···2013-01-04</span>
884 <span·class="go">Length:·4,·dtype:·datetime64[ns]</span>882 <span·class="go">dtype:·datetime64[ns]</span>
  
885 <span·class="gp">In·[15]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">strftime</span><span·class="p">(</span><span·class="s2">&quot;%Y/%m/</span><span·class="si">%d</span><span·class="s2">&quot;</span><span·class="p">)</span>883 <span·class="gp">In·[15]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">strftime</span><span·class="p">(</span><span·class="s2">&quot;%Y/%m/</span><span·class="si">%d</span><span·class="s2">&quot;</span><span·class="p">)</span>
886 <span·class="gh">Out[15]:·</span>884 <span·class="gh">Out[15]:·</span>
887 <span·class="go">0····2013/01/01</span>885 <span·class="go">0····2013/01/01</span>
888 <span·class="go">1····2013/01/02</span>886 <span·class="go">1····2013/01/02</span>
889 <span·class="go">2····2013/01/03</span>887 <span·class="go">2····2013/01/03</span>
890 <span·class="go">3····2013/01/04</span>888 <span·class="go">3····2013/01/04</span>
891 <span·class="go">Length:·4,·dtype:·object</span>889 <span·class="go">dtype:·object</span>
892 </pre></div>890 </pre></div>
893 </div>891 </div>
894 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·PeriodIndex</span>892 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·PeriodIndex</span>
895 <span·class="gp">In·[16]:·</span><span·class="n">s</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">period_range</span><span·class="p">(</span><span·class="s2">&quot;20130101&quot;</span><span·class="p">,</span>·<span·class="n">periods</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">))</span>893 <span·class="gp">In·[16]:·</span><span·class="n">s</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">period_range</span><span·class="p">(</span><span·class="s2">&quot;20130101&quot;</span><span·class="p">,</span>·<span·class="n">periods</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">))</span>
  
896 <span·class="gp">In·[17]:·</span><span·class="n">s</span>894 <span·class="gp">In·[17]:·</span><span·class="n">s</span>
897 <span·class="gh">Out[17]:·</span>895 <span·class="gh">Out[17]:·</span>
898 <span·class="go">0····2013-01-01</span>896 <span·class="go">0····2013-01-01</span>
899 <span·class="go">1····2013-01-02</span>897 <span·class="go">1····2013-01-02</span>
900 <span·class="go">2····2013-01-03</span>898 <span·class="go">2····2013-01-03</span>
901 <span·class="go">3····2013-01-04</span>899 <span·class="go">3····2013-01-04</span>
902 <span·class="go">Length:·4,·dtype:·period[D]</span>900 <span·class="go">dtype:·period[D]</span>
  
903 <span·class="gp">In·[18]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">strftime</span><span·class="p">(</span><span·class="s2">&quot;%Y/%m/</span><span·class="si">%d</span><span·class="s2">&quot;</span><span·class="p">)</span>901 <span·class="gp">In·[18]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">strftime</span><span·class="p">(</span><span·class="s2">&quot;%Y/%m/</span><span·class="si">%d</span><span·class="s2">&quot;</span><span·class="p">)</span>
904 <span·class="gh">Out[18]:·</span>902 <span·class="gh">Out[18]:·</span>
905 <span·class="go">0····2013/01/01</span>903 <span·class="go">0····2013/01/01</span>
906 <span·class="go">1····2013/01/02</span>904 <span·class="go">1····2013/01/02</span>
907 <span·class="go">2····2013/01/03</span>905 <span·class="go">2····2013/01/03</span>
908 <span·class="go">3····2013/01/04</span>906 <span·class="go">3····2013/01/04</span>
909 <span·class="go">Length:·4,·dtype:·object</span>907 <span·class="go">dtype:·object</span>
910 </pre></div>908 </pre></div>
911 </div>909 </div>
912 <p>The·string·format·is·as·the·python·standard·library·and·details·can·be·found·<a·class="reference·external"·href="https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior">here</a></p>910 <p>The·string·format·is·as·the·python·standard·library·and·details·can·be·found·<a·class="reference·external"·href="https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior">here</a></p>
913 </section>911 </section>
914 <section·id="series-dt-total-seconds">912 <section·id="series-dt-total-seconds">
915 <h4>Series.dt.total_seconds<a·class="headerlink"·href="#series-dt-total-seconds"·title="Link·to·this·heading">#</a></h4>913 <h4>Series.dt.total_seconds<a·class="headerlink"·href="#series-dt-total-seconds"·title="Link·to·this·heading">#</a></h4>
916 <p><code·class="docutils·literal·notranslate"><span·class="pre">pd.Series</span></code>·of·type·<code·class="docutils·literal·notranslate"><span·class="pre">timedelta64</span></code>·has·new·method·<code·class="docutils·literal·notranslate"><span·class="pre">.dt.total_seconds()</span></code>·returning·the·duration·of·the·timedelta·in·seconds·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10817">GH·10817</a>)</p>914 <p><code·class="docutils·literal·notranslate"><span·class="pre">pd.Series</span></code>·of·type·<code·class="docutils·literal·notranslate"><span·class="pre">timedelta64</span></code>·has·new·method·<code·class="docutils·literal·notranslate"><span·class="pre">.dt.total_seconds()</span></code>·returning·the·duration·of·the·timedelta·in·seconds·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/10817">GH·10817</a>)</p>
Offset 923, 23 lines modifiedOffset 921, 23 lines modified
  
923 <span·class="gp">In·[20]:·</span><span·class="n">s</span>921 <span·class="gp">In·[20]:·</span><span·class="n">s</span>
924 <span·class="gh">Out[20]:·</span>922 <span·class="gh">Out[20]:·</span>
925 <span·class="go">0···0·days·00:01:00</span>923 <span·class="go">0···0·days·00:01:00</span>
926 <span·class="go">1···1·days·00:01:00</span>924 <span·class="go">1···1·days·00:01:00</span>
927 <span·class="go">2···2·days·00:01:00</span>925 <span·class="go">2···2·days·00:01:00</span>
928 <span·class="go">3···3·days·00:01:00</span>926 <span·class="go">3···3·days·00:01:00</span>
929 <span·class="go">Length:·4,·dtype:·timedelta64[ns]</span>927 <span·class="go">dtype:·timedelta64[ns]</span>
  
930 <span·class="gp">In·[21]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">total_seconds</span><span·class="p">()</span>928 <span·class="gp">In·[21]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">total_seconds</span><span·class="p">()</span>
931 <span·class="gh">Out[21]:·</span>929 <span·class="gh">Out[21]:·</span>
932 <span·class="go">0········60.0</span>930 <span·class="go">0········60.0</span>
933 <span·class="go">1·····86460.0</span>931 <span·class="go">1·····86460.0</span>
934 <span·class="go">2····172860.0</span>932 <span·class="go">2····172860.0</span>
935 <span·class="go">3····259260.0</span>933 <span·class="go">3····259260.0</span>
936 <span·class="go">Length:·4,·dtype:·float64</span>934 <span·class="go">dtype:·float64</span>
937 </pre></div>935 </pre></div>
938 </div>936 </div>
939 </section>937 </section>
940 </section>938 </section>
941 <section·id="period-frequency-enhancement">939 <section·id="period-frequency-enhancement">
942 <span·id="whatsnew-0170-periodfreq"></span><h3>Period·frequency·enhancement<a·class="headerlink"·href="#period-frequency-enhancement"·title="Link·to·this·heading">#</a></h3>940 <span·id="whatsnew-0170-periodfreq"></span><h3>Period·frequency·enhancement<a·class="headerlink"·href="#period-frequency-enhancement"·title="Link·to·this·heading">#</a></h3>
943 <p><code·class="docutils·literal·notranslate"><span·class="pre">Period</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">PeriodIndex</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">period_range</span></code>·can·now·accept·multiplied·freq.·Also,·<code·class="docutils·literal·notranslate"><span·class="pre">Period.freq</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">PeriodIndex.freq</span></code>·are·now·stored·as·a·<code·class="docutils·literal·notranslate"><span·class="pre">DateOffset</span></code>·instance·like·<code·class="docutils·literal·notranslate"><span·class="pre">DatetimeIndex</span></code>,·and·not·as·<code·class="docutils·literal·notranslate"><span·class="pre">str</span></code>·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/7811">GH·7811</a>)</p>941 <p><code·class="docutils·literal·notranslate"><span·class="pre">Period</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">PeriodIndex</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">period_range</span></code>·can·now·accept·multiplied·freq.·Also,·<code·class="docutils·literal·notranslate"><span·class="pre">Period.freq</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">PeriodIndex.freq</span></code>·are·now·stored·as·a·<code·class="docutils·literal·notranslate"><span·class="pre">DateOffset</span></code>·instance·like·<code·class="docutils·literal·notranslate"><span·class="pre">DatetimeIndex</span></code>,·and·not·as·<code·class="docutils·literal·notranslate"><span·class="pre">str</span></code>·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/7811">GH·7811</a>)</p>
Offset 1020, 29 lines modifiedOffset 1018, 25 lines modified
1020 <span·class="gh">Out[32]:·</span>1018 <span·class="gh">Out[32]:·</span>
1021 <span·class="go">col1··foo····bar···</span>1019 <span·class="go">col1··foo····bar···</span>
1022 <span·class="go">col2····a··b···a··b</span>1020 <span·class="go">col2····a··b···a··b</span>
1023 <span·class="go">i1·i2··············</span>1021 <span·class="go">i1·i2··············</span>
1024 <span·class="go">j··l····1··2···3··4</span>1022 <span·class="go">j··l····1··2···3··4</span>
1025 <span·class="go">···k····5··6···7··8</span>1023 <span·class="go">···k····5··6···7··8</span>
  
1026 <span·class="go">[2·rows·x·4·columns]</span> 
  
1027 <span·class="gp">In·[33]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">to_excel</span><span·class="p">(</span><span·class="s2">&quot;test.xlsx&quot;</span><span·class="p">)</span>1024 <span·class="gp">In·[33]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">to_excel</span><span·class="p">(</span><span·class="s2">&quot;test.xlsx&quot;</span><span·class="p">)</span>
  
1028 <span·class="gp">In·[34]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">read_excel</span><span·class="p">(</span><span·class="s2">&quot;test.xlsx&quot;</span><span·class="p">,</span>·<span·class="n">header</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">],</span>·<span·class="n">index_col</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">])</span>1025 <span·class="gp">In·[34]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">read_excel</span><span·class="p">(</span><span·class="s2">&quot;test.xlsx&quot;</span><span·class="p">,</span>·<span·class="n">header</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">],</span>·<span·class="n">index_col</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">])</span>
  
1029 <span·class="gp">In·[35]:·</span><span·class="n">df</span>1026 <span·class="gp">In·[35]:·</span><span·class="n">df</span>
1030 <span·class="gh">Out[35]:·</span>1027 <span·class="gh">Out[35]:·</span>
1031 <span·class="go">col1··foo····bar···</span>1028 <span·class="go">col1··foo····bar···</span>
1032 <span·class="go">col2····a··b···a··b</span>1029 <span·class="go">col2····a··b···a··b</span>
1033 <span·class="go">i1·i2··············</span>1030 <span·class="go">i1·i2··············</span>
1034 <span·class="go">j··l····1··2···3··4</span>1031 <span·class="go">j··l····1··2···3··4</span>
1035 <span·class="go">···k····5··6···7··8</span>1032 <span·class="go">···k····5··6···7··8</span>
  
Max diff block lines reached; 30698/40628 bytes (75.56%) of diff not shown.
14.1 KB
html2text {}
    
Offset 222, 35 lines modifiedOffset 222, 33 lines modified
222 In·[2]:·df222 In·[2]:·df
223 Out[2]:223 Out[2]:
224 ···········A·························B·························C224 ···········A·························B·························C
225 0·2013-01-01·2013-01-01·00:00:00-05:00·2013-01-01·00:00:00+01:00225 0·2013-01-01·2013-01-01·00:00:00-05:00·2013-01-01·00:00:00+01:00
226 1·2013-01-02·2013-01-02·00:00:00-05:00·2013-01-02·00:00:00+01:00226 1·2013-01-02·2013-01-02·00:00:00-05:00·2013-01-02·00:00:00+01:00
227 2·2013-01-03·2013-01-03·00:00:00-05:00·2013-01-03·00:00:00+01:00227 2·2013-01-03·2013-01-03·00:00:00-05:00·2013-01-03·00:00:00+01:00
  
228 [3·rows·x·3·columns] 
  
229 In·[3]:·df.dtypes228 In·[3]:·df.dtypes
230 Out[3]:229 Out[3]:
231 A················datetime64[ns]230 A················datetime64[ns]
232 B····datetime64[ns,·US/Eastern]231 B····datetime64[ns,·US/Eastern]
233 C···········datetime64[ns,·CET]232 C···········datetime64[ns,·CET]
234 Length:·3,·dtype:·object233 dtype:·object
235 In·[4]:·df.B234 In·[4]:·df.B
236 Out[4]:235 Out[4]:
237 0···2013-01-01·00:00:00-05:00236 0···2013-01-01·00:00:00-05:00
238 1···2013-01-02·00:00:00-05:00237 1···2013-01-02·00:00:00-05:00
239 2···2013-01-03·00:00:00-05:00238 2···2013-01-03·00:00:00-05:00
240 Name:·B,·Length:·3,·dtype:·datetime64[ns,·US/Eastern]239 Name:·B,·dtype:·datetime64[ns,·US/Eastern]
  
241 In·[5]:·df.B.dt.tz_localize(None)240 In·[5]:·df.B.dt.tz_localize(None)
242 Out[5]:241 Out[5]:
243 0···2013-01-01242 0···2013-01-01
244 1···2013-01-02243 1···2013-01-02
245 2···2013-01-03244 2···2013-01-03
246 Name:·B,·Length:·3,·dtype:·datetime64[ns]245 Name:·B,·dtype:·datetime64[ns]
247 This·uses·a·new-dtype·representation·as·well,·that·is·very·similar·in·look-and-246 This·uses·a·new-dtype·representation·as·well,·that·is·very·similar·in·look-and-
248 feel·to·its·numpy·cousin·datetime64[ns]247 feel·to·its·numpy·cousin·datetime64[ns]
249 In·[6]:·df["B"].dtype248 In·[6]:·df["B"].dtype
250 Out[6]:·datetime64[ns,·US/Eastern]249 Out[6]:·datetime64[ns,·US/Eastern]
  
251 In·[7]:·type(df["B"].dtype)250 In·[7]:·type(df["B"].dtype)
252 Out[7]:·pandas.core.dtypes.dtypes.DatetimeTZDtype251 Out[7]:·pandas.core.dtypes.dtypes.DatetimeTZDtype
Offset 326, 64 lines modifiedOffset 324, 64 lines modified
  
326 In·[14]:·s324 In·[14]:·s
327 Out[14]:325 Out[14]:
328 0···2013-01-01326 0···2013-01-01
329 1···2013-01-02327 1···2013-01-02
330 2···2013-01-03328 2···2013-01-03
331 3···2013-01-04329 3···2013-01-04
332 Length:·4,·dtype:·datetime64[ns]330 dtype:·datetime64[ns]
  
333 In·[15]:·s.dt.strftime("%Y/%m/%d")331 In·[15]:·s.dt.strftime("%Y/%m/%d")
334 Out[15]:332 Out[15]:
335 0····2013/01/01333 0····2013/01/01
336 1····2013/01/02334 1····2013/01/02
337 2····2013/01/03335 2····2013/01/03
338 3····2013/01/04336 3····2013/01/04
339 Length:·4,·dtype:·object337 dtype:·object
340 #·PeriodIndex338 #·PeriodIndex
341 In·[16]:·s·=·pd.Series(pd.period_range("20130101",·periods=4))339 In·[16]:·s·=·pd.Series(pd.period_range("20130101",·periods=4))
  
342 In·[17]:·s340 In·[17]:·s
343 Out[17]:341 Out[17]:
344 0····2013-01-01342 0····2013-01-01
345 1····2013-01-02343 1····2013-01-02
346 2····2013-01-03344 2····2013-01-03
347 3····2013-01-04345 3····2013-01-04
348 Length:·4,·dtype:·period[D]346 dtype:·period[D]
  
349 In·[18]:·s.dt.strftime("%Y/%m/%d")347 In·[18]:·s.dt.strftime("%Y/%m/%d")
350 Out[18]:348 Out[18]:
351 0····2013/01/01349 0····2013/01/01
352 1····2013/01/02350 1····2013/01/02
353 2····2013/01/03351 2····2013/01/03
354 3····2013/01/04352 3····2013/01/04
355 Length:·4,·dtype:·object353 dtype:·object
356 The·string·format·is·as·the·python·standard·library·and·details·can·be·found354 The·string·format·is·as·the·python·standard·library·and·details·can·be·found
357 _\x8h_\x8e_\x8r_\x8e355 _\x8h_\x8e_\x8r_\x8e
358 *\x8**\x8**\x8*·S\x8Se\x8er\x8ri\x8ie\x8es\x8s.\x8.d\x8dt\x8t.\x8.t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8se\x8ec\x8co\x8on\x8nd\x8ds\x8s_\x8#\x8#·*\x8**\x8**\x8*356 *\x8**\x8**\x8*·S\x8Se\x8er\x8ri\x8ie\x8es\x8s.\x8.d\x8dt\x8t.\x8.t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8se\x8ec\x8co\x8on\x8nd\x8ds\x8s_\x8#\x8#·*\x8**\x8**\x8*
359 pd.Series·of·type·timedelta64·has·new·method·.dt.total_seconds()·returning·the357 pd.Series·of·type·timedelta64·has·new·method·.dt.total_seconds()·returning·the
360 duration·of·the·timedelta·in·seconds·(_\x8G_\x8H_\x8·_\x81_\x80_\x88_\x81_\x87)358 duration·of·the·timedelta·in·seconds·(_\x8G_\x8H_\x8·_\x81_\x80_\x88_\x81_\x87)
361 #·TimedeltaIndex359 #·TimedeltaIndex
362 In·[19]:·s·=·pd.Series(pd.timedelta_range("1·minutes",·periods=4))360 In·[19]:·s·=·pd.Series(pd.timedelta_range("1·minutes",·periods=4))
  
363 In·[20]:·s361 In·[20]:·s
364 Out[20]:362 Out[20]:
365 0···0·days·00:01:00363 0···0·days·00:01:00
366 1···1·days·00:01:00364 1···1·days·00:01:00
367 2···2·days·00:01:00365 2···2·days·00:01:00
368 3···3·days·00:01:00366 3···3·days·00:01:00
369 Length:·4,·dtype:·timedelta64[ns]367 dtype:·timedelta64[ns]
  
370 In·[21]:·s.dt.total_seconds()368 In·[21]:·s.dt.total_seconds()
371 Out[21]:369 Out[21]:
372 0········60.0370 0········60.0
373 1·····86460.0371 1·····86460.0
374 2····172860.0372 2····172860.0
375 3····259260.0373 3····259260.0
376 Length:·4,·dtype:·float64374 dtype:·float64
377 *\x8**\x8**\x8**\x8*·P\x8Pe\x8er\x8ri\x8io\x8od\x8d·f\x8fr\x8re\x8eq\x8qu\x8ue\x8en\x8nc\x8cy\x8y·e\x8en\x8nh\x8ha\x8an\x8nc\x8ce\x8em\x8me\x8en\x8nt\x8t_\x8#\x8#·*\x8**\x8**\x8**\x8*375 *\x8**\x8**\x8**\x8*·P\x8Pe\x8er\x8ri\x8io\x8od\x8d·f\x8fr\x8re\x8eq\x8qu\x8ue\x8en\x8nc\x8cy\x8y·e\x8en\x8nh\x8ha\x8an\x8nc\x8ce\x8em\x8me\x8en\x8nt\x8t_\x8#\x8#·*\x8**\x8**\x8**\x8*
378 Period,·PeriodIndex·and·period_range·can·now·accept·multiplied·freq.·Also,376 Period,·PeriodIndex·and·period_range·can·now·accept·multiplied·freq.·Also,
379 Period.freq·and·PeriodIndex.freq·are·now·stored·as·a·DateOffset·instance·like377 Period.freq·and·PeriodIndex.freq·are·now·stored·as·a·DateOffset·instance·like
380 DatetimeIndex,·and·not·as·str·(_\x8G_\x8H_\x8·_\x87_\x88_\x81_\x81)378 DatetimeIndex,·and·not·as·str·(_\x8G_\x8H_\x8·_\x87_\x88_\x81_\x81)
381 A·multiplied·freq·represents·a·span·of·corresponding·length.·The·example·below379 A·multiplied·freq·represents·a·span·of·corresponding·length.·The·example·below
382 creates·a·period·of·3·days.·Addition·and·subtraction·will·shift·the·period·by380 creates·a·period·of·3·days.·Addition·and·subtraction·will·shift·the·period·by
383 its·span.381 its·span.
Offset 449, 29 lines modifiedOffset 447, 25 lines modified
449 Out[32]:447 Out[32]:
450 col1··foo····bar448 col1··foo····bar
451 col2····a··b···a··b449 col2····a··b···a··b
452 i1·i2450 i1·i2
453 j··l····1··2···3··4451 j··l····1··2···3··4
454 ···k····5··6···7··8452 ···k····5··6···7··8
  
455 [2·rows·x·4·columns] 
  
456 In·[33]:·df.to_excel("test.xlsx")453 In·[33]:·df.to_excel("test.xlsx")
  
457 In·[34]:·df·=·pd.read_excel("test.xlsx",·header=[0,·1],·index_col=[0,·1])454 In·[34]:·df·=·pd.read_excel("test.xlsx",·header=[0,·1],·index_col=[0,·1])
  
458 In·[35]:·df455 In·[35]:·df
459 Out[35]:456 Out[35]:
460 col1··foo····bar457 col1··foo····bar
461 col2····a··b···a··b458 col2····a··b···a··b
462 i1·i2459 i1·i2
463 j··l····1··2···3··4460 j··l····1··2···3··4
464 ···k····5··6···7··8461 ···k····5··6···7··8
  
465 [2·rows·x·4·columns] 
466 Previously,·it·was·necessary·to·specify·the·has_index_names·argument·in462 Previously,·it·was·necessary·to·specify·the·has_index_names·argument·in
467 read_excel,·if·the·serialized·data·had·index·names.·For·version·0.17.0·the463 read_excel,·if·the·serialized·data·had·index·names.·For·version·0.17.0·the
468 output·format·of·to_excel·has·been·changed·to·make·this·keyword·unnecessary·-464 output·format·of·to_excel·has·been·changed·to·make·this·keyword·unnecessary·-
469 the·change·is·shown·below.465 the·change·is·shown·below.
Max diff block lines reached; 10710/14444 bytes (74.15%) of diff not shown.
5.16 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.17.1.html
    
Offset 1642, 45 lines modifiedOffset 1642, 45 lines modified
  
1642 <span·class="gp">In·[10]:·</span><span·class="n">s</span>1642 <span·class="gp">In·[10]:·</span><span·class="n">s</span>
1643 <span·class="gh">Out[10]:·</span>1643 <span·class="gh">Out[10]:·</span>
1644 <span·class="go">0····a</span>1644 <span·class="go">0····a</span>
1645 <span·class="go">1····a</span>1645 <span·class="go">1····a</span>
1646 <span·class="go">2····b</span>1646 <span·class="go">2····b</span>
1647 <span·class="go">3····b</span>1647 <span·class="go">3····b</span>
1648 <span·class="go">Length:·4,·dtype:·category</span>1648 <span·class="go">dtype:·category</span>
1649 <span·class="go">Categories·(2,·object):·[&#39;a&#39;,·&#39;b&#39;]</span>1649 <span·class="go">Categories·(2,·object):·[&#39;a&#39;,·&#39;b&#39;]</span>
  
1650 <span·class="gp">In·[11]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">contains</span><span·class="p">(</span><span·class="s2">&quot;a&quot;</span><span·class="p">)</span>1650 <span·class="gp">In·[11]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">contains</span><span·class="p">(</span><span·class="s2">&quot;a&quot;</span><span·class="p">)</span>
1651 <span·class="gh">Out[11]:·</span>1651 <span·class="gh">Out[11]:·</span>
1652 <span·class="go">0·····True</span>1652 <span·class="go">0·····True</span>
1653 <span·class="go">1·····True</span>1653 <span·class="go">1·····True</span>
1654 <span·class="go">2····False</span>1654 <span·class="go">2····False</span>
1655 <span·class="go">3····False</span>1655 <span·class="go">3····False</span>
1656 <span·class="go">Length:·4,·dtype:·bool</span>1656 <span·class="go">dtype:·bool</span>
  
1657 <span·class="gp">In·[12]:·</span><span·class="n">date</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">date_range</span><span·class="p">(</span><span·class="s2">&quot;1/1/2015&quot;</span><span·class="p">,</span>·<span·class="n">periods</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">))</span><span·class="o">.</span><span·class="n">astype</span><span·class="p">(</span><span·class="s2">&quot;category&quot;</span><span·class="p">)</span>1657 <span·class="gp">In·[12]:·</span><span·class="n">date</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">(</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">date_range</span><span·class="p">(</span><span·class="s2">&quot;1/1/2015&quot;</span><span·class="p">,</span>·<span·class="n">periods</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">))</span><span·class="o">.</span><span·class="n">astype</span><span·class="p">(</span><span·class="s2">&quot;category&quot;</span><span·class="p">)</span>
  
1658 <span·class="gp">In·[13]:·</span><span·class="n">date</span>1658 <span·class="gp">In·[13]:·</span><span·class="n">date</span>
1659 <span·class="gh">Out[13]:·</span>1659 <span·class="gh">Out[13]:·</span>
1660 <span·class="go">0···2015-01-01</span>1660 <span·class="go">0···2015-01-01</span>
1661 <span·class="go">1···2015-01-02</span>1661 <span·class="go">1···2015-01-02</span>
1662 <span·class="go">2···2015-01-03</span>1662 <span·class="go">2···2015-01-03</span>
1663 <span·class="go">3···2015-01-04</span>1663 <span·class="go">3···2015-01-04</span>
1664 <span·class="go">4···2015-01-05</span>1664 <span·class="go">4···2015-01-05</span>
1665 <span·class="go">Length:·5,·dtype:·category</span>1665 <span·class="go">dtype:·category</span>
1666 <span·class="go">Categories·(5,·datetime64[ns]):·[2015-01-01,·2015-01-02,·2015-01-03,·2015-01-04,·2015-01-05]</span>1666 <span·class="go">Categories·(5,·datetime64[ns]):·[2015-01-01,·2015-01-02,·2015-01-03,·2015-01-04,·2015-01-05]</span>
  
1667 <span·class="gp">In·[14]:·</span><span·class="n">date</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">day</span>1667 <span·class="gp">In·[14]:·</span><span·class="n">date</span><span·class="o">.</span><span·class="n">dt</span><span·class="o">.</span><span·class="n">day</span>
1668 <span·class="gh">Out[14]:·</span>1668 <span·class="gh">Out[14]:·</span>
1669 <span·class="go">0····1</span>1669 <span·class="go">0····1</span>
1670 <span·class="go">1····2</span>1670 <span·class="go">1····2</span>
1671 <span·class="go">2····3</span>1671 <span·class="go">2····3</span>
1672 <span·class="go">3····4</span>1672 <span·class="go">3····4</span>
1673 <span·class="go">4····5</span>1673 <span·class="go">4····5</span>
1674 <span·class="go">Length:·5,·dtype:·int32</span>1674 <span·class="go">dtype:·int32</span>
1675 </pre></div>1675 </pre></div>
1676 </div>1676 </div>
1677 </li>1677 </li>
1678 <li><p><code·class="docutils·literal·notranslate"><span·class="pre">pivot_table</span></code>·now·has·a·<code·class="docutils·literal·notranslate"><span·class="pre">margins_name</span></code>·argument·so·you·can·use·something·other·than·the·default·of·‘All’·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/3335">GH·3335</a>)</p></li>1678 <li><p><code·class="docutils·literal·notranslate"><span·class="pre">pivot_table</span></code>·now·has·a·<code·class="docutils·literal·notranslate"><span·class="pre">margins_name</span></code>·argument·so·you·can·use·something·other·than·the·default·of·‘All’·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/3335">GH·3335</a>)</p></li>
1679 <li><p>Implement·export·of·<code·class="docutils·literal·notranslate"><span·class="pre">datetime64[ns,</span>·<span·class="pre">tz]</span></code>·dtypes·with·a·fixed·HDF5·store·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/11411">GH·11411</a>)</p></li>1679 <li><p>Implement·export·of·<code·class="docutils·literal·notranslate"><span·class="pre">datetime64[ns,</span>·<span·class="pre">tz]</span></code>·dtypes·with·a·fixed·HDF5·store·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/11411">GH·11411</a>)</p></li>
1680 <li><p>Pretty·printing·sets·(e.g.·in·DataFrame·cells)·now·uses·set·literal·syntax·(<code·class="docutils·literal·notranslate"><span·class="pre">{x,</span>·<span·class="pre">y}</span></code>)·instead·of1680 <li><p>Pretty·printing·sets·(e.g.·in·DataFrame·cells)·now·uses·set·literal·syntax·(<code·class="docutils·literal·notranslate"><span·class="pre">{x,</span>·<span·class="pre">y}</span></code>)·instead·of
1681 Legacy·Python·syntax·(<code·class="docutils·literal·notranslate"><span·class="pre">set([x,</span>·<span·class="pre">y])</span></code>)·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/11215">GH·11215</a>)</p></li>1681 Legacy·Python·syntax·(<code·class="docutils·literal·notranslate"><span·class="pre">set([x,</span>·<span·class="pre">y])</span></code>)·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/11215">GH·11215</a>)</p></li>
1.45 KB
html2text {}
    
Offset 229, 47 lines modifiedOffset 229, 47 lines modified
  
229 ······In·[10]:·s229 ······In·[10]:·s
230 ······Out[10]:230 ······Out[10]:
231 ······0····a231 ······0····a
232 ······1····a232 ······1····a
233 ······2····b233 ······2····b
234 ······3····b234 ······3····b
235 ······Length:·4,·dtype:·category235 ······dtype:·category
236 ······Categories·(2,·object):·['a',·'b']236 ······Categories·(2,·object):·['a',·'b']
  
237 ······In·[11]:·s.str.contains("a")237 ······In·[11]:·s.str.contains("a")
238 ······Out[11]:238 ······Out[11]:
239 ······0·····True239 ······0·····True
240 ······1·····True240 ······1·····True
241 ······2····False241 ······2····False
242 ······3····False242 ······3····False
243 ······Length:·4,·dtype:·bool243 ······dtype:·bool
  
244 ······In·[12]:·date·=·pd.Series(pd.date_range("1/1/2015",·periods=5)).astype244 ······In·[12]:·date·=·pd.Series(pd.date_range("1/1/2015",·periods=5)).astype
245 ······("category")245 ······("category")
  
246 ······In·[13]:·date246 ······In·[13]:·date
247 ······Out[13]:247 ······Out[13]:
248 ······0···2015-01-01248 ······0···2015-01-01
249 ······1···2015-01-02249 ······1···2015-01-02
250 ······2···2015-01-03250 ······2···2015-01-03
251 ······3···2015-01-04251 ······3···2015-01-04
252 ······4···2015-01-05252 ······4···2015-01-05
253 ······Length:·5,·dtype:·category253 ······dtype:·category
254 ······Categories·(5,·datetime64[ns]):·[2015-01-01,·2015-01-02,·2015-01-03,254 ······Categories·(5,·datetime64[ns]):·[2015-01-01,·2015-01-02,·2015-01-03,
255 ······2015-01-04,·2015-01-05]255 ······2015-01-04,·2015-01-05]
  
256 ······In·[14]:·date.dt.day256 ······In·[14]:·date.dt.day
257 ······Out[14]:257 ······Out[14]:
258 ······0····1258 ······0····1
259 ······1····2259 ······1····2
260 ······2····3260 ······2····3
261 ······3····4261 ······3····4
262 ······4····5262 ······4····5
263 ······Length:·5,·dtype:·int32263 ······dtype:·int32
264 ····*·pivot_table·now·has·a·margins_name·argument·so·you·can·use·something264 ····*·pivot_table·now·has·a·margins_name·argument·so·you·can·use·something
265 ······other·than·the·default·of·‘All’·(_\x8G_\x8H_\x8·_\x83_\x83_\x83_\x85)265 ······other·than·the·default·of·‘All’·(_\x8G_\x8H_\x8·_\x83_\x83_\x83_\x85)
266 ····*·Implement·export·of·datetime64[ns,·tz]·dtypes·with·a·fixed·HDF5·store·(_\x8G_\x8H266 ····*·Implement·export·of·datetime64[ns,·tz]·dtypes·with·a·fixed·HDF5·store·(_\x8G_\x8H
267 ······_\x81_\x81_\x84_\x81_\x81)267 ······_\x81_\x81_\x84_\x81_\x81)
268 ····*·Pretty·printing·sets·(e.g.·in·DataFrame·cells)·now·uses·set·literal268 ····*·Pretty·printing·sets·(e.g.·in·DataFrame·cells)·now·uses·set·literal
269 ······syntax·({x,·y})·instead·of·Legacy·Python·syntax·(set([x,·y]))·(_\x8G_\x8H_\x8·_\x81_\x81_\x82_\x81_\x85)269 ······syntax·({x,·y})·instead·of·Legacy·Python·syntax·(set([x,·y]))·(_\x8G_\x8H_\x8·_\x81_\x81_\x82_\x81_\x85)
270 ····*·Improve·the·error·message·in·pandas.io.gbq.to_gbq()·when·a·streaming270 ····*·Improve·the·error·message·in·pandas.io.gbq.to_gbq()·when·a·streaming
75.6 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.18.0.html
    
Offset 749, 16 lines modifiedOffset 749, 14 lines modified
749 <span·class="go">3··3·-0.312652</span>749 <span·class="go">3··3·-0.312652</span>
750 <span·class="go">4··4·-0.720589</span>750 <span·class="go">4··4·-0.720589</span>
751 <span·class="go">5··5··0.887163</span>751 <span·class="go">5··5··0.887163</span>
752 <span·class="go">6··6··0.859588</span>752 <span·class="go">6··6··0.859588</span>
753 <span·class="go">7··7·-0.636524</span>753 <span·class="go">7··7·-0.636524</span>
754 <span·class="go">8··8··0.015696</span>754 <span·class="go">8··8··0.015696</span>
755 <span·class="go">9··9·-2.242685</span>755 <span·class="go">9··9·-2.242685</span>
  
756 <span·class="go">[10·rows·x·2·columns]</span> 
757 </pre></div>756 </pre></div>
758 </div>757 </div>
759 <p>Previous·behavior:</p>758 <p>Previous·behavior:</p>
760 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[8]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">rolling_mean</span><span·class="p">(</span><span·class="n">df</span><span·class="p">,</span>·<span·class="n">window</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">)</span>759 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[8]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">rolling_mean</span><span·class="p">(</span><span·class="n">df</span><span·class="p">,</span>·<span·class="n">window</span><span·class="o">=</span><span·class="mi">3</span><span·class="p">)</span>
761 <span·class="go">········FutureWarning:·pd.rolling_mean·is·deprecated·for·DataFrame·and·will·be·removed·in·a·future·version,·replace·with</span>760 <span·class="go">········FutureWarning:·pd.rolling_mean·is·deprecated·for·DataFrame·and·will·be·removed·in·a·future·version,·replace·with</span>
762 <span·class="go">·······················DataFrame.rolling(window=3,center=False).mean()</span>761 <span·class="go">·······················DataFrame.rolling(window=3,center=False).mean()</span>
763 <span·class="gh">Out[8]:</span>762 <span·class="gh">Out[8]:</span>
Offset 800, 16 lines modifiedOffset 798, 14 lines modified
800 <span·class="go">3··2.0·-0.023640</span>798 <span·class="go">3··2.0·-0.023640</span>
801 <span·class="go">4··3.0··0.133155</span>799 <span·class="go">4··3.0··0.133155</span>
802 <span·class="go">5··4.0·-0.048693</span>800 <span·class="go">5··4.0·-0.048693</span>
803 <span·class="go">6··5.0··0.342054</span>801 <span·class="go">6··5.0··0.342054</span>
804 <span·class="go">7··6.0··0.370076</span>802 <span·class="go">7··6.0··0.370076</span>
805 <span·class="go">8··7.0··0.079587</span>803 <span·class="go">8··7.0··0.079587</span>
806 <span·class="go">9··8.0·-0.954504</span>804 <span·class="go">9··8.0·-0.954504</span>
  
807 <span·class="go">[10·rows·x·2·columns]</span> 
808 </pre></div>805 </pre></div>
809 </div>806 </div>
810 <p>They·provide·getitem·accessors</p>807 <p>They·provide·getitem·accessors</p>
811 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[7]:·</span><span·class="n">r</span><span·class="p">[</span><span·class="s1">&#39;A&#39;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">mean</span><span·class="p">()</span>808 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[7]:·</span><span·class="n">r</span><span·class="p">[</span><span·class="s1">&#39;A&#39;</span><span·class="p">]</span><span·class="o">.</span><span·class="n">mean</span><span·class="p">()</span>
812 <span·class="gh">Out[7]:·</span>809 <span·class="gh">Out[7]:·</span>
813 <span·class="go">0····NaN</span>810 <span·class="go">0····NaN</span>
814 <span·class="go">1····NaN</span>811 <span·class="go">1····NaN</span>
Offset 817, 15 lines modifiedOffset 813, 15 lines modified
817 <span·class="go">3····2.0</span>813 <span·class="go">3····2.0</span>
818 <span·class="go">4····3.0</span>814 <span·class="go">4····3.0</span>
819 <span·class="go">5····4.0</span>815 <span·class="go">5····4.0</span>
820 <span·class="go">6····5.0</span>816 <span·class="go">6····5.0</span>
821 <span·class="go">7····6.0</span>817 <span·class="go">7····6.0</span>
822 <span·class="go">8····7.0</span>818 <span·class="go">8····7.0</span>
823 <span·class="go">9····8.0</span>819 <span·class="go">9····8.0</span>
824 <span·class="go">Name:·A,·Length:·10,·dtype:·float64</span>820 <span·class="go">Name:·A,·dtype:·float64</span>
825 </pre></div>821 </pre></div>
826 </div>822 </div>
827 <p>And·multiple·aggregations</p>823 <p>And·multiple·aggregations</p>
828 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[8]:·</span><span·class="n">r</span><span·class="o">.</span><span·class="n">agg</span><span·class="p">({</span><span·class="s1">&#39;A&#39;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">&#39;mean&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;std&#39;</span><span·class="p">],</span>824 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[8]:·</span><span·class="n">r</span><span·class="o">.</span><span·class="n">agg</span><span·class="p">({</span><span·class="s1">&#39;A&#39;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">&#39;mean&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;std&#39;</span><span·class="p">],</span>
829 <span·class="gp">···...:·</span>·······<span·class="s1">&#39;B&#39;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">&#39;mean&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;std&#39;</span><span·class="p">]})</span>825 <span·class="gp">···...:·</span>·······<span·class="s1">&#39;B&#39;</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">&#39;mean&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;std&#39;</span><span·class="p">]})</span>
830 <span·class="gp">···...:·</span>826 <span·class="gp">···...:·</span>
831 <span·class="gh">Out[8]:·</span>827 <span·class="gh">Out[8]:·</span>
Offset 837, 16 lines modifiedOffset 833, 14 lines modified
837 <span·class="go">3··2.0··1.0·-0.023640··1.335505</span>833 <span·class="go">3··2.0··1.0·-0.023640··1.335505</span>
838 <span·class="go">4··3.0··1.0··0.133155··1.143778</span>834 <span·class="go">4··3.0··1.0··0.133155··1.143778</span>
839 <span·class="go">5··4.0··1.0·-0.048693··0.835747</span>835 <span·class="go">5··4.0··1.0·-0.048693··0.835747</span>
840 <span·class="go">6··5.0··1.0··0.342054··0.920379</span>836 <span·class="go">6··5.0··1.0··0.342054··0.920379</span>
841 <span·class="go">7··6.0··1.0··0.370076··0.871850</span>837 <span·class="go">7··6.0··1.0··0.370076··0.871850</span>
842 <span·class="go">8··7.0··1.0··0.079587··0.750099</span>838 <span·class="go">8··7.0··1.0··0.079587··0.750099</span>
843 <span·class="go">9··8.0··1.0·-0.954504··1.162285</span>839 <span·class="go">9··8.0··1.0·-0.954504··1.162285</span>
  
844 <span·class="go">[10·rows·x·4·columns]</span> 
845 </pre></div>840 </pre></div>
846 </div>841 </div>
847 </section>842 </section>
848 <section·id="changes-to-rename">843 <section·id="changes-to-rename">
849 <span·id="whatsnew-0180-enhancements-rename"></span><h3>Changes·to·rename<a·class="headerlink"·href="#changes-to-rename"·title="Link·to·this·heading">#</a></h3>844 <span·id="whatsnew-0180-enhancements-rename"></span><h3>Changes·to·rename<a·class="headerlink"·href="#changes-to-rename"·title="Link·to·this·heading">#</a></h3>
850 <p><code·class="docutils·literal·notranslate"><span·class="pre">Series.rename</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">NDFrame.rename_axis</span></code>·can·now·take·a·scalar·or·list-like845 <p><code·class="docutils·literal·notranslate"><span·class="pre">Series.rename</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">NDFrame.rename_axis</span></code>·can·now·take·a·scalar·or·list-like
851 argument·for·altering·the·Series·or·axis·<em>name</em>,·in·addition·to·their·old·behaviors·of·altering·labels.·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/9494">GH·9494</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/11965">GH·11965</a>)</p>846 argument·for·altering·the·Series·or·axis·<em>name</em>,·in·addition·to·their·old·behaviors·of·altering·labels.·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/9494">GH·9494</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/11965">GH·11965</a>)</p>
Offset 855, 15 lines modifiedOffset 849, 15 lines modified
855 <span·class="gp">In·[10]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">rename</span><span·class="p">(</span><span·class="s1">&#39;newname&#39;</span><span·class="p">)</span>849 <span·class="gp">In·[10]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">rename</span><span·class="p">(</span><span·class="s1">&#39;newname&#39;</span><span·class="p">)</span>
856 <span·class="gh">Out[10]:·</span>850 <span·class="gh">Out[10]:·</span>
857 <span·class="go">0····1.150036</span>851 <span·class="go">0····1.150036</span>
858 <span·class="go">1····0.991946</span>852 <span·class="go">1····0.991946</span>
859 <span·class="go">2····0.953324</span>853 <span·class="go">2····0.953324</span>
860 <span·class="go">3···-2.021255</span>854 <span·class="go">3···-2.021255</span>
861 <span·class="go">4···-0.334077</span>855 <span·class="go">4···-0.334077</span>
862 <span·class="go">Name:·newname,·Length:·5,·dtype:·float64</span>856 <span·class="go">Name:·newname,·dtype:·float64</span>
863 </pre></div>857 </pre></div>
864 </div>858 </div>
865 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[11]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">DataFrame</span><span·class="p">(</span><span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">randn</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">))</span>859 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[11]:·</span><span·class="n">df</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">DataFrame</span><span·class="p">(</span><span·class="n">np</span><span·class="o">.</span><span·class="n">random</span><span·class="o">.</span><span·class="n">randn</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">))</span>
  
866 <span·class="gp">In·[12]:·</span><span·class="p">(</span><span·class="n">df</span><span·class="o">.</span><span·class="n">rename_axis</span><span·class="p">(</span><span·class="s2">&quot;indexname&quot;</span><span·class="p">)</span>860 <span·class="gp">In·[12]:·</span><span·class="p">(</span><span·class="n">df</span><span·class="o">.</span><span·class="n">rename_axis</span><span·class="p">(</span><span·class="s2">&quot;indexname&quot;</span><span·class="p">)</span>
867 <span·class="gp">···....:·</span>···<span·class="o">.</span><span·class="n">rename_axis</span><span·class="p">(</span><span·class="s2">&quot;columns_name&quot;</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="s2">&quot;columns&quot;</span><span·class="p">))</span>861 <span·class="gp">···....:·</span>···<span·class="o">.</span><span·class="n">rename_axis</span><span·class="p">(</span><span·class="s2">&quot;columns_name&quot;</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="s2">&quot;columns&quot;</span><span·class="p">))</span>
868 <span·class="gp">···....:·</span>862 <span·class="gp">···....:·</span>
Offset 871, 16 lines modifiedOffset 865, 14 lines modified
871 <span·class="go">columns_name·········0·········1</span>865 <span·class="go">columns_name·········0·········1</span>
872 <span·class="go">indexname·······················</span>866 <span·class="go">indexname·······················</span>
873 <span·class="go">0·············0.002118··0.405453</span>867 <span·class="go">0·············0.002118··0.405453</span>
874 <span·class="go">1·············0.289092··1.321158</span>868 <span·class="go">1·············0.289092··1.321158</span>
875 <span·class="go">2············-1.546906·-0.202646</span>869 <span·class="go">2············-1.546906·-0.202646</span>
876 <span·class="go">3············-0.655969··0.193421</span>870 <span·class="go">3············-0.655969··0.193421</span>
877 <span·class="go">4·············0.553439··1.318152</span>871 <span·class="go">4·············0.553439··1.318152</span>
  
878 <span·class="go">[5·rows·x·2·columns]</span> 
879 </pre></div>872 </pre></div>
880 </div>873 </div>
881 <p>The·new·functionality·works·well·in·method·chains.·Previously·these·methods·only·accepted·functions·or·dicts·mapping·a·<em>label</em>·to·a·new·label.874 <p>The·new·functionality·works·well·in·method·chains.·Previously·these·methods·only·accepted·functions·or·dicts·mapping·a·<em>label</em>·to·a·new·label.
882 This·continues·to·work·as·before·for·function·or·dict-like·values.</p>875 This·continues·to·work·as·before·for·function·or·dict-like·values.</p>
883 </section>876 </section>
884 <section·id="range-index">877 <section·id="range-index">
885 <span·id="whatsnew-0180-enhancements-rangeindex"></span><h3>Range·Index<a·class="headerlink"·href="#range-index"·title="Link·to·this·heading">#</a></h3>878 <span·id="whatsnew-0180-enhancements-rangeindex"></span><h3>Range·Index<a·class="headerlink"·href="#range-index"·title="Link·to·this·heading">#</a></h3>
Offset 937, 26 lines modifiedOffset 929, 24 lines modified
937 <p>Extracting·a·regular·expression·with·one·group·returns·a·Series·if929 <p>Extracting·a·regular·expression·with·one·group·returns·a·Series·if
938 <code·class="docutils·literal·notranslate"><span·class="pre">expand=False</span></code>.</p>930 <code·class="docutils·literal·notranslate"><span·class="pre">expand=False</span></code>.</p>
939 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[16]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="s1">&#39;a1&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;b2&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;c3&#39;</span><span·class="p">])</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">extract</span><span·class="p">(</span><span·class="sa">r</span><span·class="s1">&#39;[ab](\d)&#39;</span><span·class="p">,</span>·<span·class="n">expand</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span>931 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[16]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="s1">&#39;a1&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;b2&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;c3&#39;</span><span·class="p">])</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">extract</span><span·class="p">(</span><span·class="sa">r</span><span·class="s1">&#39;[ab](\d)&#39;</span><span·class="p">,</span>·<span·class="n">expand</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">)</span>
940 <span·class="gh">Out[16]:·</span>932 <span·class="gh">Out[16]:·</span>
941 <span·class="go">0······1</span>933 <span·class="go">0······1</span>
942 <span·class="go">1······2</span>934 <span·class="go">1······2</span>
943 <span·class="go">2····NaN</span>935 <span·class="go">2····NaN</span>
944 <span·class="go">Length:·3,·dtype:·object</span>936 <span·class="go">dtype:·object</span>
945 </pre></div>937 </pre></div>
946 </div>938 </div>
947 <p>It·returns·a·<code·class="docutils·literal·notranslate"><span·class="pre">DataFrame</span></code>·with·one·column·if·<code·class="docutils·literal·notranslate"><span·class="pre">expand=True</span></code>.</p>939 <p>It·returns·a·<code·class="docutils·literal·notranslate"><span·class="pre">DataFrame</span></code>·with·one·column·if·<code·class="docutils·literal·notranslate"><span·class="pre">expand=True</span></code>.</p>
948 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[17]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="s1">&#39;a1&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;b2&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;c3&#39;</span><span·class="p">])</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">extract</span><span·class="p">(</span><span·class="sa">r</span><span·class="s1">&#39;[ab](\d)&#39;</span><span·class="p">,</span>·<span·class="n">expand</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span>940 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[17]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="s1">&#39;a1&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;b2&#39;</span><span·class="p">,</span>·<span·class="s1">&#39;c3&#39;</span><span·class="p">])</span><span·class="o">.</span><span·class="n">str</span><span·class="o">.</span><span·class="n">extract</span><span·class="p">(</span><span·class="sa">r</span><span·class="s1">&#39;[ab](\d)&#39;</span><span·class="p">,</span>·<span·class="n">expand</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span>
949 <span·class="gh">Out[17]:·</span>941 <span·class="gh">Out[17]:·</span>
950 <span·class="go">·····0</span>942 <span·class="go">·····0</span>
951 <span·class="go">0····1</span>943 <span·class="go">0····1</span>
952 <span·class="go">1····2</span>944 <span·class="go">1····2</span>
953 <span·class="go">2··NaN</span>945 <span·class="go">2··NaN</span>
  
954 <span·class="go">[3·rows·x·1·columns]</span> 
955 </pre></div>946 </pre></div>
956 </div>947 </div>
957 <p>Calling·on·an·<code·class="docutils·literal·notranslate"><span·class="pre">Index</span></code>·with·a·regex·with·exactly·one·capture·group948 <p>Calling·on·an·<code·class="docutils·literal·notranslate"><span·class="pre">Index</span></code>·with·a·regex·with·exactly·one·capture·group
958 returns·an·<code·class="docutils·literal·notranslate"><span·class="pre">Index</span></code>·if·<code·class="docutils·literal·notranslate"><span·class="pre">expand=False</span></code>.</p>949 returns·an·<code·class="docutils·literal·notranslate"><span·class="pre">Index</span></code>·if·<code·class="docutils·literal·notranslate"><span·class="pre">expand=False</span></code>.</p>
959 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[18]:·</span><span·class="n">s</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="s2">&quot;a1&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;b2&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;c3&quot;</span><span·class="p">],</span>·<span·class="p">[</span><span·class="s2">&quot;A11&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;B22&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;C33&quot;</span><span·class="p">])</span>950 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[18]:·</span><span·class="n">s</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">Series</span><span·class="p">([</span><span·class="s2">&quot;a1&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;b2&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;c3&quot;</span><span·class="p">],</span>·<span·class="p">[</span><span·class="s2">&quot;A11&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;B22&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;C33&quot;</span><span·class="p">])</span>
  
960 <span·class="gp">In·[19]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">index</span>951 <span·class="gp">In·[19]:·</span><span·class="n">s</span><span·class="o">.</span><span·class="n">index</span>
Offset 969, 16 lines modifiedOffset 959, 14 lines modified
Max diff block lines reached; 46540/56979 bytes (81.68%) of diff not shown.
19.8 KB
html2text {}
    
Offset 199, 16 lines modifiedOffset 199, 14 lines modified
199 3··3·-0.312652199 3··3·-0.312652
200 4··4·-0.720589200 4··4·-0.720589
201 5··5··0.887163201 5··5··0.887163
202 6··6··0.859588202 6··6··0.859588
203 7··7·-0.636524203 7··7·-0.636524
204 8··8··0.015696204 8··8··0.015696
205 9··9·-2.242685205 9··9·-2.242685
  
206 [10·rows·x·2·columns] 
207 Previous·behavior:206 Previous·behavior:
208 In·[8]:·pd.rolling_mean(df,·window=3)207 In·[8]:·pd.rolling_mean(df,·window=3)
209 ········FutureWarning:·pd.rolling_mean·is·deprecated·for·DataFrame·and·will·be208 ········FutureWarning:·pd.rolling_mean·is·deprecated·for·DataFrame·and·will·be
210 removed·in·a·future·version,·replace·with209 removed·in·a·future·version,·replace·with
211 ·······················DataFrame.rolling(window=3,center=False).mean()210 ·······················DataFrame.rolling(window=3,center=False).mean()
212 Out[8]:211 Out[8]:
213 ····A·········B212 ····A·········B
Offset 243, 30 lines modifiedOffset 241, 28 lines modified
243 3··2.0·-0.023640241 3··2.0·-0.023640
244 4··3.0··0.133155242 4··3.0··0.133155
245 5··4.0·-0.048693243 5··4.0·-0.048693
246 6··5.0··0.342054244 6··5.0··0.342054
247 7··6.0··0.370076245 7··6.0··0.370076
248 8··7.0··0.079587246 8··7.0··0.079587
249 9··8.0·-0.954504247 9··8.0·-0.954504
  
250 [10·rows·x·2·columns] 
251 They·provide·getitem·accessors248 They·provide·getitem·accessors
252 In·[7]:·r['A'].mean()249 In·[7]:·r['A'].mean()
253 Out[7]:250 Out[7]:
254 0····NaN251 0····NaN
255 1····NaN252 1····NaN
256 2····1.0253 2····1.0
257 3····2.0254 3····2.0
258 4····3.0255 4····3.0
259 5····4.0256 5····4.0
260 6····5.0257 6····5.0
261 7····6.0258 7····6.0
262 8····7.0259 8····7.0
263 9····8.0260 9····8.0
264 Name:·A,·Length:·10,·dtype:·float64261 Name:·A,·dtype:·float64
265 And·multiple·aggregations262 And·multiple·aggregations
266 In·[8]:·r.agg({'A':·['mean',·'std'],263 In·[8]:·r.agg({'A':·['mean',·'std'],
267 ···...:········'B':·['mean',·'std']})264 ···...:········'B':·['mean',·'std']})
268 ···...:265 ···...:
269 Out[8]:266 Out[8]:
270 ·····A··············B267 ·····A··············B
271 ··mean··std······mean·······std268 ··mean··std······mean·······std
Offset 276, 45 lines modifiedOffset 272, 41 lines modified
276 3··2.0··1.0·-0.023640··1.335505272 3··2.0··1.0·-0.023640··1.335505
277 4··3.0··1.0··0.133155··1.143778273 4··3.0··1.0··0.133155··1.143778
278 5··4.0··1.0·-0.048693··0.835747274 5··4.0··1.0·-0.048693··0.835747
279 6··5.0··1.0··0.342054··0.920379275 6··5.0··1.0··0.342054··0.920379
280 7··6.0··1.0··0.370076··0.871850276 7··6.0··1.0··0.370076··0.871850
281 8··7.0··1.0··0.079587··0.750099277 8··7.0··1.0··0.079587··0.750099
282 9··8.0··1.0·-0.954504··1.162285278 9··8.0··1.0·-0.954504··1.162285
  
283 [10·rows·x·4·columns] 
284 *\x8**\x8**\x8**\x8*·C\x8Ch\x8ha\x8an\x8ng\x8ge\x8es\x8s·t\x8to\x8o·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8#\x8#·*\x8**\x8**\x8**\x8*279 *\x8**\x8**\x8**\x8*·C\x8Ch\x8ha\x8an\x8ng\x8ge\x8es\x8s·t\x8to\x8o·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8#\x8#·*\x8**\x8**\x8**\x8*
285 Series.rename·and·NDFrame.rename_axis·can·now·take·a·scalar·or·list-like280 Series.rename·and·NDFrame.rename_axis·can·now·take·a·scalar·or·list-like
286 argument·for·altering·the·Series·or·axis·n\x8na\x8am\x8me\x8e,·in·addition·to·their·old281 argument·for·altering·the·Series·or·axis·n\x8na\x8am\x8me\x8e,·in·addition·to·their·old
287 behaviors·of·altering·labels.·(_\x8G_\x8H_\x8·_\x89_\x84_\x89_\x84,·_\x8G_\x8H_\x8·_\x81_\x81_\x89_\x86_\x85)282 behaviors·of·altering·labels.·(_\x8G_\x8H_\x8·_\x89_\x84_\x89_\x84,·_\x8G_\x8H_\x8·_\x81_\x81_\x89_\x86_\x85)
288 In·[9]:·s·=·pd.Series(np.random.randn(5))283 In·[9]:·s·=·pd.Series(np.random.randn(5))
  
289 In·[10]:·s.rename('newname')284 In·[10]:·s.rename('newname')
290 Out[10]:285 Out[10]:
291 0····1.150036286 0····1.150036
292 1····0.991946287 1····0.991946
293 2····0.953324288 2····0.953324
294 3···-2.021255289 3···-2.021255
295 4···-0.334077290 4···-0.334077
296 Name:·newname,·Length:·5,·dtype:·float64291 Name:·newname,·dtype:·float64
297 In·[11]:·df·=·pd.DataFrame(np.random.randn(5,·2))292 In·[11]:·df·=·pd.DataFrame(np.random.randn(5,·2))
  
298 In·[12]:·(df.rename_axis("indexname")293 In·[12]:·(df.rename_axis("indexname")
299 ···....:····.rename_axis("columns_name",·axis="columns"))294 ···....:····.rename_axis("columns_name",·axis="columns"))
300 ···....:295 ···....:
301 Out[12]:296 Out[12]:
302 columns_name·········0·········1297 columns_name·········0·········1
303 indexname298 indexname
304 0·············0.002118··0.405453299 0·············0.002118··0.405453
305 1·············0.289092··1.321158300 1·············0.289092··1.321158
306 2············-1.546906·-0.202646301 2············-1.546906·-0.202646
307 3············-0.655969··0.193421302 3············-0.655969··0.193421
308 4·············0.553439··1.318152303 4·············0.553439··1.318152
  
309 [5·rows·x·2·columns] 
310 The·new·functionality·works·well·in·method·chains.·Previously·these·methods304 The·new·functionality·works·well·in·method·chains.·Previously·these·methods
311 only·accepted·functions·or·dicts·mapping·a·l\x8la\x8ab\x8be\x8el\x8l·to·a·new·label.·This·continues305 only·accepted·functions·or·dicts·mapping·a·l\x8la\x8ab\x8be\x8el\x8l·to·a·new·label.·This·continues
312 to·work·as·before·for·function·or·dict-like·values.306 to·work·as·before·for·function·or·dict-like·values.
313 *\x8**\x8**\x8**\x8*·R\x8Ra\x8an\x8ng\x8ge\x8e·I\x8In\x8nd\x8de\x8ex\x8x_\x8#\x8#·*\x8**\x8**\x8**\x8*307 *\x8**\x8**\x8**\x8*·R\x8Ra\x8an\x8ng\x8ge\x8e·I\x8In\x8nd\x8de\x8ex\x8x_\x8#\x8#·*\x8**\x8**\x8**\x8*
314 A·RangeIndex·has·been·added·to·the·Int64Index·sub-classes·to·support·a·memory308 A·RangeIndex·has·been·added·to·the·Int64Index·sub-classes·to·support·a·memory
315 saving·alternative·for·common·use·cases.·This·has·a·similar·implementation·to309 saving·alternative·for·common·use·cases.·This·has·a·similar·implementation·to
316 the·python·range·object·(xrange·in·python·2),·in·that·it·only·stores·the·start,310 the·python·range·object·(xrange·in·python·2),·in·that·it·only·stores·the·start,
Offset 367, 24 lines modifiedOffset 359, 22 lines modified
367 Extracting·a·regular·expression·with·one·group·returns·a·Series·if359 Extracting·a·regular·expression·with·one·group·returns·a·Series·if
368 expand=False.360 expand=False.
369 In·[16]:·pd.Series(['a1',·'b2',·'c3']).str.extract(r'[ab](\d)',·expand=False)361 In·[16]:·pd.Series(['a1',·'b2',·'c3']).str.extract(r'[ab](\d)',·expand=False)
370 Out[16]:362 Out[16]:
371 0······1363 0······1
372 1······2364 1······2
373 2····NaN365 2····NaN
374 Length:·3,·dtype:·object366 dtype:·object
375 It·returns·a·DataFrame·with·one·column·if·expand=True.367 It·returns·a·DataFrame·with·one·column·if·expand=True.
376 In·[17]:·pd.Series(['a1',·'b2',·'c3']).str.extract(r'[ab](\d)',·expand=True)368 In·[17]:·pd.Series(['a1',·'b2',·'c3']).str.extract(r'[ab](\d)',·expand=True)
377 Out[17]:369 Out[17]:
378 ·····0370 ·····0
379 0····1371 0····1
380 1····2372 1····2
381 2··NaN373 2··NaN
  
382 [3·rows·x·1·columns] 
383 Calling·on·an·Index·with·a·regex·with·exactly·one·capture·group·returns·an374 Calling·on·an·Index·with·a·regex·with·exactly·one·capture·group·returns·an
384 Index·if·expand=False.375 Index·if·expand=False.
385 In·[18]:·s·=·pd.Series(["a1",·"b2",·"c3"],·["A11",·"B22",·"C33"])376 In·[18]:·s·=·pd.Series(["a1",·"b2",·"c3"],·["A11",·"B22",·"C33"])
  
386 In·[19]:·s.index377 In·[19]:·s.index
387 Out[19]:·Index(['A11',·'B22',·'C33'],·dtype='object')378 Out[19]:·Index(['A11',·'B22',·'C33'],·dtype='object')
  
Offset 393, 61 lines modifiedOffset 383, 53 lines modified
393 It·returns·a·DataFrame·with·one·column·if·expand=True.383 It·returns·a·DataFrame·with·one·column·if·expand=True.
394 In·[21]:·s.index.str.extract("(?P<letter>[a-zA-Z])",·expand=True)384 In·[21]:·s.index.str.extract("(?P<letter>[a-zA-Z])",·expand=True)
395 Out[21]:385 Out[21]:
396 ··letter386 ··letter
397 0······A387 0······A
398 1······B388 1······B
399 2······C389 2······C
  
Max diff block lines reached; 16520/20299 bytes (81.38%) of diff not shown.
24.8 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.18.1.html
    
Offset 724, 15 lines modifiedOffset 724, 15 lines modified
  
724 <span·class="gp">In·[6]:·</span><span·class="n">dt</span>·<span·class="o">+</span>·<span·class="n">bhour_us</span>724 <span·class="gp">In·[6]:·</span><span·class="n">dt</span>·<span·class="o">+</span>·<span·class="n">bhour_us</span>
725 <span·class="gh">Out[6]:·</span><span·class="go">Timestamp(&#39;2014-01-17·16:00:00&#39;)</span>725 <span·class="gh">Out[6]:·</span><span·class="go">Timestamp(&#39;2014-01-17·16:00:00&#39;)</span>
726 </pre></div>726 </pre></div>
727 </div>727 </div>
728 <p>Tuesday·after·MLK·Day·(Monday·is·skipped·because·it’s·a·holiday)</p>728 <p>Tuesday·after·MLK·Day·(Monday·is·skipped·because·it’s·a·holiday)</p>
729 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[7]:·</span><span·class="n">dt</span>·<span·class="o">+</span>·<span·class="n">bhour_us</span>·<span·class="o">*</span>·<span·class="mi">2</span>729 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[7]:·</span><span·class="n">dt</span>·<span·class="o">+</span>·<span·class="n">bhour_us</span>·<span·class="o">*</span>·<span·class="mi">2</span>
730 <span·class="gh">Out[7]:·</span><span·class="go">Timestamp(&#39;2014-01-20·09:00:00&#39;)</span>730 <span·class="gh">Out[7]:·</span><span·class="go">Timestamp(&#39;2014-01-21·09:00:00&#39;)</span>
731 </pre></div>731 </pre></div>
732 </div>732 </div>
733 </section>733 </section>
734 <section·id="method-groupby-syntax-with-window-and-resample-operations">734 <section·id="method-groupby-syntax-with-window-and-resample-operations">
735 <span·id="whatsnew-0181-deferred-ops"></span><h3>Method·<code·class="docutils·literal·notranslate"><span·class="pre">.groupby(..)</span></code>·syntax·with·window·and·resample·operations<a·class="headerlink"·href="#method-groupby-syntax-with-window-and-resample-operations"·title="Link·to·this·heading">#</a></h3>735 <span·id="whatsnew-0181-deferred-ops"></span><h3>Method·<code·class="docutils·literal·notranslate"><span·class="pre">.groupby(..)</span></code>·syntax·with·window·and·resample·operations<a·class="headerlink"·href="#method-groupby-syntax-with-window-and-resample-operations"·title="Link·to·this·heading">#</a></h3>
736 <p><code·class="docutils·literal·notranslate"><span·class="pre">.groupby(...)</span></code>·has·been·enhanced·to·provide·convenient·syntax·when·working·with·<code·class="docutils·literal·notranslate"><span·class="pre">.rolling(..)</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">.expanding(..)</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">.resample(..)</span></code>·per·group,·see·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/12486">GH·12486</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/12738">GH·12738</a>).</p>736 <p><code·class="docutils·literal·notranslate"><span·class="pre">.groupby(...)</span></code>·has·been·enhanced·to·provide·convenient·syntax·when·working·with·<code·class="docutils·literal·notranslate"><span·class="pre">.rolling(..)</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">.expanding(..)</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">.resample(..)</span></code>·per·group,·see·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/12486">GH·12486</a>,·<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/12738">GH·12738</a>).</p>
737 <p>You·can·now·use·<code·class="docutils·literal·notranslate"><span·class="pre">.rolling(..)</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">.expanding(..)</span></code>·as·methods·on·groupbys.·These·return·another·deferred·object·(similar·to·what·<code·class="docutils·literal·notranslate"><span·class="pre">.rolling()</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">.expanding()</span></code>·do·on·ungrouped·pandas·objects).·You·can·then·operate·on·these·<code·class="docutils·literal·notranslate"><span·class="pre">RollingGroupby</span></code>·objects·in·a·similar·manner.</p>737 <p>You·can·now·use·<code·class="docutils·literal·notranslate"><span·class="pre">.rolling(..)</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">.expanding(..)</span></code>·as·methods·on·groupbys.·These·return·another·deferred·object·(similar·to·what·<code·class="docutils·literal·notranslate"><span·class="pre">.rolling()</span></code>·and·<code·class="docutils·literal·notranslate"><span·class="pre">.expanding()</span></code>·do·on·ungrouped·pandas·objects).·You·can·then·operate·on·these·<code·class="docutils·literal·notranslate"><span·class="pre">RollingGroupby</span></code>·objects·in·a·similar·manner.</p>
Offset 835, 16 lines modifiedOffset 835, 14 lines modified
835 <span·class="gh">Out[12]:·</span>835 <span·class="gh">Out[12]:·</span>
836 <span·class="go">············group··val</span>836 <span·class="go">············group··val</span>
837 <span·class="go">date··················</span>837 <span·class="go">date··················</span>
838 <span·class="go">2016-01-03······1····5</span>838 <span·class="go">2016-01-03······1····5</span>
839 <span·class="go">2016-01-10······1····6</span>839 <span·class="go">2016-01-10······1····6</span>
840 <span·class="go">2016-01-17······2····7</span>840 <span·class="go">2016-01-17······2····7</span>
841 <span·class="go">2016-01-24······2····8</span>841 <span·class="go">2016-01-24······2····8</span>
  
842 <span·class="go">[4·rows·x·2·columns]</span> 
843 </pre></div>842 </pre></div>
844 </div>843 </div>
845 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="n">In</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]:</span>·<span·class="n">df</span><span·class="o">.</span><span·class="n">groupby</span><span·class="p">(</span><span·class="s2">&quot;group&quot;</span><span·class="p">)</span><span·class="o">.</span><span·class="n">apply</span><span·class="p">(</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span><span·class="o">.</span><span·class="n">resample</span><span·class="p">(</span><span·class="s2">&quot;1D&quot;</span><span·class="p">)</span><span·class="o">.</span><span·class="n">ffill</span><span·class="p">())</span>844 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="n">In</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]:</span>·<span·class="n">df</span><span·class="o">.</span><span·class="n">groupby</span><span·class="p">(</span><span·class="s2">&quot;group&quot;</span><span·class="p">)</span><span·class="o">.</span><span·class="n">apply</span><span·class="p">(</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span><span·class="o">.</span><span·class="n">resample</span><span·class="p">(</span><span·class="s2">&quot;1D&quot;</span><span·class="p">)</span><span·class="o">.</span><span·class="n">ffill</span><span·class="p">())</span>
846 <span·class="n">Out</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]:</span>845 <span·class="n">Out</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]:</span>
847 ··················<span·class="n">group</span>··<span·class="n">val</span>846 ··················<span·class="n">group</span>··<span·class="n">val</span>
848 <span·class="n">group</span>·<span·class="n">date</span>847 <span·class="n">group</span>·<span·class="n">date</span>
849 <span·class="mi">1</span>·····<span·class="mi">2016</span><span·class="o">-</span><span·class="mi">01</span><span·class="o">-</span><span·class="mi">03</span>······<span·class="mi">1</span>····<span·class="mi">5</span>848 <span·class="mi">1</span>·····<span·class="mi">2016</span><span·class="o">-</span><span·class="mi">01</span><span·class="o">-</span><span·class="mi">03</span>······<span·class="mi">1</span>····<span·class="mi">5</span>
Offset 907, 54 lines modifiedOffset 905, 48 lines modified
  
907 <span·class="gp">In·[14]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">where</span><span·class="p">(</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span>·<span·class="o">&gt;</span>·<span·class="mi">4</span><span·class="p">,</span>·<span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span>·<span·class="o">+</span>·<span·class="mi">10</span><span·class="p">)</span>905 <span·class="gp">In·[14]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">where</span><span·class="p">(</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span>·<span·class="o">&gt;</span>·<span·class="mi">4</span><span·class="p">,</span>·<span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span>·<span·class="o">+</span>·<span·class="mi">10</span><span·class="p">)</span>
908 <span·class="gh">Out[14]:·</span>906 <span·class="gh">Out[14]:·</span>
909 <span·class="go">····A···B··C</span>907 <span·class="go">····A···B··C</span>
910 <span·class="go">0··11··14··7</span>908 <span·class="go">0··11··14··7</span>
911 <span·class="go">1··12···5··8</span>909 <span·class="go">1··12···5··8</span>
912 <span·class="go">2··13···6··9</span>910 <span·class="go">2··13···6··9</span>
  
913 <span·class="go">[3·rows·x·3·columns]</span> 
914 </pre></div>911 </pre></div>
915 </div>912 </div>
916 </section>913 </section>
917 <section·id="methods-loc-iloc-ix">914 <section·id="methods-loc-iloc-ix">
918 <h4>Methods·<code·class="docutils·literal·notranslate"><span·class="pre">.loc[]</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">.iloc[]</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">.ix[]</span></code><a·class="headerlink"·href="#methods-loc-iloc-ix"·title="Link·to·this·heading">#</a></h4>915 <h4>Methods·<code·class="docutils·literal·notranslate"><span·class="pre">.loc[]</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">.iloc[]</span></code>,·<code·class="docutils·literal·notranslate"><span·class="pre">.ix[]</span></code><a·class="headerlink"·href="#methods-loc-iloc-ix"·title="Link·to·this·heading">#</a></h4>
919 <p>These·can·accept·a·callable,·and·a·tuple·of·callable·as·a·slicer.·The·callable916 <p>These·can·accept·a·callable,·and·a·tuple·of·callable·as·a·slicer.·The·callable
920 can·return·a·valid·boolean·indexer·or·anything·which·is·valid·for·these·indexer’s·input.</p>917 can·return·a·valid·boolean·indexer·or·anything·which·is·valid·for·these·indexer’s·input.</p>
921 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·callable·returns·bool·indexer</span>918 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="go">#·callable·returns·bool·indexer</span>
922 <span·class="gp">In·[15]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">loc</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span><span·class="o">.</span><span·class="n">A</span>·<span·class="o">&gt;=</span>·<span·class="mi">2</span><span·class="p">,</span>·<span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span><span·class="o">.</span><span·class="n">sum</span><span·class="p">()</span>·<span·class="o">&gt;</span>·<span·class="mi">10</span><span·class="p">]</span>919 <span·class="gp">In·[15]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">loc</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span><span·class="o">.</span><span·class="n">A</span>·<span·class="o">&gt;=</span>·<span·class="mi">2</span><span·class="p">,</span>·<span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="n">x</span><span·class="o">.</span><span·class="n">sum</span><span·class="p">()</span>·<span·class="o">&gt;</span>·<span·class="mi">10</span><span·class="p">]</span>
923 <span·class="gh">Out[15]:·</span>920 <span·class="gh">Out[15]:·</span>
924 <span·class="go">···B··C</span>921 <span·class="go">···B··C</span>
925 <span·class="go">1··5··8</span>922 <span·class="go">1··5··8</span>
926 <span·class="go">2··6··9</span>923 <span·class="go">2··6··9</span>
  
927 <span·class="go">[2·rows·x·2·columns]</span> 
  
928 <span·class="go">#·callable·returns·list·of·labels</span>924 <span·class="go">#·callable·returns·list·of·labels</span>
929 <span·class="gp">In·[16]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">loc</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">],</span>·<span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s2">&quot;A&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;B&quot;</span><span·class="p">]]</span>925 <span·class="gp">In·[16]:·</span><span·class="n">df</span><span·class="o">.</span><span·class="n">loc</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">2</span><span·class="p">],</span>·<span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s2">&quot;A&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;B&quot;</span><span·class="p">]]</span>
930 <span·class="gh">Out[16]:·</span>926 <span·class="gh">Out[16]:·</span>
931 <span·class="go">···A··B</span>927 <span·class="go">···A··B</span>
932 <span·class="go">1··2··5</span>928 <span·class="go">1··2··5</span>
933 <span·class="go">2··3··6</span>929 <span·class="go">2··3··6</span>
  
934 <span·class="go">[2·rows·x·2·columns]</span> 
935 </pre></div>930 </pre></div>
936 </div>931 </div>
937 </section>932 </section>
938 <section·id="indexing-with">933 <section·id="indexing-with">
939 <h4>Indexing·with·<code·class="docutils·literal·notranslate"><span·class="pre">[]</span></code><a·class="headerlink"·href="#indexing-with"·title="Link·to·this·heading">#</a></h4>934 <h4>Indexing·with·<code·class="docutils·literal·notranslate"><span·class="pre">[]</span></code><a·class="headerlink"·href="#indexing-with"·title="Link·to·this·heading">#</a></h4>
940 <p>Finally,·you·can·use·a·callable·in·<code·class="docutils·literal·notranslate"><span·class="pre">[]</span></code>·indexing·of·Series,·DataFrame·and·Panel.935 <p>Finally,·you·can·use·a·callable·in·<code·class="docutils·literal·notranslate"><span·class="pre">[]</span></code>·indexing·of·Series,·DataFrame·and·Panel.
941 The·callable·must·return·a·valid·input·for·<code·class="docutils·literal·notranslate"><span·class="pre">[]</span></code>·indexing·depending·on·its936 The·callable·must·return·a·valid·input·for·<code·class="docutils·literal·notranslate"><span·class="pre">[]</span></code>·indexing·depending·on·its
942 class·and·index·type.</p>937 class·and·index·type.</p>
943 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[17]:·</span><span·class="n">df</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="s2">&quot;A&quot;</span><span·class="p">]</span>938 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[17]:·</span><span·class="n">df</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">x</span><span·class="p">:</span>·<span·class="s2">&quot;A&quot;</span><span·class="p">]</span>
944 <span·class="gh">Out[17]:·</span>939 <span·class="gh">Out[17]:·</span>
945 <span·class="go">0····1</span>940 <span·class="go">0····1</span>
946 <span·class="go">1····2</span>941 <span·class="go">1····2</span>
947 <span·class="go">2····3</span>942 <span·class="go">2····3</span>
948 <span·class="go">Name:·A,·Length:·3,·dtype:·int64</span>943 <span·class="go">Name:·A,·dtype:·int64</span>
949 </pre></div>944 </pre></div>
950 </div>945 </div>
951 <p>Using·these·methods·/·indexers,·you·can·chain·data·selection·operations946 <p>Using·these·methods·/·indexers,·you·can·chain·data·selection·operations
952 without·using·temporary·variable.</p>947 without·using·temporary·variable.</p>
953 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[18]:·</span><span·class="n">bb</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">read_csv</span><span·class="p">(</span><span·class="s2">&quot;data/baseball.csv&quot;</span><span·class="p">,</span>·<span·class="n">index_col</span><span·class="o">=</span><span·class="s2">&quot;id&quot;</span><span·class="p">)</span>948 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[18]:·</span><span·class="n">bb</span>·<span·class="o">=</span>·<span·class="n">pd</span><span·class="o">.</span><span·class="n">read_csv</span><span·class="p">(</span><span·class="s2">&quot;data/baseball.csv&quot;</span><span·class="p">,</span>·<span·class="n">index_col</span><span·class="o">=</span><span·class="s2">&quot;id&quot;</span><span·class="p">)</span>
  
954 <span·class="gp">In·[19]:·</span><span·class="p">(</span><span·class="n">bb</span><span·class="o">.</span><span·class="n">groupby</span><span·class="p">([</span><span·class="s2">&quot;year&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;team&quot;</span><span·class="p">])</span><span·class="o">.</span><span·class="n">sum</span><span·class="p">(</span><span·class="n">numeric_only</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span><span·class="o">.</span><span·class="n">loc</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">df</span><span·class="p">:</span>·<span·class="n">df</span><span·class="o">.</span><span·class="n">r</span>·<span·class="o">&gt;</span>·<span·class="mi">100</span><span·class="p">])</span>949 <span·class="gp">In·[19]:·</span><span·class="p">(</span><span·class="n">bb</span><span·class="o">.</span><span·class="n">groupby</span><span·class="p">([</span><span·class="s2">&quot;year&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;team&quot;</span><span·class="p">])</span><span·class="o">.</span><span·class="n">sum</span><span·class="p">(</span><span·class="n">numeric_only</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">)</span><span·class="o">.</span><span·class="n">loc</span><span·class="p">[</span><span·class="k">lambda</span>·<span·class="n">df</span><span·class="p">:</span>·<span·class="n">df</span><span·class="o">.</span><span·class="n">r</span>·<span·class="o">&gt;</span>·<span·class="mi">100</span><span·class="p">])</span>
Offset 1058, 32 lines modifiedOffset 1050, 30 lines modified
1058 <span·class="gp">···....:·</span>1050 <span·class="gp">···....:·</span>
  
1059 <span·class="gp">In·[21]:·</span><span·class="n">df</span>1051 <span·class="gp">In·[21]:·</span><span·class="n">df</span>
1060 <span·class="gh">Out[21]:·</span>1052 <span·class="gh">Out[21]:·</span>
1061 <span·class="go">···year··month··day··hour</span>1053 <span·class="go">···year··month··day··hour</span>
1062 <span·class="go">0··2015······2····4·····2</span>1054 <span·class="go">0··2015······2····4·····2</span>
1063 <span·class="go">1··2016······3····5·····3</span>1055 <span·class="go">1··2016······3····5·····3</span>
  
1064 <span·class="go">[2·rows·x·4·columns]</span> 
1065 </pre></div>1056 </pre></div>
1066 </div>1057 </div>
1067 <p>Assembling·using·the·passed·frame.</p>1058 <p>Assembling·using·the·passed·frame.</p>
1068 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[22]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">to_datetime</span><span·class="p">(</span><span·class="n">df</span><span·class="p">)</span>1059 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[22]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">to_datetime</span><span·class="p">(</span><span·class="n">df</span><span·class="p">)</span>
1069 <span·class="gh">Out[22]:·</span>1060 <span·class="gh">Out[22]:·</span>
1070 <span·class="go">0···2015-02-04·02:00:00</span>1061 <span·class="go">0···2015-02-04·02:00:00</span>
1071 <span·class="go">1···2016-03-05·03:00:00</span>1062 <span·class="go">1···2016-03-05·03:00:00</span>
1072 <span·class="go">Length:·2,·dtype:·datetime64[ns]</span>1063 <span·class="go">dtype:·datetime64[ns]</span>
1073 </pre></div>1064 </pre></div>
1074 </div>1065 </div>
1075 <p>You·can·pass·only·the·columns·that·you·need·to·assemble.</p>1066 <p>You·can·pass·only·the·columns·that·you·need·to·assemble.</p>
1076 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[23]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">to_datetime</span><span·class="p">(</span><span·class="n">df</span><span·class="p">[[</span><span·class="s2">&quot;year&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;month&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;day&quot;</span><span·class="p">]])</span>1067 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[23]:·</span><span·class="n">pd</span><span·class="o">.</span><span·class="n">to_datetime</span><span·class="p">(</span><span·class="n">df</span><span·class="p">[[</span><span·class="s2">&quot;year&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;month&quot;</span><span·class="p">,</span>·<span·class="s2">&quot;day&quot;</span><span·class="p">]])</span>
1077 <span·class="gh">Out[23]:·</span>1068 <span·class="gh">Out[23]:·</span>
1078 <span·class="go">0···2015-02-04</span>1069 <span·class="go">0···2015-02-04</span>
1079 <span·class="go">1···2016-03-05</span>1070 <span·class="go">1···2016-03-05</span>
1080 <span·class="go">Length:·2,·dtype:·datetime64[ns]</span>1071 <span·class="go">dtype:·datetime64[ns]</span>
1081 </pre></div>1072 </pre></div>
1082 </div>1073 </div>
1083 </section>1074 </section>
1084 <section·id="other-enhancements">1075 <section·id="other-enhancements">
1085 <span·id="whatsnew-0181-other"></span><h3>Other·enhancements<a·class="headerlink"·href="#other-enhancements"·title="Link·to·this·heading">#</a></h3>1076 <span·id="whatsnew-0181-other"></span><h3>Other·enhancements<a·class="headerlink"·href="#other-enhancements"·title="Link·to·this·heading">#</a></h3>
1086 <ul>1077 <ul>
1087 <li><p><code·class="docutils·literal·notranslate"><span·class="pre">pd.read_csv()</span></code>·now·supports·<code·class="docutils·literal·notranslate"><span·class="pre">delim_whitespace=True</span></code>·for·the·Python·engine·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/12958">GH·12958</a>)</p></li>1078 <li><p><code·class="docutils·literal·notranslate"><span·class="pre">pd.read_csv()</span></code>·now·supports·<code·class="docutils·literal·notranslate"><span·class="pre">delim_whitespace=True</span></code>·for·the·Python·engine·(<a·class="extlink-issue·reference·external"·href="https://github.com/pandas-dev/pandas/issues/12958">GH·12958</a>)</p></li>
Offset 1168, 16 lines modifiedOffset 1158, 14 lines modified
  
1168 <span·class="gp">In·[30]:·</span><span·class="n">df</span>1158 <span·class="gp">In·[30]:·</span><span·class="n">df</span>
1169 <span·class="gh">Out[30]:·</span>1159 <span·class="gh">Out[30]:·</span>
1170 <span·class="go">···A··B</span>1160 <span·class="go">···A··B</span>
1171 <span·class="go">0··a··1</span>1161 <span·class="go">0··a··1</span>
1172 <span·class="go">1··b··2</span>1162 <span·class="go">1··b··2</span>
Max diff block lines reached; 6892/19211 bytes (35.88%) of diff not shown.
5.88 KB
html2text {}
    
Offset 173, 15 lines modifiedOffset 173, 15 lines modified
  
173 In·[5]:·dt·=·datetime.datetime(2014,·1,·17,·15)173 In·[5]:·dt·=·datetime.datetime(2014,·1,·17,·15)
  
174 In·[6]:·dt·+·bhour_us174 In·[6]:·dt·+·bhour_us
175 Out[6]:·Timestamp('2014-01-17·16:00:00')175 Out[6]:·Timestamp('2014-01-17·16:00:00')
176 Tuesday·after·MLK·Day·(Monday·is·skipped·because·it’s·a·holiday)176 Tuesday·after·MLK·Day·(Monday·is·skipped·because·it’s·a·holiday)
177 In·[7]:·dt·+·bhour_us·*·2177 In·[7]:·dt·+·bhour_us·*·2
178 Out[7]:·Timestamp('2014-01-20·09:00:00')178 Out[7]:·Timestamp('2014-01-21·09:00:00')
179 *\x8**\x8**\x8**\x8*·M\x8Me\x8et\x8th\x8ho\x8od\x8d·.\x8.g\x8gr\x8ro\x8ou\x8up\x8pb\x8by\x8y(\x8(.\x8..\x8.)\x8)·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·w\x8wi\x8it\x8th\x8h·w\x8wi\x8in\x8nd\x8do\x8ow\x8w·a\x8an\x8nd\x8d·r\x8re\x8es\x8sa\x8am\x8mp\x8pl\x8le\x8e·o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8ns\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*179 *\x8**\x8**\x8**\x8*·M\x8Me\x8et\x8th\x8ho\x8od\x8d·.\x8.g\x8gr\x8ro\x8ou\x8up\x8pb\x8by\x8y(\x8(.\x8..\x8.)\x8)·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·w\x8wi\x8it\x8th\x8h·w\x8wi\x8in\x8nd\x8do\x8ow\x8w·a\x8an\x8nd\x8d·r\x8re\x8es\x8sa\x8am\x8mp\x8pl\x8le\x8e·o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8ns\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*
180 .groupby(...)·has·been·enhanced·to·provide·convenient·syntax·when·working·with180 .groupby(...)·has·been·enhanced·to·provide·convenient·syntax·when·working·with
181 .rolling(..),·.expanding(..)·and·.resample(..)·per·group,·see·(_\x8G_\x8H_\x8·_\x81_\x82_\x84_\x88_\x86,·_\x8G_\x8H181 .rolling(..),·.expanding(..)·and·.resample(..)·per·group,·see·(_\x8G_\x8H_\x8·_\x81_\x82_\x84_\x88_\x86,·_\x8G_\x8H
182 _\x81_\x82_\x87_\x83_\x88).182 _\x81_\x82_\x87_\x83_\x88).
183 You·can·now·use·.rolling(..)·and·.expanding(..)·as·methods·on·groupbys.·These183 You·can·now·use·.rolling(..)·and·.expanding(..)·as·methods·on·groupbys.·These
184 return·another·deferred·object·(similar·to·what·.rolling()·and·.expanding()·do184 return·another·deferred·object·(similar·to·what·.rolling()·and·.expanding()·do
185 on·ungrouped·pandas·objects).·You·can·then·operate·on·these·RollingGroupby185 on·ungrouped·pandas·objects).·You·can·then·operate·on·these·RollingGroupby
Offset 281, 16 lines modifiedOffset 281, 14 lines modified
281 Out[12]:281 Out[12]:
282 ············group··val282 ············group··val
283 date283 date
284 2016-01-03······1····5284 2016-01-03······1····5
285 2016-01-10······1····6285 2016-01-10······1····6
286 2016-01-17······2····7286 2016-01-17······2····7
287 2016-01-24······2····8287 2016-01-24······2····8
  
288 [4·rows·x·2·columns] 
289 In[1]:·df.groupby("group").apply(lambda·x:·x.resample("1D").ffill())288 In[1]:·df.groupby("group").apply(lambda·x:·x.resample("1D").ffill())
290 Out[1]:289 Out[1]:
291 ··················group··val290 ··················group··val
292 group·date291 group·date
293 1·····2016-01-03······1····5292 1·····2016-01-03······1····5
294 ······2016-01-04······1····5293 ······2016-01-04······1····5
295 ······2016-01-05······1····5294 ······2016-01-05······1····5
Offset 340, 47 lines modifiedOffset 338, 41 lines modified
  
340 In·[14]:·df.where(lambda·x:·x·>·4,·lambda·x:·x·+·10)338 In·[14]:·df.where(lambda·x:·x·>·4,·lambda·x:·x·+·10)
341 Out[14]:339 Out[14]:
342 ····A···B··C340 ····A···B··C
343 0··11··14··7341 0··11··14··7
344 1··12···5··8342 1··12···5··8
345 2··13···6··9343 2··13···6··9
  
346 [3·rows·x·3·columns] 
347 *\x8**\x8**\x8*·M\x8Me\x8et\x8th\x8ho\x8od\x8ds\x8s·.\x8.l\x8lo\x8oc\x8c[\x8[]\x8],\x8,·.\x8.i\x8il\x8lo\x8oc\x8c[\x8[]\x8],\x8,·.\x8.i\x8ix\x8x[\x8[]\x8]_\x8#\x8#·*\x8**\x8**\x8*344 *\x8**\x8**\x8*·M\x8Me\x8et\x8th\x8ho\x8od\x8ds\x8s·.\x8.l\x8lo\x8oc\x8c[\x8[]\x8],\x8,·.\x8.i\x8il\x8lo\x8oc\x8c[\x8[]\x8],\x8,·.\x8.i\x8ix\x8x[\x8[]\x8]_\x8#\x8#·*\x8**\x8**\x8*
348 These·can·accept·a·callable,·and·a·tuple·of·callable·as·a·slicer.·The·callable345 These·can·accept·a·callable,·and·a·tuple·of·callable·as·a·slicer.·The·callable
349 can·return·a·valid·boolean·indexer·or·anything·which·is·valid·for·these346 can·return·a·valid·boolean·indexer·or·anything·which·is·valid·for·these
350 indexer’s·input.347 indexer’s·input.
351 #·callable·returns·bool·indexer348 #·callable·returns·bool·indexer
352 In·[15]:·df.loc[lambda·x:·x.A·>=·2,·lambda·x:·x.sum()·>·10]349 In·[15]:·df.loc[lambda·x:·x.A·>=·2,·lambda·x:·x.sum()·>·10]
353 Out[15]:350 Out[15]:
354 ···B··C351 ···B··C
355 1··5··8352 1··5··8
356 2··6··9353 2··6··9
  
357 [2·rows·x·2·columns] 
  
358 #·callable·returns·list·of·labels354 #·callable·returns·list·of·labels
359 In·[16]:·df.loc[lambda·x:·[1,·2],·lambda·x:·["A",·"B"]]355 In·[16]:·df.loc[lambda·x:·[1,·2],·lambda·x:·["A",·"B"]]
360 Out[16]:356 Out[16]:
361 ···A··B357 ···A··B
362 1··2··5358 1··2··5
363 2··3··6359 2··3··6
  
364 [2·rows·x·2·columns] 
365 *\x8**\x8**\x8*·I\x8In\x8nd\x8de\x8ex\x8xi\x8in\x8ng\x8g·w\x8wi\x8it\x8th\x8h·[\x8[]\x8]_\x8#\x8#·*\x8**\x8**\x8*360 *\x8**\x8**\x8*·I\x8In\x8nd\x8de\x8ex\x8xi\x8in\x8ng\x8g·w\x8wi\x8it\x8th\x8h·[\x8[]\x8]_\x8#\x8#·*\x8**\x8**\x8*
366 Finally,·you·can·use·a·callable·in·[]·indexing·of·Series,·DataFrame·and·Panel.361 Finally,·you·can·use·a·callable·in·[]·indexing·of·Series,·DataFrame·and·Panel.
367 The·callable·must·return·a·valid·input·for·[]·indexing·depending·on·its·class362 The·callable·must·return·a·valid·input·for·[]·indexing·depending·on·its·class
368 and·index·type.363 and·index·type.
369 In·[17]:·df[lambda·x:·"A"]364 In·[17]:·df[lambda·x:·"A"]
370 Out[17]:365 Out[17]:
371 0····1366 0····1
372 1····2367 1····2
373 2····3368 2····3
374 Name:·A,·Length:·3,·dtype:·int64369 Name:·A,·dtype:·int64
375 Using·these·methods·/·indexers,·you·can·chain·data·selection·operations·without370 Using·these·methods·/·indexers,·you·can·chain·data·selection·operations·without
376 using·temporary·variable.371 using·temporary·variable.
377 In·[18]:·bb·=·pd.read_csv("data/baseball.csv",·index_col="id")372 In·[18]:·bb·=·pd.read_csv("data/baseball.csv",·index_col="id")
  
378 In·[19]:·(bb.groupby(["year",·"team"]).sum(numeric_only=True).loc[lambda·df:373 In·[19]:·(bb.groupby(["year",·"team"]).sum(numeric_only=True).loc[lambda·df:
379 df.r·>·100])374 df.r·>·100])
380 Out[19]:375 Out[19]:
Offset 486, 28 lines modifiedOffset 478, 26 lines modified
486 ···....:478 ···....:
  
487 In·[21]:·df479 In·[21]:·df
488 Out[21]:480 Out[21]:
489 ···year··month··day··hour481 ···year··month··day··hour
490 0··2015······2····4·····2482 0··2015······2····4·····2
491 1··2016······3····5·····3483 1··2016······3····5·····3
  
492 [2·rows·x·4·columns] 
493 Assembling·using·the·passed·frame.484 Assembling·using·the·passed·frame.
494 In·[22]:·pd.to_datetime(df)485 In·[22]:·pd.to_datetime(df)
495 Out[22]:486 Out[22]:
496 0···2015-02-04·02:00:00487 0···2015-02-04·02:00:00
497 1···2016-03-05·03:00:00488 1···2016-03-05·03:00:00
498 Length:·2,·dtype:·datetime64[ns]489 dtype:·datetime64[ns]
499 You·can·pass·only·the·columns·that·you·need·to·assemble.490 You·can·pass·only·the·columns·that·you·need·to·assemble.
500 In·[23]:·pd.to_datetime(df[["year",·"month",·"day"]])491 In·[23]:·pd.to_datetime(df[["year",·"month",·"day"]])
501 Out[23]:492 Out[23]:
502 0···2015-02-04493 0···2015-02-04
503 1···2016-03-05494 1···2016-03-05
504 Length:·2,·dtype:·datetime64[ns]495 dtype:·datetime64[ns]
505 *\x8**\x8**\x8**\x8*·O\x8Ot\x8th\x8he\x8er\x8r·e\x8en\x8nh\x8ha\x8an\x8nc\x8ce\x8em\x8me\x8en\x8nt\x8ts\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*496 *\x8**\x8**\x8**\x8*·O\x8Ot\x8th\x8he\x8er\x8r·e\x8en\x8nh\x8ha\x8an\x8nc\x8ce\x8em\x8me\x8en\x8nt\x8ts\x8s_\x8#\x8#·*\x8**\x8**\x8**\x8*
506 ····*·pd.read_csv()·now·supports·delim_whitespace=True·for·the·Python·engine497 ····*·pd.read_csv()·now·supports·delim_whitespace=True·for·the·Python·engine
507 ······(_\x8G_\x8H_\x8·_\x81_\x82_\x89_\x85_\x88)498 ······(_\x8G_\x8H_\x8·_\x81_\x82_\x89_\x85_\x88)
508 ····*·pd.read_csv()·now·supports·opening·ZIP·files·that·contains·a·single·CSV,499 ····*·pd.read_csv()·now·supports·opening·ZIP·files·that·contains·a·single·CSV,
509 ······via·extension·inference·or·explicit·compression='zip'·(_\x8G_\x8H_\x8·_\x81_\x82_\x81_\x87_\x85)500 ······via·extension·inference·or·explicit·compression='zip'·(_\x8G_\x8H_\x8·_\x81_\x82_\x81_\x87_\x85)
510 ····*·pd.read_csv()·now·supports·opening·files·using·xz·compression,·via501 ····*·pd.read_csv()·now·supports·opening·files·using·xz·compression,·via
511 ······extension·inference·or·explicit·compression='xz'·is·specified;·xz502 ······extension·inference·or·explicit·compression='xz'·is·specified;·xz
Offset 599, 16 lines modifiedOffset 589, 14 lines modified
  
599 In·[30]:·df589 In·[30]:·df
600 Out[30]:590 Out[30]:
601 ···A··B591 ···A··B
602 0··a··1592 0··a··1
603 1··b··2593 1··b··2
604 2··a··3594 2··a··3
  
605 [3·rows·x·2·columns] 
606 Previous·behavior:595 Previous·behavior:
607 In·[3]:·df.groupby('A',·as_index=True)['B'].nth(0)596 In·[3]:·df.groupby('A',·as_index=True)['B'].nth(0)
608 Out[3]:597 Out[3]:
609 0····1598 0····1
610 1····2599 1····2
611 Name:·B,·dtype:·int64600 Name:·B,·dtype:·int64
  
Offset 618, 21 lines modifiedOffset 606, 21 lines modified
Max diff block lines reached; 1927/5994 bytes (32.15%) of diff not shown.
2.89 KB
./usr/share/doc/python-pandas-doc/html/whatsnew/v0.24.0.html
    
Offset 820, 18 lines modifiedOffset 820, 18 lines modified
820 a·new·ndarray·of·period·objects·each·time.</p>820 a·new·ndarray·of·period·objects·each·time.</p>
821 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[18]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">values</span>821 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[18]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">values</span>
822 <span·class="gh">Out[18]:·</span>822 <span·class="gh">Out[18]:·</span>
823 <span·class="go">array([Period(&#39;2000-01-01&#39;,·&#39;D&#39;),·Period(&#39;2000-01-02&#39;,·&#39;D&#39;),</span>823 <span·class="go">array([Period(&#39;2000-01-01&#39;,·&#39;D&#39;),·Period(&#39;2000-01-02&#39;,·&#39;D&#39;),</span>
824 <span·class="go">·······Period(&#39;2000-01-03&#39;,·&#39;D&#39;),·Period(&#39;2000-01-04&#39;,·&#39;D&#39;)],·dtype=object)</span>824 <span·class="go">·······Period(&#39;2000-01-03&#39;,·&#39;D&#39;),·Period(&#39;2000-01-04&#39;,·&#39;D&#39;)],·dtype=object)</span>
  
825 <span·class="gp">In·[19]:·</span><span·class="nb">id</span><span·class="p">(</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">values</span><span·class="p">)</span>825 <span·class="gp">In·[19]:·</span><span·class="nb">id</span><span·class="p">(</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">values</span><span·class="p">)</span>
826 <span·class="gh">Out[19]:·</span><span·class="go">3762104704</span>826 <span·class="gh">Out[19]:·</span><span·class="go">3840222320</span>
  
827 <span·class="gp">In·[20]:·</span><span·class="nb">id</span><span·class="p">(</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">values</span><span·class="p">)</span>827 <span·class="gp">In·[20]:·</span><span·class="nb">id</span><span·class="p">(</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">values</span><span·class="p">)</span>
828 <span·class="gh">Out[20]:·</span><span·class="go">3776588400</span>828 <span·class="gh">Out[20]:·</span><span·class="go">3850856400</span>
829 </pre></div>829 </pre></div>
830 </div>830 </div>
831 <p>If·you·need·an·actual·NumPy·array,·use·<a·class="reference·internal"·href="../reference/api/pandas.Series.to_numpy.html#pandas.Series.to_numpy"·title="pandas.Series.to_numpy"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Series.to_numpy()</span></code></a>·or·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Index.to_numpy()</span></code>.</p>831 <p>If·you·need·an·actual·NumPy·array,·use·<a·class="reference·internal"·href="../reference/api/pandas.Series.to_numpy.html#pandas.Series.to_numpy"·title="pandas.Series.to_numpy"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Series.to_numpy()</span></code></a>·or·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Index.to_numpy()</span></code>.</p>
832 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[21]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">to_numpy</span><span·class="p">()</span>832 <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[21]:·</span><span·class="n">idx</span><span·class="o">.</span><span·class="n">to_numpy</span><span·class="p">()</span>
833 <span·class="gh">Out[21]:·</span>833 <span·class="gh">Out[21]:·</span>
834 <span·class="go">array([Period(&#39;2000-01-01&#39;,·&#39;D&#39;),·Period(&#39;2000-01-02&#39;,·&#39;D&#39;),</span>834 <span·class="go">array([Period(&#39;2000-01-01&#39;,·&#39;D&#39;),·Period(&#39;2000-01-02&#39;,·&#39;D&#39;),</span>
835 <span·class="go">·······Period(&#39;2000-01-03&#39;,·&#39;D&#39;),·Period(&#39;2000-01-04&#39;,·&#39;D&#39;)],·dtype=object)</span>835 <span·class="go">·······Period(&#39;2000-01-03&#39;,·&#39;D&#39;),·Period(&#39;2000-01-04&#39;,·&#39;D&#39;)],·dtype=object)</span>
691 B
html2text {}
    
Offset 268, 18 lines modifiedOffset 268, 18 lines modified
268 each·time.268 each·time.
269 In·[18]:·idx.values269 In·[18]:·idx.values
270 Out[18]:270 Out[18]:
271 array([Period('2000-01-01',·'D'),·Period('2000-01-02',·'D'),271 array([Period('2000-01-01',·'D'),·Period('2000-01-02',·'D'),
272 ·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)272 ·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)
  
273 In·[19]:·id(idx.values)273 In·[19]:·id(idx.values)
274 Out[19]:·3762104704274 Out[19]:·3840222320
  
275 In·[20]:·id(idx.values)275 In·[20]:·id(idx.values)
276 Out[20]:·3776588400276 Out[20]:·3850856400
277 If·you·need·an·actual·NumPy·array,·use·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s_\x8._\x8t_\x8o_\x8__\x8n_\x8u_\x8m_\x8p_\x8y_\x8(_\x8)·or·Index.to_numpy().277 If·you·need·an·actual·NumPy·array,·use·_\x8S_\x8e_\x8r_\x8i_\x8e_\x8s_\x8._\x8t_\x8o_\x8__\x8n_\x8u_\x8m_\x8p_\x8y_\x8(_\x8)·or·Index.to_numpy().
278 In·[21]:·idx.to_numpy()278 In·[21]:·idx.to_numpy()
279 Out[21]:279 Out[21]:
280 array([Period('2000-01-01',·'D'),·Period('2000-01-02',·'D'),280 array([Period('2000-01-01',·'D'),·Period('2000-01-02',·'D'),
281 ·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)281 ·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)
  
282 In·[22]:·pd.Series(idx).to_numpy()282 In·[22]:·pd.Series(idx).to_numpy()
3.47 KB
python3-pandas-lib_2.2.3+dfsg-8_i386.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary1 -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary
2 -rw-r--r--···0········0········0·····2956·2025-02-01·18:39:17.000000·control.tar.xz2 -rw-r--r--···0········0········0·····2956·2025-02-01·18:39:17.000000·control.tar.xz
3 -rw-r--r--···0········0········0··6844752·2025-02-01·18:39:17.000000·data.tar.xz3 -rw-r--r--···0········0········0··6844632·2025-02-01·18:39:17.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
2.93 KB
data.tar.xz
2.91 KB
data.tar
1.45 KB
./usr/lib/python3/dist-packages/pandas/_libs/tslibs/strptime.cpython-312-i386-linux-gnu.so
File has been modified after NT_GNU_BUILD_ID has been applied.
430 B
readelf --wide --notes {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 Displaying·notes·found·in:·.note.gnu.build-id1 Displaying·notes·found·in:·.note.gnu.build-id
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·58d4d6514851a21937d4e76de916018d02b9762c3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·7dd58dd8e766396d0d6c831cb64d35cc479fa3df
811 B
error from `readelf --wide --decompress --hex-dump=.gnu_debuglink {}`: readelf: Error: no .dynamic section in the dynamic segment
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
  
1 Hex·dump·of·section·'.gnu_debuglink':1 Hex·dump·of·section·'.gnu_debuglink':
2 ··0x00000000·64346436·35313438·35316132·31393337·d4d6514851a21937 
3 ··0x00000010·64346537·36646539·31363031·38643032·d4e76de916018d022 ··0x00000000·64353864·64386537·36363339·36643064·d58dd8e766396d0d
 3 ··0x00000010·36633833·31636236·34643335·63633437·6c831cb64d35cc47
4 ··0x00000020·62393736·32632e64·65627567·00000000·b9762c.debug....4 ··0x00000020·39666133·64662e64·65627567·00000000·9fa3df.debug....
5 ··0x00000030·f465b42d····························.e.-5 ··0x00000030·32d82ccb····························2.,.
  
1.45 KB
./usr/lib/python3/dist-packages/pandas/_libs/tslibs/strptime.cpython-313-i386-linux-gnu.so
File has been modified after NT_GNU_BUILD_ID has been applied.
430 B
readelf --wide --notes {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 Displaying·notes·found·in:·.note.gnu.build-id1 Displaying·notes·found·in:·.note.gnu.build-id
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·7cfdd6436164c87c053a9815ba61aec40f8eaa6d3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·621de264edd278cc384da725741d49d9dc419162
811 B
error from `readelf --wide --decompress --hex-dump=.gnu_debuglink {}`: readelf: Error: no .dynamic section in the dynamic segment
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
  
1 Hex·dump·of·section·'.gnu_debuglink':1 Hex·dump·of·section·'.gnu_debuglink':
2 ··0x00000000·66646436·34333631·36346338·37633035·fdd6436164c87c05 
3 ··0x00000010·33613938·31356261·36316165·63343066·3a9815ba61aec40f2 ··0x00000000·31646532·36346564·64323738·63633338·1de264edd278cc38
 3 ··0x00000010·34646137·32353734·31643439·64396463·4da725741d49d9dc
4 ··0x00000020·38656161·36642e64·65627567·00000000·8eaa6d.debug....4 ··0x00000020·34313931·36322e64·65627567·00000000·419162.debug....
5 ··0x00000030·aab292d9····························....5 ··0x00000030·3a5217d1····························:R..
  
27.2 MB
python3-pandas-lib-dbgsym_2.2.3+dfsg-8_i386.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary1 -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary
2 -rw-r--r--···0········0········0·····4504·2025-02-01·18:39:17.000000·control.tar.xz2 -rw-r--r--···0········0········0·····4496·2025-02-01·18:39:17.000000·control.tar.xz
3 -rw-r--r--···0········0········0·71238380·2025-02-01·18:39:17.000000·data.tar.xz3 -rw-r--r--···0········0········0·71241408·2025-02-01·18:39:17.000000·data.tar.xz
9.78 KB
control.tar.xz
9.75 KB
control.tar
7.51 KB
./control
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 Package:·python3-pandas-lib-dbgsym1 Package:·python3-pandas-lib-dbgsym
2 Source:·pandas2 Source:·pandas
3 Version:·2.2.3+dfsg-83 Version:·2.2.3+dfsg-8
4 Auto-Built-Package:·debug-symbols4 Auto-Built-Package:·debug-symbols
5 Architecture:·i3865 Architecture:·i386
6 Maintainer:·Debian·Science·Team·<debian-science-maintainers@lists.alioth.debian.org>6 Maintainer:·Debian·Science·Team·<debian-science-maintainers@lists.alioth.debian.org>
7 Installed-Size:·735347 Installed-Size:·73532
8 Depends:·python3-pandas-lib·(=·2.2.3+dfsg-8)8 Depends:·python3-pandas-lib·(=·2.2.3+dfsg-8)
9 Section:·debug9 Section:·debug
10 Priority:·optional10 Priority:·optional
11 Multi-Arch:·same11 Multi-Arch:·same
12 Description:·debug·symbols·for·python3-pandas-lib12 Description:·debug·symbols·for·python3-pandas-lib
13 Build-Ids:·042a82c172fd9e1fb0f07bc85095eb36d6c92571·0691af2ee6984ce697c6254faa806fc1c77e2031·06d2fdf0df99191400db4812edeb0dd2dfba7710·08a4f28a70dfe6049d143a20982a3283499be764·0b4ddf7220f516a84316335e067cd229557a70be·0c0478b48ea1f0c7865a040dfbdbb50a92eac66d·11603d4297d04e741f271ec311c7a5d4133a17f6·151291d1aff9b91666b031b31bf9e166efb7fcd7·1573ad27a87f57402b56306f6f282886c38099ae·18493b94d13f988d677ca5db67fd7b4c28b5a254·1ac69c73969c3313870d39ccf8da3ee8eb108376·2029973a490acf5ef4009bfc7628c9f00343ac81·25008d031eb0acd9dca6d2b4ff082b60f8d01904·2e50eb57b9dffd163dd677677b021e2646672734·2f399a8c5ed04857063f30a77274ccd7cacc8b2b·2ff0a559b372e5bdf074d1b2de57c7e6d6cb4998·31f6d357314d086cbbdb90fc29840403024ce463·394366720c0e2041b2c5579ab83546b73ed8c50c·3bc98412d82ebc874903a5bba97ee280f10c96d5·404c317e55613315644f29de9885b7b5350d2654·41a2bde1b02223bfebc2c9d1fe1e2878a9568471·45694481b1ef2279664124608ddf1d1fc143e81c·45cdbb96abbe3f688d3be5990b5f96cedac7ac84·46ea4d11bbd3be557102462a6ab50caa2f8bb502·49e8a7faddf5a45eb4ffb87c4af5c5eca74c668c·4b00cba9105bae54c3f8071386e900c5a9938cc6·4c162e24bb24dd604dc94f4711e34470ae487622·517f6d5a9dda83a986446c68a23f1eadb96fb1ee·5180386948b13aeed2100b854f135f4d6356adba·51e5290ccffc7df092f8e04fe728bbdccaba6ad8·5791d2b56e2687ca2d54227c627ff0d817783154·57ee728b382bbdc0462eb296932ad061f47dce4a·58d4d6514851a21937d4e76de916018d02b9762c·5d39c8cb62ef56b836b2e46bb785513b720d5dba·5eccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71·627931d2bea92a8542142923d215dd0138ea1427·63685837f20a82e76b6fd1c3f443919f10c9c5dc·6410d3cf4b866c6ad8df362e5c2676db90bdbff8·646b40ae9ca[·...·truncated·by·diffoscope;·len:·316,·SHA:·77d75fdfe859cb80596e412aa17c73f00fd83d0ea5f8d2509d9c0a06b75c23b3·...·]·7ffbcc440ee72d4878ce5ea2d274996b810e5ed3·800c734e6e067ad39888b062b01a50300e8360cd·81c3b4d7249dc2730a75e6c1ad8d22e316be1933·82c5b86aaf7f119607418eb8786ff7936d077da1·88e2f7898dce8ed1fa78ab6fa32bc235ef86be5b·893c20675bc0c99b24df73622b9bd7fd4f585bff·8acfc061c5a20530637d66d3f32b6da818d1f930·8e8f37da7cc5b615af3911088265661f043c6432·8fda50481359c627c0eeffec013169f9812cb644·927e2e925f7b229bf2857018c8e0a33c952a327e·92b5b6e84c7e96d6b7751604723665605834c3ca·97336a51ac37939628f0c827f64efcebb34a1654·98dc618e47c47eb6abfe3c9155021e3ae34d4b90·9b0d8c36291629016ed51bbfb7f15e29c71d6df0·a19a51a87c228e701b69f733e598db5c63e8fb80·a583f203802b11e59f7090ed51eacca57a2aae6d·aeb99f7f396947658a35ea2f569eb495248c3703·b16e28c3f0836bd8b3fd89a19073ef70f33860ba·b30185829ddb5db57887806d89b6f9221695d234·b3d7cf142f64b3fe13f85e7db0a38cd47876064d·b47544c0c28d4132a16b675043c2dc52a59f81c5·b84d1a5ea1b887e3acfa121adfdc1144d0a5478f·b97c69df0c308d46a4edc1b97e9bb3a14c2ac152·bbd4ace41ea5f746f0a8eddaaebcedde2ec08720·bc52ac6dddefc14bb6e2358c14de8683fdd7f557·bd3f8ada7d83b56ed6c4d89b169a0d9fe2802d78·be1083754089980b3bd2efefedcf30138ab5ca78·bf5b8197183d3fbaa11a65b2b864c57dfac37213·c340ff94800a1f6bc7ca33fc17407c01b39cb78b·c648644632dec66055cba0f9f4cce4548a1783b5·c64de92073f5fb30a1f70cdb723b2db21376bb74·c873b3b2be9f9c9c27c4c435d945ef906dddd183·caacf988c6504237733ff0337c65970b5df763f7·da62914cf6ce9cc8f0d864ccb37b04d42b430809·e6f99aa19b580750f36882fff0ed50af1b53eeb0·ee049ec5e92da217ac3a776a17e342333d2ae526·ee7c7def1e912b8387cc0d4a7cbbf917326cc543·efd3d2c1bbd2af755929484cf6d203d3696eca3d·f04425bd8b20d02538e8ed9bb861bfeb103496ea·f372c785285cd6ebf3663fd2cb70e4b9e843e979·f8117e2f5e70c4be11e1e1f8e4c01a558f861237·fb324857ab38e628fac8aec31864de0c226a80f013 Build-Ids:·042a82c172fd9e1fb0f07bc85095eb36d6c92571·0691af2ee6984ce697c6254faa806fc1c77e2031·06d2fdf0df99191400db4812edeb0dd2dfba7710·08a4f28a70dfe6049d143a20982a3283499be764·0b4ddf7220f516a84316335e067cd229557a70be·0c0478b48ea1f0c7865a040dfbdbb50a92eac66d·11603d4297d04e741f271ec311c7a5d4133a17f6·151291d1aff9b91666b031b31bf9e166efb7fcd7·1573ad27a87f57402b56306f6f282886c38099ae·18493b94d13f988d677ca5db67fd7b4c28b5a254·1ac69c73969c3313870d39ccf8da3ee8eb108376·2029973a490acf5ef4009bfc7628c9f00343ac81·25008d031eb0acd9dca6d2b4ff082b60f8d01904·2e50eb57b9dffd163dd677677b021e2646672734·2f399a8c5ed04857063f30a77274ccd7cacc8b2b·2ff0a559b372e5bdf074d1b2de57c7e6d6cb4998·31f6d357314d086cbbdb90fc29840403024ce463·394366720c0e2041b2c5579ab83546b73ed8c50c·3bc98412d82ebc874903a5bba97ee280f10c96d5·404c317e55613315644f29de9885b7b5350d2654·41a2bde1b02223bfebc2c9d1fe1e2878a9568471·45694481b1ef2279664124608ddf1d1fc143e81c·45cdbb96abbe3f688d3be5990b5f96cedac7ac84·46ea4d11bbd3be557102462a6ab50caa2f8bb502·49e8a7faddf5a45eb4ffb87c4af5c5eca74c668c·4b00cba9105bae54c3f8071386e900c5a9938cc6·4c162e24bb24dd604dc94f4711e34470ae487622·517f6d5a9dda83a986446c68a23f1eadb96fb1ee·5180386948b13aeed2100b854f135f4d6356adba·51e5290ccffc7df092f8e04fe728bbdccaba6ad8·5791d2b56e2687ca2d54227c627ff0d817783154·57ee728b382bbdc0462eb296932ad061f47dce4a·5d39c8cb62ef56b836b2e46bb785513b720d5dba·5eccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71·621de264edd278cc384da725741d49d9dc419162·627931d2bea92a8542142923d215dd0138ea1427·63685837f20a82e76b6fd1c3f443919f10c9c5dc·6410d3cf4b866c6ad8df362e5c2676db90bdbff8·646b40ae9ca[·...·truncated·by·diffoscope;·len:·316,·SHA:·a5feb449dd715d0c33260615e139e2889d34f850d23114bcf6a27eb22c528be9·...·]·7ffbcc440ee72d4878ce5ea2d274996b810e5ed3·800c734e6e067ad39888b062b01a50300e8360cd·81c3b4d7249dc2730a75e6c1ad8d22e316be1933·82c5b86aaf7f119607418eb8786ff7936d077da1·88e2f7898dce8ed1fa78ab6fa32bc235ef86be5b·893c20675bc0c99b24df73622b9bd7fd4f585bff·8acfc061c5a20530637d66d3f32b6da818d1f930·8e8f37da7cc5b615af3911088265661f043c6432·8fda50481359c627c0eeffec013169f9812cb644·927e2e925f7b229bf2857018c8e0a33c952a327e·92b5b6e84c7e96d6b7751604723665605834c3ca·97336a51ac37939628f0c827f64efcebb34a1654·98dc618e47c47eb6abfe3c9155021e3ae34d4b90·9b0d8c36291629016ed51bbfb7f15e29c71d6df0·a19a51a87c228e701b69f733e598db5c63e8fb80·a583f203802b11e59f7090ed51eacca57a2aae6d·aeb99f7f396947658a35ea2f569eb495248c3703·b16e28c3f0836bd8b3fd89a19073ef70f33860ba·b30185829ddb5db57887806d89b6f9221695d234·b3d7cf142f64b3fe13f85e7db0a38cd47876064d·b47544c0c28d4132a16b675043c2dc52a59f81c5·b84d1a5ea1b887e3acfa121adfdc1144d0a5478f·b97c69df0c308d46a4edc1b97e9bb3a14c2ac152·bbd4ace41ea5f746f0a8eddaaebcedde2ec08720·bc52ac6dddefc14bb6e2358c14de8683fdd7f557·bd3f8ada7d83b56ed6c4d89b169a0d9fe2802d78·be1083754089980b3bd2efefedcf30138ab5ca78·bf5b8197183d3fbaa11a65b2b864c57dfac37213·c340ff94800a1f6bc7ca33fc17407c01b39cb78b·c648644632dec66055cba0f9f4cce4548a1783b5·c64de92073f5fb30a1f70cdb723b2db21376bb74·c873b3b2be9f9c9c27c4c435d945ef906dddd183·caacf988c6504237733ff0337c65970b5df763f7·da62914cf6ce9cc8f0d864ccb37b04d42b430809·e6f99aa19b580750f36882fff0ed50af1b53eeb0·ee049ec5e92da217ac3a776a17e342333d2ae526·ee7c7def1e912b8387cc0d4a7cbbf917326cc543·efd3d2c1bbd2af755929484cf6d203d3696eca3d·f04425bd8b20d02538e8ed9bb861bfeb103496ea·f372c785285cd6ebf3663fd2cb70e4b9e843e979·f8117e2f5e70c4be11e1e1f8e4c01a558f861237·fb324857ab38e628fac8aec31864de0c226a80f0
2.22 KB
./md5sums
30.0 B
./md5sums
Files differ
2.18 KB
line order
    
Offset 26, 28 lines modifiedOffset 26, 28 lines modified
26 usr/lib/debug/.build-id/4b/00cba9105bae54c3f8071386e900c5a9938cc6.debug26 usr/lib/debug/.build-id/4b/00cba9105bae54c3f8071386e900c5a9938cc6.debug
27 usr/lib/debug/.build-id/4c/162e24bb24dd604dc94f4711e34470ae487622.debug27 usr/lib/debug/.build-id/4c/162e24bb24dd604dc94f4711e34470ae487622.debug
28 usr/lib/debug/.build-id/51/7f6d5a9dda83a986446c68a23f1eadb96fb1ee.debug28 usr/lib/debug/.build-id/51/7f6d5a9dda83a986446c68a23f1eadb96fb1ee.debug
29 usr/lib/debug/.build-id/51/80386948b13aeed2100b854f135f4d6356adba.debug29 usr/lib/debug/.build-id/51/80386948b13aeed2100b854f135f4d6356adba.debug
30 usr/lib/debug/.build-id/51/e5290ccffc7df092f8e04fe728bbdccaba6ad8.debug30 usr/lib/debug/.build-id/51/e5290ccffc7df092f8e04fe728bbdccaba6ad8.debug
31 usr/lib/debug/.build-id/57/91d2b56e2687ca2d54227c627ff0d817783154.debug31 usr/lib/debug/.build-id/57/91d2b56e2687ca2d54227c627ff0d817783154.debug
32 usr/lib/debug/.build-id/57/ee728b382bbdc0462eb296932ad061f47dce4a.debug32 usr/lib/debug/.build-id/57/ee728b382bbdc0462eb296932ad061f47dce4a.debug
33 usr/lib/debug/.build-id/58/d4d6514851a21937d4e76de916018d02b9762c.debug 
34 usr/lib/debug/.build-id/5d/39c8cb62ef56b836b2e46bb785513b720d5dba.debug33 usr/lib/debug/.build-id/5d/39c8cb62ef56b836b2e46bb785513b720d5dba.debug
35 usr/lib/debug/.build-id/5e/ccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71.debug34 usr/lib/debug/.build-id/5e/ccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71.debug
 35 usr/lib/debug/.build-id/62/1de264edd278cc384da725741d49d9dc419162.debug
36 usr/lib/debug/.build-id/62/7931d2bea92a8542142923d215dd0138ea1427.debug36 usr/lib/debug/.build-id/62/7931d2bea92a8542142923d215dd0138ea1427.debug
37 usr/lib/debug/.build-id/63/685837f20a82e76b6fd1c3f443919f10c9c5dc.debug37 usr/lib/debug/.build-id/63/685837f20a82e76b6fd1c3f443919f10c9c5dc.debug
38 usr/lib/debug/.build-id/64/10d3cf4b866c6ad8df362e5c2676db90bdbff8.debug38 usr/lib/debug/.build-id/64/10d3cf4b866c6ad8df362e5c2676db90bdbff8.debug
39 usr/lib/debug/.build-id/64/6b40ae9ca43cf4a6a48613dff5fbc18d8e4422.debug39 usr/lib/debug/.build-id/64/6b40ae9ca43cf4a6a48613dff5fbc18d8e4422.debug
40 usr/lib/debug/.build-id/64/980b2e62f3408b761589fb721e52b3fced0e63.debug40 usr/lib/debug/.build-id/64/980b2e62f3408b761589fb721e52b3fced0e63.debug
41 usr/lib/debug/.build-id/6f/80b58efc936811fa03972051faeae4b3c223be.debug41 usr/lib/debug/.build-id/6f/80b58efc936811fa03972051faeae4b3c223be.debug
42 usr/lib/debug/.build-id/70/43c865ab4986be93697667505ae48ba25fe283.debug42 usr/lib/debug/.build-id/70/43c865ab4986be93697667505ae48ba25fe283.debug
43 usr/lib/debug/.build-id/79/c42801ed47c89b0e2a7a78d3774a7907761228.debug43 usr/lib/debug/.build-id/79/c42801ed47c89b0e2a7a78d3774a7907761228.debug
44 usr/lib/debug/.build-id/79/c8e270384c90ea6be9f3faf79d778eb0d4d2e9.debug44 usr/lib/debug/.build-id/79/c8e270384c90ea6be9f3faf79d778eb0d4d2e9.debug
45 usr/lib/debug/.build-id/7c/fdd6436164c87c053a9815ba61aec40f8eaa6d.debug 
46 usr/lib/debug/.build-id/7d/05e78b20a14a9e36c874b8ad2802de1ec27524.debug45 usr/lib/debug/.build-id/7d/05e78b20a14a9e36c874b8ad2802de1ec27524.debug
 46 usr/lib/debug/.build-id/7d/d58dd8e766396d0d6c831cb64d35cc479fa3df.debug
47 usr/lib/debug/.build-id/7f/fbcc440ee72d4878ce5ea2d274996b810e5ed3.debug47 usr/lib/debug/.build-id/7f/fbcc440ee72d4878ce5ea2d274996b810e5ed3.debug
48 usr/lib/debug/.build-id/80/0c734e6e067ad39888b062b01a50300e8360cd.debug48 usr/lib/debug/.build-id/80/0c734e6e067ad39888b062b01a50300e8360cd.debug
49 usr/lib/debug/.build-id/81/c3b4d7249dc2730a75e6c1ad8d22e316be1933.debug49 usr/lib/debug/.build-id/81/c3b4d7249dc2730a75e6c1ad8d22e316be1933.debug
50 usr/lib/debug/.build-id/82/c5b86aaf7f119607418eb8786ff7936d077da1.debug50 usr/lib/debug/.build-id/82/c5b86aaf7f119607418eb8786ff7936d077da1.debug
51 usr/lib/debug/.build-id/88/e2f7898dce8ed1fa78ab6fa32bc235ef86be5b.debug51 usr/lib/debug/.build-id/88/e2f7898dce8ed1fa78ab6fa32bc235ef86be5b.debug
52 usr/lib/debug/.build-id/89/3c20675bc0c99b24df73622b9bd7fd4f585bff.debug52 usr/lib/debug/.build-id/89/3c20675bc0c99b24df73622b9bd7fd4f585bff.debug
53 usr/lib/debug/.build-id/8a/cfc061c5a20530637d66d3f32b6da818d1f930.debug53 usr/lib/debug/.build-id/8a/cfc061c5a20530637d66d3f32b6da818d1f930.debug
27.1 MB
data.tar.xz
27.1 MB
data.tar
5.71 KB
file list
    
Offset 56, 39 lines modifiedOffset 56, 37 lines modified
56 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/56 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/
57 -rw-r--r--···0·root·········(0)·root·········(0)···737740·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/7f6d5a9dda83a986446c68a23f1eadb96fb1ee.debug57 -rw-r--r--···0·root·········(0)·root·········(0)···737740·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/7f6d5a9dda83a986446c68a23f1eadb96fb1ee.debug
58 -rw-r--r--···0·root·········(0)·root·········(0)··1511796·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/80386948b13aeed2100b854f135f4d6356adba.debug58 -rw-r--r--···0·root·········(0)·root·········(0)··1511796·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/80386948b13aeed2100b854f135f4d6356adba.debug
59 -rw-r--r--···0·root·········(0)·root·········(0)····65512·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/e5290ccffc7df092f8e04fe728bbdccaba6ad8.debug59 -rw-r--r--···0·root·········(0)·root·········(0)····65512·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/51/e5290ccffc7df092f8e04fe728bbdccaba6ad8.debug
60 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/57/60 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/57/
61 -rw-r--r--···0·root·········(0)·root·········(0)··3326580·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/57/91d2b56e2687ca2d54227c627ff0d817783154.debug61 -rw-r--r--···0·root·········(0)·root·········(0)··3326580·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/57/91d2b56e2687ca2d54227c627ff0d817783154.debug
62 -rw-r--r--···0·root·········(0)·root·········(0)··1045612·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/57/ee728b382bbdc0462eb296932ad061f47dce4a.debug62 -rw-r--r--···0·root·········(0)·root·········(0)··1045612·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/57/ee728b382bbdc0462eb296932ad061f47dce4a.debug
63 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/58/ 
64 -rw-r--r--···0·root·········(0)·root·········(0)···691168·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/58/d4d6514851a21937d4e76de916018d02b9762c.debug 
65 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5d/63 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5d/
66 -rw-r--r--···0·root·········(0)·root·········(0)···168872·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5d/39c8cb62ef56b836b2e46bb785513b720d5dba.debug64 -rw-r--r--···0·root·········(0)·root·········(0)···168872·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5d/39c8cb62ef56b836b2e46bb785513b720d5dba.debug
67 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5e/65 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5e/
68 -rw-r--r--···0·root·········(0)·root·········(0)···196808·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5e/ccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71.debug66 -rw-r--r--···0·root·········(0)·root·········(0)···196808·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/5e/ccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71.debug
69 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/62/67 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/62/
 68 -rw-r--r--···0·root·········(0)·root·········(0)···683072·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/62/1de264edd278cc384da725741d49d9dc419162.debug
70 -rw-r--r--···0·root·········(0)·root·········(0)··1455620·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/62/7931d2bea92a8542142923d215dd0138ea1427.debug69 -rw-r--r--···0·root·········(0)·root·········(0)··1455620·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/62/7931d2bea92a8542142923d215dd0138ea1427.debug
71 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/63/70 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/63/
72 -rw-r--r--···0·root·········(0)·root·········(0)···349836·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/63/685837f20a82e76b6fd1c3f443919f10c9c5dc.debug71 -rw-r--r--···0·root·········(0)·root·········(0)···349836·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/63/685837f20a82e76b6fd1c3f443919f10c9c5dc.debug
73 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/72 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/
74 -rw-r--r--···0·root·········(0)·root·········(0)···576900·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/10d3cf4b866c6ad8df362e5c2676db90bdbff8.debug73 -rw-r--r--···0·root·········(0)·root·········(0)···576900·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/10d3cf4b866c6ad8df362e5c2676db90bdbff8.debug
75 -rw-r--r--···0·root·········(0)·root·········(0)···109168·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/6b40ae9ca43cf4a6a48613dff5fbc18d8e4422.debug74 -rw-r--r--···0·root·········(0)·root·········(0)···109168·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/6b40ae9ca43cf4a6a48613dff5fbc18d8e4422.debug
76 -rw-r--r--···0·root·········(0)·root·········(0)···594088·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/980b2e62f3408b761589fb721e52b3fced0e63.debug75 -rw-r--r--···0·root·········(0)·root·········(0)···594088·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/64/980b2e62f3408b761589fb721e52b3fced0e63.debug
77 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/6f/76 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/6f/
78 -rw-r--r--···0·root·········(0)·root·········(0)···464484·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/6f/80b58efc936811fa03972051faeae4b3c223be.debug77 -rw-r--r--···0·root·········(0)·root·········(0)···464484·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/6f/80b58efc936811fa03972051faeae4b3c223be.debug
79 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/70/78 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/70/
80 -rw-r--r--···0·root·········(0)·root·········(0)··1013528·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/70/43c865ab4986be93697667505ae48ba25fe283.debug79 -rw-r--r--···0·root·········(0)·root·········(0)··1013528·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/70/43c865ab4986be93697667505ae48ba25fe283.debug
81 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/79/80 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/79/
82 -rw-r--r--···0·root·········(0)·root·········(0)···335092·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/79/c42801ed47c89b0e2a7a78d3774a7907761228.debug81 -rw-r--r--···0·root·········(0)·root·········(0)···335092·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/79/c42801ed47c89b0e2a7a78d3774a7907761228.debug
83 -rw-r--r--···0·root·········(0)·root·········(0)···601820·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/79/c8e270384c90ea6be9f3faf79d778eb0d4d2e9.debug82 -rw-r--r--···0·root·········(0)·root·········(0)···601820·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/79/c8e270384c90ea6be9f3faf79d778eb0d4d2e9.debug
84 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7c/ 
85 -rw-r--r--···0·root·········(0)·root·········(0)···683092·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7c/fdd6436164c87c053a9815ba61aec40f8eaa6d.debug 
86 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7d/83 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7d/
87 -rw-r--r--···0·root·········(0)·root·········(0)··2323936·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7d/05e78b20a14a9e36c874b8ad2802de1ec27524.debug84 -rw-r--r--···0·root·········(0)·root·········(0)··2323936·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7d/05e78b20a14a9e36c874b8ad2802de1ec27524.debug
 85 -rw-r--r--···0·root·········(0)·root·········(0)···691156·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7d/d58dd8e766396d0d6c831cb64d35cc479fa3df.debug
88 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7f/86 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7f/
89 -rw-r--r--···0·root·········(0)·root·········(0)··2130296·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7f/fbcc440ee72d4878ce5ea2d274996b810e5ed3.debug87 -rw-r--r--···0·root·········(0)·root·········(0)··2130296·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/7f/fbcc440ee72d4878ce5ea2d274996b810e5ed3.debug
90 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/80/88 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/80/
91 -rw-r--r--···0·root·········(0)·root·········(0)···436400·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/80/0c734e6e067ad39888b062b01a50300e8360cd.debug89 -rw-r--r--···0·root·········(0)·root·········(0)···436400·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/80/0c734e6e067ad39888b062b01a50300e8360cd.debug
92 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/81/90 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/81/
93 -rw-r--r--···0·root·········(0)·root·········(0)····61176·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/81/c3b4d7249dc2730a75e6c1ad8d22e316be1933.debug91 -rw-r--r--···0·root·········(0)·root·········(0)····61176·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/81/c3b4d7249dc2730a75e6c1ad8d22e316be1933.debug
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/82/92 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-02-01·18:39:17.000000·./usr/lib/debug/.build-id/82/
13.7 MB
./usr/lib/debug/.build-id/58/d4d6514851a21937d4e76de916018d02b9762c.debug vs.
./usr/lib/debug/.build-id/7d/d58dd8e766396d0d6c831cb64d35cc479fa3df.debug
File has been modified after NT_GNU_BUILD_ID has been applied. Files 84% similar despite different names
867 B
readelf --wide --file-header {}
    
Offset 6, 15 lines modifiedOffset 6, 15 lines modified
6 ··OS/ABI:····························UNIX·-·System·V6 ··OS/ABI:····························UNIX·-·System·V
7 ··ABI·Version:·······················07 ··ABI·Version:·······················0
8 ··Type:······························DYN·(Shared·object·file)8 ··Type:······························DYN·(Shared·object·file)
9 ··Machine:···························Intel·803869 ··Machine:···························Intel·80386
10 ··Version:···························0x110 ··Version:···························0x1
11 ··Entry·point·address:···············0x011 ··Entry·point·address:···············0x0
12 ··Start·of·program·headers:··········52·(bytes·into·file)12 ··Start·of·program·headers:··········52·(bytes·into·file)
13 ··Start·of·section·headers:··········689768·(bytes·into·file)13 ··Start·of·section·headers:··········689756·(bytes·into·file)
14 ··Flags:·····························0x014 ··Flags:·····························0x0
15 ··Size·of·this·header:···············52·(bytes)15 ··Size·of·this·header:···············52·(bytes)
16 ··Size·of·program·headers:···········32·(bytes)16 ··Size·of·program·headers:···········32·(bytes)
17 ··Number·of·program·headers:·········917 ··Number·of·program·headers:·········9
18 ··Size·of·section·headers:···········40·(bytes)18 ··Size·of·section·headers:···········40·(bytes)
19 ··Number·of·section·headers:·········3519 ··Number·of·section·headers:·········35
20 ··Section·header·string·table·index:·3420 ··Section·header·string·table·index:·34
3.04 KB
readelf --wide --sections {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 There·are·35·section·headers,·starting·at·offset·0xa8668:1 There·are·35·section·headers,·starting·at·offset·0xa865c:
  
2 Section·Headers:2 Section·Headers:
3 ··[Nr]·Name··············Type············Addr·····Off····Size···ES·Flg·Lk·Inf·Al3 ··[Nr]·Name··············Type············Addr·····Off····Size···ES·Flg·Lk·Inf·Al
4 ··[·0]···················NULL············00000000·000000·000000·00······0···0··04 ··[·0]···················NULL············00000000·000000·000000·00······0···0··0
5 ··[·1]·.note.gnu.build-id·NOTE············00000154·000154·000024·00···A··0···0··45 ··[·1]·.note.gnu.build-id·NOTE············00000154·000154·000024·00···A··0···0··4
6 ··[·2]·.gnu.hash·········NOBITS··········00000178·000178·000024·04···A··3···0··46 ··[·2]·.gnu.hash·········NOBITS··········00000178·000178·000024·04···A··3···0··4
7 ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d40·10···A··4···1··47 ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d40·10···A··4···1··4
Offset 23, 22 lines modifiedOffset 23, 22 lines modified
23 ··[18]·.fini_array·······NOBITS··········00062bb8·000bb4·000004·04··WA··0···0··423 ··[18]·.fini_array·······NOBITS··········00062bb8·000bb4·000004·04··WA··0···0··4
24 ··[19]·.dynamic··········NOBITS··········00062bbc·000bb4·0000f0·08··WA··4···0··424 ··[19]·.dynamic··········NOBITS··········00062bbc·000bb4·0000f0·08··WA··4···0··4
25 ··[20]·.got··············NOBITS··········00062cac·000bb4·000354·04··WA··0···0··425 ··[20]·.got··············NOBITS··········00062cac·000bb4·000354·04··WA··0···0··4
26 ··[21]·.data·············NOBITS··········00063000·000bb4·000c38·00··WA··0···0·3226 ··[21]·.data·············NOBITS··········00063000·000bb4·000c38·00··WA··0···0·32
27 ··[22]·.bss··············NOBITS··········00063c40·000bb4·000944·00··WA··0···0·3227 ··[22]·.bss··············NOBITS··········00063c40·000bb4·000944·00··WA··0···0·32
28 ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··128 ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··1
29 ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b3·00···C··0···0··429 ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b3·00···C··0···0··4
30 ··[25]·.debug_info·······PROGBITS········00000000·00024c·03e1ce·00···C··0···0··430 ··[25]·.debug_info·······PROGBITS········00000000·00024c·03e1c6·00···C··0···0··4
31 ··[26]·.debug_abbrev·····PROGBITS········00000000·03e41c·00042b·00···C··0···0··431 ··[26]·.debug_abbrev·····PROGBITS········00000000·03e414·00042b·00···C··0···0··4
32 ··[27]·.debug_line·······PROGBITS········00000000·03e848·01fdf5·00···C··0···0··432 ··[27]·.debug_line·······PROGBITS········00000000·03e840·01fdf5·00···C··0···0··4
33 ··[28]·.debug_line_str···PROGBITS········00000000·05e640·0001c4·01·MSC··0···0··433 ··[28]·.debug_line_str···PROGBITS········00000000·05e638·0001c4·01·MSC··0···0··4
34 ··[29]·.debug_loclists···PROGBITS········00000000·05e804·036bb9·00···C··0···0··434 ··[29]·.debug_loclists···PROGBITS········00000000·05e7fc·036bb6·00···C··0···0··4
35 ··[30]·.debug_rnglists···PROGBITS········00000000·0953c0·009914·00···C··0···0··435 ··[30]·.debug_rnglists···PROGBITS········00000000·0953b4·009914·00···C··0···0··4
36 ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ecd4·000050·00······0···0··136 ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ecc8·000050·00······0···0··1
37 ··[32]·.symtab···········SYMTAB··········00000000·09ed24·003e20·10·····33·783··437 ··[32]·.symtab···········SYMTAB··········00000000·09ed18·003e20·10·····33·783··4
38 ··[33]·.strtab···········STRTAB··········00000000·0a2b44·0059c6·00······0···0··138 ··[33]·.strtab···········STRTAB··········00000000·0a2b38·0059c6·00······0···0··1
39 ··[34]·.shstrtab·········STRTAB··········00000000·0a850a·00015d·00······0···0··139 ··[34]·.shstrtab·········STRTAB··········00000000·0a84fe·00015d·00······0···0··1
40 Key·to·Flags:40 Key·to·Flags:
41 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),41 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),
42 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),42 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),
43 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),43 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),
44 ··D·(mbind),·p·(processor·specific)44 ··D·(mbind),·p·(processor·specific)
430 B
readelf --wide --notes {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 Displaying·notes·found·in:·.note.gnu.build-id1 Displaying·notes·found·in:·.note.gnu.build-id
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·58d4d6514851a21937d4e76de916018d02b9762c3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·7dd58dd8e766396d0d6c831cb64d35cc479fa3df
13.7 MB
readelf --wide --debug-dump=info {}
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 Contents·of·the·.debug_info·section:1 Contents·of·the·.debug_info·section:
  
2 ··Compilation·Unit·@·offset·0:2 ··Compilation·Unit·@·offset·0:
3 ···Length:········0x72283·(32-bit)3 ···Length:········0x72281·(32-bit)
4 ···Version:·······54 ···Version:·······5
5 ···Unit·Type:·····DW_UT_compile·(1)5 ···Unit·Type:·····DW_UT_compile·(1)
6 ···Abbrev·Offset:·06 ···Abbrev·Offset:·0
7 ···Pointer·Size:··47 ···Pointer·Size:··4
8 ·<0><c>:·Abbrev·Number:·145·(DW_TAG_compile_unit)8 ·<0><c>:·Abbrev·Number:·145·(DW_TAG_compile_unit)
9 ····<e>···DW_AT_producer····:·(GNU_strp_alt)·(offset:·0xdd4d5)·9 ····<e>···DW_AT_producer····:·(GNU_strp_alt)·(offset:·0xdd4d5)·
10 ····<12>···DW_AT_language····:·(data1)·29»   (C11)10 ····<12>···DW_AT_language····:·(data1)·29»   (C11)
Offset 12569, 91 lines modifiedOffset 12569, 91 lines modified
12569 ·<5><688e>:·Abbrev·Number:·012569 ·<5><688e>:·Abbrev·Number:·0
12570 ·<4><688f>:·Abbrev·Number:·4·(DW_TAG_call_site)12570 ·<4><688f>:·Abbrev·Number:·4·(DW_TAG_call_site)
12571 ····<6890>···DW_AT_call_return_pc:·(addr)·0x2694912571 ····<6890>···DW_AT_call_return_pc:·(addr)·0x26949
12572 ····<6894>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x26e0c>12572 ····<6894>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x26e0c>
12573 ·<4><6898>:·Abbrev·Number:·012573 ·<4><6898>:·Abbrev·Number:·0
12574 ·<3><6899>:·Abbrev·Number:·012574 ·<3><6899>:·Abbrev·Number:·0
12575 ·<2><689a>:·Abbrev·Number:·14·(DW_TAG_inlined_subroutine)12575 ·<2><689a>:·Abbrev·Number:·14·(DW_TAG_inlined_subroutine)
12576 ····<689b>···DW_AT_abstract_origin:·(ref_udata)·<0x52df6>12576 ····<689b>···DW_AT_abstract_origin:·(ref_udata)·<0x52df4>
12577 ····<689e>···DW_AT_entry_pc····:·(addr)·0x2674a12577 ····<689e>···DW_AT_entry_pc····:·(addr)·0x2674a
12578 ····<68a2>···DW_AT_GNU_entry_view:·(data2)·012578 ····<68a2>···DW_AT_GNU_entry_view:·(data2)·0
12579 ····<68a4>···DW_AT_ranges······:·(sec_offset)·0x6c8312579 ····<68a4>···DW_AT_ranges······:·(sec_offset)·0x6c83
12580 ····<68a8>···DW_AT_call_file···:·(data1)·112580 ····<68a8>···DW_AT_call_file···:·(data1)·1
12581 ····<68a9>···DW_AT_call_line···:·(data2)·4863312581 ····<68a9>···DW_AT_call_line···:·(data2)·48633
12582 ····<68ab>···DW_AT_call_column·:·(data1)·1712582 ····<68ab>···DW_AT_call_column·:·(data1)·17
12583 ····<68ac>···DW_AT_sibling·····:·(ref_udata)·<0x6ead>12583 ····<68ac>···DW_AT_sibling·····:·(ref_udata)·<0x6ead>
12584 ·<3><68af>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12584 ·<3><68af>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12585 ····<68b0>···DW_AT_abstract_origin:·(ref_udata)·<0x52e2c>12585 ····<68b0>···DW_AT_abstract_origin:·(ref_udata)·<0x52e2a>
12586 ····<68b3>···DW_AT_location····:·(sec_offset)·0xb44·(location·list)12586 ····<68b3>···DW_AT_location····:·(sec_offset)·0xb44·(location·list)
12587 ····<68b7>···DW_AT_GNU_locviews:·(sec_offset)·0xb3c12587 ····<68b7>···DW_AT_GNU_locviews:·(sec_offset)·0xb3c
12588 ·<3><68bb>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12588 ·<3><68bb>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12589 ····<68bc>···DW_AT_abstract_origin:·(ref_udata)·<0x52e39>12589 ····<68bc>···DW_AT_abstract_origin:·(ref_udata)·<0x52e37>
12590 ····<68bf>···DW_AT_location····:·(sec_offset)·0xb6e·(location·list)12590 ····<68bf>···DW_AT_location····:·(sec_offset)·0xb6e·(location·list)
12591 ····<68c3>···DW_AT_GNU_locviews:·(sec_offset)·0xb6612591 ····<68c3>···DW_AT_GNU_locviews:·(sec_offset)·0xb66
12592 ·<3><68c7>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12592 ·<3><68c7>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12593 ····<68c8>···DW_AT_abstract_origin:·(ref_udata)·<0x52e05>12593 ····<68c8>···DW_AT_abstract_origin:·(ref_udata)·<0x52e03>
12594 ····<68cb>···DW_AT_location····:·(sec_offset)·0xb9b·(location·list)12594 ····<68cb>···DW_AT_location····:·(sec_offset)·0xb9b·(location·list)
12595 ····<68cf>···DW_AT_GNU_locviews:·(sec_offset)·0xb9312595 ····<68cf>···DW_AT_GNU_locviews:·(sec_offset)·0xb93
12596 ·<3><68d3>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12596 ·<3><68d3>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12597 ····<68d4>···DW_AT_abstract_origin:·(ref_udata)·<0x52e12>12597 ····<68d4>···DW_AT_abstract_origin:·(ref_udata)·<0x52e10>
12598 ····<68d7>···DW_AT_location····:·(sec_offset)·0xbc8·(location·list)12598 ····<68d7>···DW_AT_location····:·(sec_offset)·0xbc8·(location·list)
12599 ····<68db>···DW_AT_GNU_locviews:·(sec_offset)·0xbc412599 ····<68db>···DW_AT_GNU_locviews:·(sec_offset)·0xbc4
12600 ·<3><68df>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12600 ·<3><68df>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12601 ····<68e0>···DW_AT_abstract_origin:·(ref_udata)·<0x52e1f>12601 ····<68e0>···DW_AT_abstract_origin:·(ref_udata)·<0x52e1d>
12602 ····<68e3>···DW_AT_location····:·(sec_offset)·0xbe2·(location·list)12602 ····<68e3>···DW_AT_location····:·(sec_offset)·0xbe2·(location·list)
12603 ····<68e7>···DW_AT_GNU_locviews:·(sec_offset)·0xbdc12603 ····<68e7>···DW_AT_GNU_locviews:·(sec_offset)·0xbdc
12604 ·<3><68eb>:·Abbrev·Number:·10·(DW_TAG_lexical_block)12604 ·<3><68eb>:·Abbrev·Number:·10·(DW_TAG_lexical_block)
12605 ····<68ec>···DW_AT_ranges······:·(sec_offset)·0x6c8312605 ····<68ec>···DW_AT_ranges······:·(sec_offset)·0x6c83
12606 ·<4><68f0>:·Abbrev·Number:·5·(DW_TAG_variable)12606 ·<4><68f0>:·Abbrev·Number:·5·(DW_TAG_variable)
12607 ····<68f1>···DW_AT_abstract_origin:·(ref_udata)·<0x52e46>12607 ····<68f1>···DW_AT_abstract_origin:·(ref_udata)·<0x52e44>
12608 ····<68f4>···DW_AT_location····:·(sec_offset)·0xc05·(location·list)12608 ····<68f4>···DW_AT_location····:·(sec_offset)·0xc05·(location·list)
12609 ····<68f8>···DW_AT_GNU_locviews:·(sec_offset)·0xbfb12609 ····<68f8>···DW_AT_GNU_locviews:·(sec_offset)·0xbfb
12610 ·<4><68fc>:·Abbrev·Number:·5·(DW_TAG_variable)12610 ·<4><68fc>:·Abbrev·Number:·5·(DW_TAG_variable)
12611 ····<68fd>···DW_AT_abstract_origin:·(ref_udata)·<0x52e51>12611 ····<68fd>···DW_AT_abstract_origin:·(ref_udata)·<0x52e4f>
12612 ····<6900>···DW_AT_location····:·(sec_offset)·0xc3f·(location·list)12612 ····<6900>···DW_AT_location····:·(sec_offset)·0xc3f·(location·list)
12613 ····<6904>···DW_AT_GNU_locviews:·(sec_offset)·0xc3312613 ····<6904>···DW_AT_GNU_locviews:·(sec_offset)·0xc33
12614 ·<4><6908>:·Abbrev·Number:·5·(DW_TAG_variable)12614 ·<4><6908>:·Abbrev·Number:·5·(DW_TAG_variable)
12615 ····<6909>···DW_AT_abstract_origin:·(ref_udata)·<0x52e5e>12615 ····<6909>···DW_AT_abstract_origin:·(ref_udata)·<0x52e5c>
12616 ····<690c>···DW_AT_location····:·(sec_offset)·0xc76·(location·list)12616 ····<690c>···DW_AT_location····:·(sec_offset)·0xc76·(location·list)
12617 ····<6910>···DW_AT_GNU_locviews:·(sec_offset)·0xc6e12617 ····<6910>···DW_AT_GNU_locviews:·(sec_offset)·0xc6e
12618 ·<4><6914>:·Abbrev·Number:·5·(DW_TAG_variable)12618 ·<4><6914>:·Abbrev·Number:·5·(DW_TAG_variable)
12619 ····<6915>···DW_AT_abstract_origin:·(ref_udata)·<0x52e69>12619 ····<6915>···DW_AT_abstract_origin:·(ref_udata)·<0x52e67>
12620 ····<6918>···DW_AT_location····:·(sec_offset)·0xcbc·(location·list)12620 ····<6918>···DW_AT_location····:·(sec_offset)·0xcbc·(location·list)
12621 ····<691c>···DW_AT_GNU_locviews:·(sec_offset)·0xc9c12621 ····<691c>···DW_AT_GNU_locviews:·(sec_offset)·0xc9c
12622 ·<4><6920>:·Abbrev·Number:·5·(DW_TAG_variable)12622 ·<4><6920>:·Abbrev·Number:·5·(DW_TAG_variable)
12623 ····<6921>···DW_AT_abstract_origin:·(ref_udata)·<0x52e76>12623 ····<6921>···DW_AT_abstract_origin:·(ref_udata)·<0x52e74>
12624 ····<6924>···DW_AT_location····:·(sec_offset)·0xd47·(location·list)12624 ····<6924>···DW_AT_location····:·(sec_offset)·0xd47·(location·list)
12625 ····<6928>···DW_AT_GNU_locviews:·(sec_offset)·0xd3912625 ····<6928>···DW_AT_GNU_locviews:·(sec_offset)·0xd39
12626 ·<4><692c>:·Abbrev·Number:·5·(DW_TAG_variable)12626 ·<4><692c>:·Abbrev·Number:·5·(DW_TAG_variable)
12627 ····<692d>···DW_AT_abstract_origin:·(ref_udata)·<0x52e80>12627 ····<692d>···DW_AT_abstract_origin:·(ref_udata)·<0x52e7e>
12628 ····<6930>···DW_AT_location····:·(sec_offset)·0xdce·(location·list)12628 ····<6930>···DW_AT_location····:·(sec_offset)·0xdce·(location·list)
12629 ····<6934>···DW_AT_GNU_locviews:·(sec_offset)·0xda812629 ····<6934>···DW_AT_GNU_locviews:·(sec_offset)·0xda8
12630 ·<4><6938>:·Abbrev·Number:·5·(DW_TAG_variable)12630 ·<4><6938>:·Abbrev·Number:·5·(DW_TAG_variable)
12631 ····<6939>···DW_AT_abstract_origin:·(ref_udata)·<0x52e8d>12631 ····<6939>···DW_AT_abstract_origin:·(ref_udata)·<0x52e8b>
12632 ····<693c>···DW_AT_location····:·(sec_offset)·0xe84·(location·list)12632 ····<693c>···DW_AT_location····:·(sec_offset)·0xe84·(location·list)
12633 ····<6940>···DW_AT_GNU_locviews:·(sec_offset)·0xe6212633 ····<6940>···DW_AT_GNU_locviews:·(sec_offset)·0xe62
12634 ·<4><6944>:·Abbrev·Number:·5·(DW_TAG_variable)12634 ·<4><6944>:·Abbrev·Number:·5·(DW_TAG_variable)
12635 ····<6945>···DW_AT_abstract_origin:·(ref_udata)·<0x52e9a>12635 ····<6945>···DW_AT_abstract_origin:·(ref_udata)·<0x52e98>
12636 ····<6948>···DW_AT_location····:·(sec_offset)·0xf1d·(location·list)12636 ····<6948>···DW_AT_location····:·(sec_offset)·0xf1d·(location·list)
12637 ····<694c>···DW_AT_GNU_locviews:·(sec_offset)·0xf0d12637 ····<694c>···DW_AT_GNU_locviews:·(sec_offset)·0xf0d
12638 ·<4><6950>:·Abbrev·Number:·5·(DW_TAG_variable)12638 ·<4><6950>:·Abbrev·Number:·5·(DW_TAG_variable)
12639 ····<6951>···DW_AT_abstract_origin:·(ref_udata)·<0x52ea4>12639 ····<6951>···DW_AT_abstract_origin:·(ref_udata)·<0x52ea2>
12640 ····<6954>···DW_AT_location····:·(sec_offset)·0xf7a·(location·list)12640 ····<6954>···DW_AT_location····:·(sec_offset)·0xf7a·(location·list)
12641 ····<6958>···DW_AT_GNU_locviews:·(sec_offset)·0xf6a12641 ····<6958>···DW_AT_GNU_locviews:·(sec_offset)·0xf6a
12642 ·<4><695c>:·Abbrev·Number:·5·(DW_TAG_variable)12642 ·<4><695c>:·Abbrev·Number:·5·(DW_TAG_variable)
12643 ····<695d>···DW_AT_abstract_origin:·(ref_udata)·<0x52eb1>12643 ····<695d>···DW_AT_abstract_origin:·(ref_udata)·<0x52eaf>
12644 ····<6960>···DW_AT_location····:·(sec_offset)·0xfe3·(location·list)12644 ····<6960>···DW_AT_location····:·(sec_offset)·0xfe3·(location·list)
12645 ····<6964>···DW_AT_GNU_locviews:·(sec_offset)·0xfcf12645 ····<6964>···DW_AT_GNU_locviews:·(sec_offset)·0xfcf
12646 ·<4><6968>:·Abbrev·Number:·34·(DW_TAG_label)12646 ·<4><6968>:·Abbrev·Number:·34·(DW_TAG_label)
12647 ····<6969>···DW_AT_abstract_origin:·(ref_udata)·<0x52ebb>12647 ····<6969>···DW_AT_abstract_origin:·(ref_udata)·<0x52eb9>
12648 ·<4><696c>:·Abbrev·Number:·30·(DW_TAG_label)12648 ·<4><696c>:·Abbrev·Number:·30·(DW_TAG_label)
12649 ····<696d>···DW_AT_abstract_origin:·(ref_udata)·<0x52ec3>12649 ····<696d>···DW_AT_abstract_origin:·(ref_udata)·<0x52ec1>
12650 ····<6970>···DW_AT_low_pc······:·(addr)·0x2682412650 ····<6970>···DW_AT_low_pc······:·(addr)·0x26824
12651 ·<4><6974>:·Abbrev·Number:·34·(DW_TAG_label)12651 ·<4><6974>:·Abbrev·Number:·34·(DW_TAG_label)
12652 ····<6975>···DW_AT_abstract_origin:·(ref_udata)·<0x52ecb>12652 ····<6975>···DW_AT_abstract_origin:·(ref_udata)·<0x52ec9>
12653 ·<4><6978>:·Abbrev·Number:·6·(DW_TAG_inlined_subroutine)12653 ·<4><6978>:·Abbrev·Number:·6·(DW_TAG_inlined_subroutine)
12654 ····<6979>···DW_AT_abstract_origin:·(GNU_ref_alt)·<0x2789e>12654 ····<6979>···DW_AT_abstract_origin:·(GNU_ref_alt)·<0x2789e>
12655 ····<697d>···DW_AT_entry_pc····:·(addr)·0x2675912655 ····<697d>···DW_AT_entry_pc····:·(addr)·0x26759
12656 ····<6981>···DW_AT_GNU_entry_view:·(data2)·012656 ····<6981>···DW_AT_GNU_entry_view:·(data2)·0
12657 ····<6983>···DW_AT_low_pc······:·(addr)·0x2675912657 ····<6983>···DW_AT_low_pc······:·(addr)·0x26759
12658 ····<6987>···DW_AT_high_pc·····:·(udata)·1412658 ····<6987>···DW_AT_high_pc·····:·(udata)·14
12659 ····<6988>···DW_AT_call_file···:·(data1)·112659 ····<6988>···DW_AT_call_file···:·(data1)·1
Offset 13196, 15 lines modifiedOffset 13196, 15 lines modified
13196 ····<6f03>···DW_AT_call_return_pc:·(addr)·0x266bd13196 ····<6f03>···DW_AT_call_return_pc:·(addr)·0x266bd
13197 ····<6f07>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x274cf>13197 ····<6f07>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x274cf>
13198 ·<2><6f0b>:·Abbrev·Number:·4·(DW_TAG_call_site)13198 ·<2><6f0b>:·Abbrev·Number:·4·(DW_TAG_call_site)
13199 ····<6f0c>···DW_AT_call_return_pc:·(addr)·0x266fd13199 ····<6f0c>···DW_AT_call_return_pc:·(addr)·0x266fd
13200 ····<6f10>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x271a3>13200 ····<6f10>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x271a3>
13201 ·<2><6f14>:·Abbrev·Number:·15·(DW_TAG_call_site)13201 ·<2><6f14>:·Abbrev·Number:·15·(DW_TAG_call_site)
13202 ····<6f15>···DW_AT_call_return_pc:·(addr)·0x2688313202 ····<6f15>···DW_AT_call_return_pc:·(addr)·0x26883
13203 ····<6f19>···DW_AT_call_origin·:·(ref_udata)·<0x4498c>13203 ····<6f19>···DW_AT_call_origin·:·(ref_udata)·<0x4498a>
13204 ····<6f1c>···DW_AT_sibling·····:·(ref_udata)·<0x6f36>13204 ····<6f1c>···DW_AT_sibling·····:·(ref_udata)·<0x6f36>
13205 ·<3><6f1f>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)13205 ·<3><6f1f>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)
13206 ····<6f20>···DW_AT_location····:·(exprloc)·1·byte·block:·50·»    (DW_OP_reg0·(eax))13206 ····<6f20>···DW_AT_location····:·(exprloc)·1·byte·block:·50·»    (DW_OP_reg0·(eax))
13207 ····<6f22>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e8·7e·6·»     (DW_OP_fbreg:·-152;·DW_OP_deref)13207 ····<6f22>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e8·7e·6·»     (DW_OP_fbreg:·-152;·DW_OP_deref)
13208 ·<3><6f27>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)13208 ·<3><6f27>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)
13209 ····<6f28>···DW_AT_location····:·(exprloc)·1·byte·block:·52·»    (DW_OP_reg2·(edx))13209 ····<6f28>···DW_AT_location····:·(exprloc)·1·byte·block:·52·»    (DW_OP_reg2·(edx))
13210 ····<6f2a>···DW_AT_call_value··:·(exprloc)·3·byte·block:·91·8·6·»(DW_OP_fbreg:·8;·DW_OP_deref)13210 ····<6f2a>···DW_AT_call_value··:·(exprloc)·3·byte·block:·91·8·6·»(DW_OP_fbreg:·8;·DW_OP_deref)
Offset 13221, 15 lines modifiedOffset 13221, 15 lines modified
13221 ····<6f44>···DW_AT_call_value··:·(exprloc)·2·byte·block:·76·0·» (DW_OP_breg6·(esi):·0)13221 ····<6f44>···DW_AT_call_value··:·(exprloc)·2·byte·block:·76·0·» (DW_OP_breg6·(esi):·0)
13222 ·<3><6f47>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)13222 ·<3><6f47>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)
13223 ····<6f48>···DW_AT_location····:·(exprloc)·1·byte·block:·51·»    (DW_OP_reg1·(ecx))13223 ····<6f48>···DW_AT_location····:·(exprloc)·1·byte·block:·51·»    (DW_OP_reg1·(ecx))
13224 ····<6f4a>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e0·7e·6·»     (DW_OP_fbreg:·-160;·DW_OP_deref)13224 ····<6f4a>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e0·7e·6·»     (DW_OP_fbreg:·-160;·DW_OP_deref)
13225 ·<3><6f4f>:·Abbrev·Number:·013225 ·<3><6f4f>:·Abbrev·Number:·0
13226 ·<2><6f50>:·Abbrev·Number:·47·(DW_TAG_call_site)13226 ·<2><6f50>:·Abbrev·Number:·47·(DW_TAG_call_site)
13227 ····<6f51>···DW_AT_call_return_pc:·(addr)·0x268ed13227 ····<6f51>···DW_AT_call_return_pc:·(addr)·0x268ed
Max diff block lines reached; 14306850/14315118 bytes (99.94%) of diff not shown.
30.7 KB
readelf --wide --debug-dump=loc {}
    
Offset 59518, 21 lines modifiedOffset 59518, 21 lines modified
59518 ····0002b29a·v0000001·v0000000·views·at·0002b298·for:59518 ····0002b29a·v0000001·v0000000·views·at·0002b298·for:
59519 ·············00033a67·00033b57·(DW_OP_lit1;·DW_OP_stack_value)59519 ·············00033a67·00033b57·(DW_OP_lit1;·DW_OP_stack_value)
59520 ····0002b2a4·<End·of·list>59520 ····0002b2a4·<End·of·list>
  
59521 ····0002b2a5·v0000001·v0000000·location·view·pair59521 ····0002b2a5·v0000001·v0000000·location·view·pair
  
59522 ····0002b2a7·v0000001·v0000000·views·at·0002b2a5·for:59522 ····0002b2a7·v0000001·v0000000·views·at·0002b2a5·for:
59523 ·············00033a67·00033b57·(DW_OP_implicit_pointer:·<0x260c0>·0)59523 ·············00033a67·00033b57·(DW_OP_implicit_pointer:·<0x260be>·0)
59524 ····0002b2b5·<End·of·list>59524 ····0002b2b5·<End·of·list>
  
59525 ····0002b2b6·v0000001·v0000000·location·view·pair59525 ····0002b2b6·v0000001·v0000000·location·view·pair
  
59526 ····0002b2b8·v0000001·v0000000·views·at·0002b2b6·for:59526 ····0002b2b8·v0000001·v0000000·views·at·0002b2b6·for:
59527 ·············00033a67·00033b57·(DW_OP_implicit_pointer:·<0x260e8>·0)59527 ·············00033a67·00033b57·(DW_OP_implicit_pointer:·<0x260e6>·0)
59528 ····0002b2c6·<End·of·list>59528 ····0002b2c6·<End·of·list>
  
59529 ····0002b2c7·v0000001·v0000000·location·view·pair59529 ····0002b2c7·v0000001·v0000000·location·view·pair
  
59530 ····0002b2c9·v0000001·v0000000·views·at·0002b2c7·for:59530 ····0002b2c9·v0000001·v0000000·views·at·0002b2c7·for:
59531 ·············00033a74·00033b57·(DW_OP_reg5·(ebp))59531 ·············00033a74·00033b57·(DW_OP_reg5·(ebp))
59532 ····0002b2d2·<End·of·list>59532 ····0002b2d2·<End·of·list>
Offset 59616, 19 lines modifiedOffset 59616, 19 lines modified
  
59616 ····0002b3a1·v0000003·v0000000·location·view·pair59616 ····0002b3a1·v0000003·v0000000·location·view·pair
59617 ····0002b3a3·v0000000·v0000000·location·view·pair59617 ····0002b3a3·v0000000·v0000000·location·view·pair
59618 ····0002b3a5·v0000000·v0000001·location·view·pair59618 ····0002b3a5·v0000000·v0000001·location·view·pair
  
59619 ····0002b3a7·00033b57·(base·address)59619 ····0002b3a7·00033b57·(base·address)
59620 ····0002b3ac·v0000003·v0000000·views·at·0002b3a1·for:59620 ····0002b3ac·v0000003·v0000000·views·at·0002b3a1·for:
59621 ·············00033b57·00033bab·(DW_OP_implicit_pointer:·<0x2602d>·0)59621 ·············00033b57·00033bab·(DW_OP_implicit_pointer:·<0x2602b>·0)
59622 ····0002b3b6·v0000000·v0000000·views·at·0002b3a3·for:59622 ····0002b3b6·v0000000·v0000000·views·at·0002b3a3·for:
59623 ·············00033f77·00033f8c·(DW_OP_implicit_pointer:·<0x2602d>·0)59623 ·············00033f77·00033f8c·(DW_OP_implicit_pointer:·<0x2602b>·0)
59624 ····0002b3c2·v0000000·v0000001·views·at·0002b3a5·for:59624 ····0002b3c2·v0000000·v0000001·views·at·0002b3a5·for:
59625 ·············00034709·0003472f·(DW_OP_implicit_pointer:·<0x2602d>·0)59625 ·············00034709·0003472f·(DW_OP_implicit_pointer:·<0x2602b>·0)
59626 ····0002b3ce·<End·of·list>59626 ····0002b3ce·<End·of·list>
  
59627 ····0002b3cf·v0000000·v0000000·location·view·pair59627 ····0002b3cf·v0000000·v0000000·location·view·pair
  
59628 ····0002b3d1·v0000000·v0000000·views·at·0002b3cf·for:59628 ····0002b3d1·v0000000·v0000000·views·at·0002b3cf·for:
59629 ·············00033b9b·00033bab·(DW_OP_reg5·(ebp))59629 ·············00033b9b·00033bab·(DW_OP_reg5·(ebp))
59630 ····0002b3d9·<End·of·list>59630 ····0002b3d9·<End·of·list>
Offset 75689, 37 lines modifiedOffset 75689, 37 lines modified
75689 ····0003735f·<End·of·list>75689 ····0003735f·<End·of·list>
  
75690 ····00037360·v0000001·v0000000·location·view·pair75690 ····00037360·v0000001·v0000000·location·view·pair
75691 ····00037362·v0000000·v0000000·location·view·pair75691 ····00037362·v0000000·v0000000·location·view·pair
  
75692 ····00037364·0002bf64·(base·address)75692 ····00037364·0002bf64·(base·address)
75693 ····00037369·v0000001·v0000000·views·at·00037360·for:75693 ····00037369·v0000001·v0000000·views·at·00037360·for:
75694 ·············0002bf64·0002bf9d·(DW_OP_implicit_pointer:·<0x336b7>·0)75694 ·············0002bf64·0002bf9d·(DW_OP_implicit_pointer:·<0x336b5>·0)
75695 ····00037373·v0000000·v0000000·views·at·00037362·for:75695 ····00037373·v0000000·v0000000·views·at·00037362·for:
75696 ·············0002d2e9·0002d330·(DW_OP_implicit_pointer:·<0x336b7>·0)75696 ·············0002d2e9·0002d330·(DW_OP_implicit_pointer:·<0x336b5>·0)
75697 ····0003737f·<End·of·list>75697 ····0003737f·<End·of·list>
  
75698 ····00037380·v0000001·v0000000·location·view·pair75698 ····00037380·v0000001·v0000000·location·view·pair
75699 ····00037382·v0000000·v0000000·location·view·pair75699 ····00037382·v0000000·v0000000·location·view·pair
  
75700 ····00037384·0002bf64·(base·address)75700 ····00037384·0002bf64·(base·address)
75701 ····00037389·v0000001·v0000000·views·at·00037380·for:75701 ····00037389·v0000001·v0000000·views·at·00037380·for:
75702 ·············0002bf64·0002bf9d·(DW_OP_implicit_pointer:·<0x336cb>·0)75702 ·············0002bf64·0002bf9d·(DW_OP_implicit_pointer:·<0x336c9>·0)
75703 ····00037393·v0000000·v0000000·views·at·00037382·for:75703 ····00037393·v0000000·v0000000·views·at·00037382·for:
75704 ·············0002d2e9·0002d330·(DW_OP_implicit_pointer:·<0x336cb>·0)75704 ·············0002d2e9·0002d330·(DW_OP_implicit_pointer:·<0x336c9>·0)
75705 ····0003739f·<End·of·list>75705 ····0003739f·<End·of·list>
  
75706 ····000373a0·v0000001·v0000000·location·view·pair75706 ····000373a0·v0000001·v0000000·location·view·pair
75707 ····000373a2·v0000000·v0000000·location·view·pair75707 ····000373a2·v0000000·v0000000·location·view·pair
  
75708 ····000373a4·0002bf64·(base·address)75708 ····000373a4·0002bf64·(base·address)
75709 ····000373a9·v0000001·v0000000·views·at·000373a0·for:75709 ····000373a9·v0000001·v0000000·views·at·000373a0·for:
75710 ·············0002bf64·0002bf9d·(DW_OP_implicit_pointer:·<0x336df>·0)75710 ·············0002bf64·0002bf9d·(DW_OP_implicit_pointer:·<0x336dd>·0)
75711 ····000373b3·v0000000·v0000000·views·at·000373a2·for:75711 ····000373b3·v0000000·v0000000·views·at·000373a2·for:
75712 ·············0002d2e9·0002d330·(DW_OP_implicit_pointer:·<0x336df>·0)75712 ·············0002d2e9·0002d330·(DW_OP_implicit_pointer:·<0x336dd>·0)
75713 ····000373bf·<End·of·list>75713 ····000373bf·<End·of·list>
  
75714 ····000373c0·v0000000·v0000005·location·view·pair75714 ····000373c0·v0000000·v0000005·location·view·pair
75715 ····000373c2·v0000005·v0000000·location·view·pair75715 ····000373c2·v0000005·v0000000·location·view·pair
75716 ····000373c4·v0000000·v0000000·location·view·pair75716 ····000373c4·v0000000·v0000000·location·view·pair
  
75717 ····000373c6·0002d2f3·(base·address)75717 ····000373c6·0002d2f3·(base·address)
Offset 76969, 37 lines modifiedOffset 76969, 37 lines modified
76969 ····00037f48·<End·of·list>76969 ····00037f48·<End·of·list>
  
76970 ····00037f49·v0000001·v0000000·location·view·pair76970 ····00037f49·v0000001·v0000000·location·view·pair
76971 ····00037f4b·v0000000·v0000000·location·view·pair76971 ····00037f4b·v0000000·v0000000·location·view·pair
  
76972 ····00037f4d·0002b723·(base·address)76972 ····00037f4d·0002b723·(base·address)
76973 ····00037f52·v0000001·v0000000·views·at·00037f49·for:76973 ····00037f52·v0000001·v0000000·views·at·00037f49·for:
76974 ·············0002b723·0002b759·(DW_OP_implicit_pointer:·<0x33645>·0)76974 ·············0002b723·0002b759·(DW_OP_implicit_pointer:·<0x33643>·0)
76975 ····00037f5c·v0000000·v0000000·views·at·00037f4b·for:76975 ····00037f5c·v0000000·v0000000·views·at·00037f4b·for:
76976 ·············0002c253·0002c29b·(DW_OP_implicit_pointer:·<0x33645>·0)76976 ·············0002c253·0002c29b·(DW_OP_implicit_pointer:·<0x33643>·0)
76977 ····00037f68·<End·of·list>76977 ····00037f68·<End·of·list>
  
76978 ····00037f69·v0000001·v0000000·location·view·pair76978 ····00037f69·v0000001·v0000000·location·view·pair
76979 ····00037f6b·v0000000·v0000000·location·view·pair76979 ····00037f6b·v0000000·v0000000·location·view·pair
  
76980 ····00037f6d·0002b723·(base·address)76980 ····00037f6d·0002b723·(base·address)
76981 ····00037f72·v0000001·v0000000·views·at·00037f69·for:76981 ····00037f72·v0000001·v0000000·views·at·00037f69·for:
76982 ·············0002b723·0002b759·(DW_OP_implicit_pointer:·<0x33659>·0)76982 ·············0002b723·0002b759·(DW_OP_implicit_pointer:·<0x33657>·0)
76983 ····00037f7c·v0000000·v0000000·views·at·00037f6b·for:76983 ····00037f7c·v0000000·v0000000·views·at·00037f6b·for:
76984 ·············0002c253·0002c29b·(DW_OP_implicit_pointer:·<0x33659>·0)76984 ·············0002c253·0002c29b·(DW_OP_implicit_pointer:·<0x33657>·0)
76985 ····00037f88·<End·of·list>76985 ····00037f88·<End·of·list>
  
76986 ····00037f89·v0000001·v0000000·location·view·pair76986 ····00037f89·v0000001·v0000000·location·view·pair
76987 ····00037f8b·v0000000·v0000000·location·view·pair76987 ····00037f8b·v0000000·v0000000·location·view·pair
  
76988 ····00037f8d·0002b723·(base·address)76988 ····00037f8d·0002b723·(base·address)
76989 ····00037f92·v0000001·v0000000·views·at·00037f89·for:76989 ····00037f92·v0000001·v0000000·views·at·00037f89·for:
76990 ·············0002b723·0002b759·(DW_OP_implicit_pointer:·<0x3366d>·0)76990 ·············0002b723·0002b759·(DW_OP_implicit_pointer:·<0x3366b>·0)
76991 ····00037f9c·v0000000·v0000000·views·at·00037f8b·for:76991 ····00037f9c·v0000000·v0000000·views·at·00037f8b·for:
76992 ·············0002c253·0002c29b·(DW_OP_implicit_pointer:·<0x3366d>·0)76992 ·············0002c253·0002c29b·(DW_OP_implicit_pointer:·<0x3366b>·0)
76993 ····00037fa8·<End·of·list>76993 ····00037fa8·<End·of·list>
  
76994 ····00037fa9·v0000000·v0000005·location·view·pair76994 ····00037fa9·v0000000·v0000005·location·view·pair
76995 ····00037fab·v0000005·v0000000·location·view·pair76995 ····00037fab·v0000005·v0000000·location·view·pair
76996 ····00037fad·v0000000·v0000000·location·view·pair76996 ····00037fad·v0000000·v0000000·location·view·pair
  
76997 ····00037faf·0002c25e·(base·address)76997 ····00037faf·0002c25e·(base·address)
Offset 91683, 32 lines modifiedOffset 91683, 32 lines modified
  
91683 ····00041fe9·v0000004·v0000000·location·view·pair91683 ····00041fe9·v0000004·v0000000·location·view·pair
91684 ····00041feb·v0000000·v0000000·location·view·pair91684 ····00041feb·v0000000·v0000000·location·view·pair
91685 ····00041fed·v0000005·v0000004·location·view·pair91685 ····00041fed·v0000005·v0000004·location·view·pair
  
91686 ····00041fef·00022faf·(base·address)91686 ····00041fef·00022faf·(base·address)
91687 ····00041ff4·v0000004·v0000000·views·at·00041fe9·for:91687 ····00041ff4·v0000004·v0000000·views·at·00041fe9·for:
91688 ·············00022faf·00023005·(DW_OP_implicit_pointer:·<0x3f5d5>·0)91688 ·············00022faf·00023005·(DW_OP_implicit_pointer:·<0x3f5d3>·0)
91689 ····00041ffe·v0000000·v0000000·views·at·00041feb·for:91689 ····00041ffe·v0000000·v0000000·views·at·00041feb·for:
Max diff block lines reached; 24900/31377 bytes (79.36%) of diff not shown.
2.27 KB
strings --all --bytes=8 {}
    
Offset 1, 66 lines modifiedOffset 1, 57 lines modified
1 v,GCC:·(Debian·14.2.0-16)·14.2.01 GCC:·(Debian·14.2.0-16)·14.2.0
2 T·;Inub352 ")gOrV/.
 3 sG\)gM*>
 4 y.GC+»  :H
 5 k(Aqs1M^
3 Gy}_H(V66 Gy}_H(V6
 7 fH,·!QK0
 8 4Kk|6GrS[
 9 +~T4WP!z
 10 5g<a4{zr
 11 PFd:-^jt
 12 IM|RN["~
 13 ii-UVZZ?+
 14 sww&C>o.
 15 .+2B4Ht}E
 16 %Y<+d'"x
 17 7Y!w"oko
 18 \,!#q%%hWI
 19 3']QfSu3e
 20 .13h9j}9
 21 DVJ9_v_V
 22 HUm28>2Ol
 23 1»      )MhL@J
 24 soI,Va4z
 25 <k:-RVG$>
 26 hPbMS<-2
 27 $I?T3K='
 28 &YvP#N%Q
 29 P<EYn»  [v
 30 D,va4<h5
 31 [9B|@n*p
 32 j·fX7a_n·fXZ
 33 APw@az(u^X
 34 d]qt91XS
 35 :wIq'g.p
 36 t{6H[8V$}
 37 Nz];;t}[
 38 M[N8MeK>7<
 39 1\>1\>7}
 40 eU4n<+i=
 41 +LnfONnk
 42 0t?VWDq5D[Dmc&
 43 pn"Ab3hdA
 44 L2/4N8·v
 45 .V1\gJy<n
 46 X6Ny^rZ)
 47 `nNf;}q4
 48 Jt>F-@iU=(
 49 Y\nlN·AN5
 50 8e{KW»  {OC~
4 D.bv8YeI 
5 )qw7s"X?C 
6 v{[BA[AI 
7 1==%jr?0| 
8 y`*!'=CI 
9 32wk=+S@ 
10 tPRi1'=n4z 
11 ·/q*/q*/ 
12 3qLXeAQ\ 
13 tWMWuuuuuOOOo 
14 MM|:CoL_ 
15 DY(QO8k[ 
16 =#Fb|X_d 
17 T|GY|2hN 
18 WFvilswiKs 
19 qm\'eB1»D}RN 
20 D<tgIEyt 
21 HUJ=rn2m 
22 bW@D:RTD 
23 {%ZWCQ<RH~ 
24 7[GWPCr# 
25 F2>%4·1Q 
26 Cz-KUv&V 
27 +wmexERt 
28 (PkM\Z5» 
29 ,xJ7%-tx( 
30 7];E?__7N 
31 ^LH1_|Y' 
32 [gM^UU3[ 
33 d2p#NX_u 
34 Tm!<sHP:1% 
35 %E&KI&ob 
36 0@V7a56s 
37 5LcI(&Fq 
38 ·K&;62&t 
39 ?i/2$P7Qh 
40 '^.+_si' 
41 >4tB0tB0lh 
42 ~ZseS·V!]Z 
43 ;/6rRd1' 
44 ";GM0D.0oj 
45 +#Qx?Mux 
46 W.u4»   EpI)E 
47 M&9M6>P( 
48 U(%QCf0CiO 
49 nhJyvu*Y. 
50 ]26Pnhgk3 
51 $A"1Y]8; 
52 "/i9ZC/* 
53 WhoQ5QM# 
54 %N>:%WQ~ 
55 4{f8{f8{& 
56 T}6Np^xAX 
57 ik2,=_cq 
58 YEcEy,DP 
59 DAi8e1<c 
60 E8C3w·R]51 E8C3w·R]
61 7j~kZJWg1e152 7j~kZJWg1e1
62 VUdv%?ZTX53 VUdv%?ZTX
63 EpWOF}#%O54 EpWOF}#%O
64 !-</Qb-*55 !-</Qb-*
65 w?=Jc$@056 w?=Jc$@0
66 [eZf&)@T57 [eZf&)@T
Offset 109, 50 lines modifiedOffset 100, 55 lines modified
109 fk.+(Sl>100 fk.+(Sl>
110 8c~x8$;P8101 8c~x8$;P8
111 $52pR:51102 $52pR:51
112 2*cYFlX'103 2*cYFlX'
113 j}h6-L'@104 j}h6-L'@
114 "Z@`gU^7105 "Z@`gU^7
115 =}i{Kfw[106 =}i{Kfw[
116 #H9"_w9j0S 
117 +0Pa\E6,\q_ 
118 F1In)9RF 
119 UrZ07H1s 
120 "U$c"*Bw 
121 4\![A6@A 
Max diff block lines reached; 177/2270 bytes (7.80%) of diff not shown.
13.4 MB
./usr/lib/debug/.build-id/7c/fdd6436164c87c053a9815ba61aec40f8eaa6d.debug vs.
./usr/lib/debug/.build-id/62/1de264edd278cc384da725741d49d9dc419162.debug
File has been modified after NT_GNU_BUILD_ID has been applied. Files 85% similar despite different names
867 B
readelf --wide --file-header {}
    
Offset 6, 15 lines modifiedOffset 6, 15 lines modified
6 ··OS/ABI:····························UNIX·-·System·V6 ··OS/ABI:····························UNIX·-·System·V
7 ··ABI·Version:·······················07 ··ABI·Version:·······················0
8 ··Type:······························DYN·(Shared·object·file)8 ··Type:······························DYN·(Shared·object·file)
9 ··Machine:···························Intel·803869 ··Machine:···························Intel·80386
10 ··Version:···························0x110 ··Version:···························0x1
11 ··Entry·point·address:···············0x011 ··Entry·point·address:···············0x0
12 ··Start·of·program·headers:··········52·(bytes·into·file)12 ··Start·of·program·headers:··········52·(bytes·into·file)
13 ··Start·of·section·headers:··········681692·(bytes·into·file)13 ··Start·of·section·headers:··········681672·(bytes·into·file)
14 ··Flags:·····························0x014 ··Flags:·····························0x0
15 ··Size·of·this·header:···············52·(bytes)15 ··Size·of·this·header:···············52·(bytes)
16 ··Size·of·program·headers:···········32·(bytes)16 ··Size·of·program·headers:···········32·(bytes)
17 ··Number·of·program·headers:·········917 ··Number·of·program·headers:·········9
18 ··Size·of·section·headers:···········40·(bytes)18 ··Size·of·section·headers:···········40·(bytes)
19 ··Number·of·section·headers:·········3519 ··Number·of·section·headers:·········35
20 ··Section·header·string·table·index:·3420 ··Section·header·string·table·index:·34
3.04 KB
readelf --wide --sections {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 There·are·35·section·headers,·starting·at·offset·0xa66dc:1 There·are·35·section·headers,·starting·at·offset·0xa66c8:
  
2 Section·Headers:2 Section·Headers:
3 ··[Nr]·Name··············Type············Addr·····Off····Size···ES·Flg·Lk·Inf·Al3 ··[Nr]·Name··············Type············Addr·····Off····Size···ES·Flg·Lk·Inf·Al
4 ··[·0]···················NULL············00000000·000000·000000·00······0···0··04 ··[·0]···················NULL············00000000·000000·000000·00······0···0··0
5 ··[·1]·.note.gnu.build-id·NOTE············00000154·000154·000024·00···A··0···0··45 ··[·1]·.note.gnu.build-id·NOTE············00000154·000154·000024·00···A··0···0··4
6 ··[·2]·.gnu.hash·········NOBITS··········00000178·000178·000024·04···A··3···0··46 ··[·2]·.gnu.hash·········NOBITS··········00000178·000178·000024·04···A··3···0··4
7 ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d20·10···A··4···1··47 ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d20·10···A··4···1··4
Offset 23, 22 lines modifiedOffset 23, 22 lines modified
23 ··[18]·.fini_array·······NOBITS··········00061bc0·000bbc·000004·04··WA··0···0··423 ··[18]·.fini_array·······NOBITS··········00061bc0·000bbc·000004·04··WA··0···0··4
24 ··[19]·.dynamic··········NOBITS··········00061bc4·000bbc·0000f0·08··WA··4···0··424 ··[19]·.dynamic··········NOBITS··········00061bc4·000bbc·0000f0·08··WA··4···0··4
25 ··[20]·.got··············NOBITS··········00061cb4·000bbc·00034c·04··WA··0···0··425 ··[20]·.got··············NOBITS··········00061cb4·000bbc·00034c·04··WA··0···0··4
26 ··[21]·.data·············NOBITS··········00062000·000bbc·000c38·00··WA··0···0·3226 ··[21]·.data·············NOBITS··········00062000·000bbc·000c38·00··WA··0···0·32
27 ··[22]·.bss··············NOBITS··········00062c40·000bbc·000944·00··WA··0···0·3227 ··[22]·.bss··············NOBITS··········00062c40·000bbc·000944·00··WA··0···0·32
28 ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··128 ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··1
29 ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b1·00···C··0···0··429 ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b1·00···C··0···0··4
30 ··[25]·.debug_info·······PROGBITS········00000000·00024c·03d267·00···C··0···0··430 ··[25]·.debug_info·······PROGBITS········00000000·00024c·03d251·00···C··0···0··4
31 ··[26]·.debug_abbrev·····PROGBITS········00000000·03d4b4·000422·00···C··0···0··431 ··[26]·.debug_abbrev·····PROGBITS········00000000·03d4a0·000422·00···C··0···0··4
32 ··[27]·.debug_line·······PROGBITS········00000000·03d8d8·01fb39·00···C··0···0··432 ··[27]·.debug_line·······PROGBITS········00000000·03d8c4·01fb39·00···C··0···0··4
33 ··[28]·.debug_line_str···PROGBITS········00000000·05d414·0001c3·01·MSC··0···0··433 ··[28]·.debug_line_str···PROGBITS········00000000·05d400·0001c3·01·MSC··0···0··4
34 ··[29]·.debug_loclists···PROGBITS········00000000·05d5d8·036149·00···C··0···0··434 ··[29]·.debug_loclists···PROGBITS········00000000·05d5c4·03614b·00···C··0···0··4
35 ··[30]·.debug_rnglists···PROGBITS········00000000·093724·00972a·00···C··0···0··435 ··[30]·.debug_rnglists···PROGBITS········00000000·093710·00972a·00···C··0···0··4
36 ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ce4e·000050·00······0···0··136 ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ce3a·000050·00······0···0··1
37 ··[32]·.symtab···········SYMTAB··········00000000·09cea0·003dd0·10·····33·780··437 ··[32]·.symtab···········SYMTAB··········00000000·09ce8c·003dd0·10·····33·780··4
38 ··[33]·.strtab···········STRTAB··········00000000·0a0c70·00590d·00······0···0··138 ··[33]·.strtab···········STRTAB··········00000000·0a0c5c·00590d·00······0···0··1
39 ··[34]·.shstrtab·········STRTAB··········00000000·0a657d·00015d·00······0···0··139 ··[34]·.shstrtab·········STRTAB··········00000000·0a6569·00015d·00······0···0··1
40 Key·to·Flags:40 Key·to·Flags:
41 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),41 ··W·(write),·A·(alloc),·X·(execute),·M·(merge),·S·(strings),·I·(info),
42 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),42 ··L·(link·order),·O·(extra·OS·processing·required),·G·(group),·T·(TLS),
43 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),43 ··C·(compressed),·x·(unknown),·o·(OS·specific),·E·(exclude),
44 ··D·(mbind),·p·(processor·specific)44 ··D·(mbind),·p·(processor·specific)
430 B
readelf --wide --notes {}
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 Displaying·notes·found·in:·.note.gnu.build-id1 Displaying·notes·found·in:·.note.gnu.build-id
2 ··Owner················Data·size·»  Description2 ··Owner················Data·size·»  Description
3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·7cfdd6436164c87c053a9815ba61aec40f8eaa6d3 ··GNU··················0x00000014»  NT_GNU_BUILD_ID·(unique·build·ID·bitstring)»   ····Build·ID:·621de264edd278cc384da725741d49d9dc419162
13.4 MB
readelf --wide --debug-dump=info {}
    
Offset 1, 11 lines modifiedOffset 1, 11 lines modified
1 Contents·of·the·.debug_info·section:1 Contents·of·the·.debug_info·section:
  
2 ··Compilation·Unit·@·offset·0:2 ··Compilation·Unit·@·offset·0:
3 ···Length:········0x70713·(32-bit)3 ···Length:········0x70711·(32-bit)
4 ···Version:·······54 ···Version:·······5
5 ···Unit·Type:·····DW_UT_compile·(1)5 ···Unit·Type:·····DW_UT_compile·(1)
6 ···Abbrev·Offset:·06 ···Abbrev·Offset:·0
7 ···Pointer·Size:··47 ···Pointer·Size:··4
8 ·<0><c>:·Abbrev·Number:·144·(DW_TAG_compile_unit)8 ·<0><c>:·Abbrev·Number:·144·(DW_TAG_compile_unit)
9 ····<e>···DW_AT_producer····:·(GNU_strp_alt)·(offset:·0xdd4d5)·9 ····<e>···DW_AT_producer····:·(GNU_strp_alt)·(offset:·0xdd4d5)·
10 ····<12>···DW_AT_language····:·(data1)·29»   (C11)10 ····<12>···DW_AT_language····:·(data1)·29»   (C11)
Offset 12471, 91 lines modifiedOffset 12471, 91 lines modified
12471 ·<5><67ed>:·Abbrev·Number:·012471 ·<5><67ed>:·Abbrev·Number:·0
12472 ·<4><67ee>:·Abbrev·Number:·4·(DW_TAG_call_site)12472 ·<4><67ee>:·Abbrev·Number:·4·(DW_TAG_call_site)
12473 ····<67ef>···DW_AT_call_return_pc:·(addr)·0x26a6912473 ····<67ef>···DW_AT_call_return_pc:·(addr)·0x26a69
12474 ····<67f3>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x2a1c1>12474 ····<67f3>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x2a1c1>
12475 ·<4><67f7>:·Abbrev·Number:·012475 ·<4><67f7>:·Abbrev·Number:·0
12476 ·<3><67f8>:·Abbrev·Number:·012476 ·<3><67f8>:·Abbrev·Number:·0
12477 ·<2><67f9>:·Abbrev·Number:·14·(DW_TAG_inlined_subroutine)12477 ·<2><67f9>:·Abbrev·Number:·14·(DW_TAG_inlined_subroutine)
12478 ····<67fa>···DW_AT_abstract_origin:·(ref_udata)·<0x524db>12478 ····<67fa>···DW_AT_abstract_origin:·(ref_udata)·<0x524d9>
12479 ····<67fd>···DW_AT_entry_pc····:·(addr)·0x2686a12479 ····<67fd>···DW_AT_entry_pc····:·(addr)·0x2686a
12480 ····<6801>···DW_AT_GNU_entry_view:·(data2)·012480 ····<6801>···DW_AT_GNU_entry_view:·(data2)·0
12481 ····<6803>···DW_AT_ranges······:·(sec_offset)·0x6cd512481 ····<6803>···DW_AT_ranges······:·(sec_offset)·0x6cd5
12482 ····<6807>···DW_AT_call_file···:·(data1)·112482 ····<6807>···DW_AT_call_file···:·(data1)·1
12483 ····<6808>···DW_AT_call_line···:·(data2)·4863312483 ····<6808>···DW_AT_call_line···:·(data2)·48633
12484 ····<680a>···DW_AT_call_column·:·(data1)·1712484 ····<680a>···DW_AT_call_column·:·(data1)·17
12485 ····<680b>···DW_AT_sibling·····:·(ref_udata)·<0x6e0c>12485 ····<680b>···DW_AT_sibling·····:·(ref_udata)·<0x6e0c>
12486 ·<3><680e>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12486 ·<3><680e>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12487 ····<680f>···DW_AT_abstract_origin:·(ref_udata)·<0x52511>12487 ····<680f>···DW_AT_abstract_origin:·(ref_udata)·<0x5250f>
12488 ····<6812>···DW_AT_location····:·(sec_offset)·0xb44·(location·list)12488 ····<6812>···DW_AT_location····:·(sec_offset)·0xb44·(location·list)
12489 ····<6816>···DW_AT_GNU_locviews:·(sec_offset)·0xb3c12489 ····<6816>···DW_AT_GNU_locviews:·(sec_offset)·0xb3c
12490 ·<3><681a>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12490 ·<3><681a>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12491 ····<681b>···DW_AT_abstract_origin:·(ref_udata)·<0x5251e>12491 ····<681b>···DW_AT_abstract_origin:·(ref_udata)·<0x5251c>
12492 ····<681e>···DW_AT_location····:·(sec_offset)·0xb6e·(location·list)12492 ····<681e>···DW_AT_location····:·(sec_offset)·0xb6e·(location·list)
12493 ····<6822>···DW_AT_GNU_locviews:·(sec_offset)·0xb6612493 ····<6822>···DW_AT_GNU_locviews:·(sec_offset)·0xb66
12494 ·<3><6826>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12494 ·<3><6826>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12495 ····<6827>···DW_AT_abstract_origin:·(ref_udata)·<0x524ea>12495 ····<6827>···DW_AT_abstract_origin:·(ref_udata)·<0x524e8>
12496 ····<682a>···DW_AT_location····:·(sec_offset)·0xb9b·(location·list)12496 ····<682a>···DW_AT_location····:·(sec_offset)·0xb9b·(location·list)
12497 ····<682e>···DW_AT_GNU_locviews:·(sec_offset)·0xb9312497 ····<682e>···DW_AT_GNU_locviews:·(sec_offset)·0xb93
12498 ·<3><6832>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12498 ·<3><6832>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12499 ····<6833>···DW_AT_abstract_origin:·(ref_udata)·<0x524f7>12499 ····<6833>···DW_AT_abstract_origin:·(ref_udata)·<0x524f5>
12500 ····<6836>···DW_AT_location····:·(sec_offset)·0xbc8·(location·list)12500 ····<6836>···DW_AT_location····:·(sec_offset)·0xbc8·(location·list)
12501 ····<683a>···DW_AT_GNU_locviews:·(sec_offset)·0xbc412501 ····<683a>···DW_AT_GNU_locviews:·(sec_offset)·0xbc4
12502 ·<3><683e>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)12502 ·<3><683e>:·Abbrev·Number:·7·(DW_TAG_formal_parameter)
12503 ····<683f>···DW_AT_abstract_origin:·(ref_udata)·<0x52504>12503 ····<683f>···DW_AT_abstract_origin:·(ref_udata)·<0x52502>
12504 ····<6842>···DW_AT_location····:·(sec_offset)·0xbe2·(location·list)12504 ····<6842>···DW_AT_location····:·(sec_offset)·0xbe2·(location·list)
12505 ····<6846>···DW_AT_GNU_locviews:·(sec_offset)·0xbdc12505 ····<6846>···DW_AT_GNU_locviews:·(sec_offset)·0xbdc
12506 ·<3><684a>:·Abbrev·Number:·12·(DW_TAG_lexical_block)12506 ·<3><684a>:·Abbrev·Number:·12·(DW_TAG_lexical_block)
12507 ····<684b>···DW_AT_ranges······:·(sec_offset)·0x6cd512507 ····<684b>···DW_AT_ranges······:·(sec_offset)·0x6cd5
12508 ·<4><684f>:·Abbrev·Number:·6·(DW_TAG_variable)12508 ·<4><684f>:·Abbrev·Number:·6·(DW_TAG_variable)
12509 ····<6850>···DW_AT_abstract_origin:·(ref_udata)·<0x5252b>12509 ····<6850>···DW_AT_abstract_origin:·(ref_udata)·<0x52529>
12510 ····<6853>···DW_AT_location····:·(sec_offset)·0xc05·(location·list)12510 ····<6853>···DW_AT_location····:·(sec_offset)·0xc05·(location·list)
12511 ····<6857>···DW_AT_GNU_locviews:·(sec_offset)·0xbfb12511 ····<6857>···DW_AT_GNU_locviews:·(sec_offset)·0xbfb
12512 ·<4><685b>:·Abbrev·Number:·6·(DW_TAG_variable)12512 ·<4><685b>:·Abbrev·Number:·6·(DW_TAG_variable)
12513 ····<685c>···DW_AT_abstract_origin:·(ref_udata)·<0x52536>12513 ····<685c>···DW_AT_abstract_origin:·(ref_udata)·<0x52534>
12514 ····<685f>···DW_AT_location····:·(sec_offset)·0xc3f·(location·list)12514 ····<685f>···DW_AT_location····:·(sec_offset)·0xc3f·(location·list)
12515 ····<6863>···DW_AT_GNU_locviews:·(sec_offset)·0xc3312515 ····<6863>···DW_AT_GNU_locviews:·(sec_offset)·0xc33
12516 ·<4><6867>:·Abbrev·Number:·6·(DW_TAG_variable)12516 ·<4><6867>:·Abbrev·Number:·6·(DW_TAG_variable)
12517 ····<6868>···DW_AT_abstract_origin:·(ref_udata)·<0x52543>12517 ····<6868>···DW_AT_abstract_origin:·(ref_udata)·<0x52541>
12518 ····<686b>···DW_AT_location····:·(sec_offset)·0xc76·(location·list)12518 ····<686b>···DW_AT_location····:·(sec_offset)·0xc76·(location·list)
12519 ····<686f>···DW_AT_GNU_locviews:·(sec_offset)·0xc6e12519 ····<686f>···DW_AT_GNU_locviews:·(sec_offset)·0xc6e
12520 ·<4><6873>:·Abbrev·Number:·6·(DW_TAG_variable)12520 ·<4><6873>:·Abbrev·Number:·6·(DW_TAG_variable)
12521 ····<6874>···DW_AT_abstract_origin:·(ref_udata)·<0x5254e>12521 ····<6874>···DW_AT_abstract_origin:·(ref_udata)·<0x5254c>
12522 ····<6877>···DW_AT_location····:·(sec_offset)·0xcbc·(location·list)12522 ····<6877>···DW_AT_location····:·(sec_offset)·0xcbc·(location·list)
12523 ····<687b>···DW_AT_GNU_locviews:·(sec_offset)·0xc9c12523 ····<687b>···DW_AT_GNU_locviews:·(sec_offset)·0xc9c
12524 ·<4><687f>:·Abbrev·Number:·6·(DW_TAG_variable)12524 ·<4><687f>:·Abbrev·Number:·6·(DW_TAG_variable)
12525 ····<6880>···DW_AT_abstract_origin:·(ref_udata)·<0x5255b>12525 ····<6880>···DW_AT_abstract_origin:·(ref_udata)·<0x52559>
12526 ····<6883>···DW_AT_location····:·(sec_offset)·0xd47·(location·list)12526 ····<6883>···DW_AT_location····:·(sec_offset)·0xd47·(location·list)
12527 ····<6887>···DW_AT_GNU_locviews:·(sec_offset)·0xd3912527 ····<6887>···DW_AT_GNU_locviews:·(sec_offset)·0xd39
12528 ·<4><688b>:·Abbrev·Number:·6·(DW_TAG_variable)12528 ·<4><688b>:·Abbrev·Number:·6·(DW_TAG_variable)
12529 ····<688c>···DW_AT_abstract_origin:·(ref_udata)·<0x52565>12529 ····<688c>···DW_AT_abstract_origin:·(ref_udata)·<0x52563>
12530 ····<688f>···DW_AT_location····:·(sec_offset)·0xdce·(location·list)12530 ····<688f>···DW_AT_location····:·(sec_offset)·0xdce·(location·list)
12531 ····<6893>···DW_AT_GNU_locviews:·(sec_offset)·0xda812531 ····<6893>···DW_AT_GNU_locviews:·(sec_offset)·0xda8
12532 ·<4><6897>:·Abbrev·Number:·6·(DW_TAG_variable)12532 ·<4><6897>:·Abbrev·Number:·6·(DW_TAG_variable)
12533 ····<6898>···DW_AT_abstract_origin:·(ref_udata)·<0x52572>12533 ····<6898>···DW_AT_abstract_origin:·(ref_udata)·<0x52570>
12534 ····<689b>···DW_AT_location····:·(sec_offset)·0xe84·(location·list)12534 ····<689b>···DW_AT_location····:·(sec_offset)·0xe84·(location·list)
12535 ····<689f>···DW_AT_GNU_locviews:·(sec_offset)·0xe6212535 ····<689f>···DW_AT_GNU_locviews:·(sec_offset)·0xe62
12536 ·<4><68a3>:·Abbrev·Number:·6·(DW_TAG_variable)12536 ·<4><68a3>:·Abbrev·Number:·6·(DW_TAG_variable)
12537 ····<68a4>···DW_AT_abstract_origin:·(ref_udata)·<0x5257f>12537 ····<68a4>···DW_AT_abstract_origin:·(ref_udata)·<0x5257d>
12538 ····<68a7>···DW_AT_location····:·(sec_offset)·0xf1d·(location·list)12538 ····<68a7>···DW_AT_location····:·(sec_offset)·0xf1d·(location·list)
12539 ····<68ab>···DW_AT_GNU_locviews:·(sec_offset)·0xf0d12539 ····<68ab>···DW_AT_GNU_locviews:·(sec_offset)·0xf0d
12540 ·<4><68af>:·Abbrev·Number:·6·(DW_TAG_variable)12540 ·<4><68af>:·Abbrev·Number:·6·(DW_TAG_variable)
12541 ····<68b0>···DW_AT_abstract_origin:·(ref_udata)·<0x52589>12541 ····<68b0>···DW_AT_abstract_origin:·(ref_udata)·<0x52587>
12542 ····<68b3>···DW_AT_location····:·(sec_offset)·0xf7a·(location·list)12542 ····<68b3>···DW_AT_location····:·(sec_offset)·0xf7a·(location·list)
12543 ····<68b7>···DW_AT_GNU_locviews:·(sec_offset)·0xf6a12543 ····<68b7>···DW_AT_GNU_locviews:·(sec_offset)·0xf6a
12544 ·<4><68bb>:·Abbrev·Number:·6·(DW_TAG_variable)12544 ·<4><68bb>:·Abbrev·Number:·6·(DW_TAG_variable)
12545 ····<68bc>···DW_AT_abstract_origin:·(ref_udata)·<0x52596>12545 ····<68bc>···DW_AT_abstract_origin:·(ref_udata)·<0x52594>
12546 ····<68bf>···DW_AT_location····:·(sec_offset)·0xfe3·(location·list)12546 ····<68bf>···DW_AT_location····:·(sec_offset)·0xfe3·(location·list)
12547 ····<68c3>···DW_AT_GNU_locviews:·(sec_offset)·0xfcf12547 ····<68c3>···DW_AT_GNU_locviews:·(sec_offset)·0xfcf
12548 ·<4><68c7>:·Abbrev·Number:·32·(DW_TAG_label)12548 ·<4><68c7>:·Abbrev·Number:·32·(DW_TAG_label)
12549 ····<68c8>···DW_AT_abstract_origin:·(ref_udata)·<0x525a0>12549 ····<68c8>···DW_AT_abstract_origin:·(ref_udata)·<0x5259e>
12550 ·<4><68cb>:·Abbrev·Number:·29·(DW_TAG_label)12550 ·<4><68cb>:·Abbrev·Number:·29·(DW_TAG_label)
12551 ····<68cc>···DW_AT_abstract_origin:·(ref_udata)·<0x525a8>12551 ····<68cc>···DW_AT_abstract_origin:·(ref_udata)·<0x525a6>
12552 ····<68cf>···DW_AT_low_pc······:·(addr)·0x2694412552 ····<68cf>···DW_AT_low_pc······:·(addr)·0x26944
12553 ·<4><68d3>:·Abbrev·Number:·32·(DW_TAG_label)12553 ·<4><68d3>:·Abbrev·Number:·32·(DW_TAG_label)
12554 ····<68d4>···DW_AT_abstract_origin:·(ref_udata)·<0x525b0>12554 ····<68d4>···DW_AT_abstract_origin:·(ref_udata)·<0x525ae>
12555 ·<4><68d7>:·Abbrev·Number:·5·(DW_TAG_inlined_subroutine)12555 ·<4><68d7>:·Abbrev·Number:·5·(DW_TAG_inlined_subroutine)
12556 ····<68d8>···DW_AT_abstract_origin:·(GNU_ref_alt)·<0x2ac5b>12556 ····<68d8>···DW_AT_abstract_origin:·(GNU_ref_alt)·<0x2ac5b>
12557 ····<68dc>···DW_AT_entry_pc····:·(addr)·0x2687912557 ····<68dc>···DW_AT_entry_pc····:·(addr)·0x26879
12558 ····<68e0>···DW_AT_GNU_entry_view:·(data2)·012558 ····<68e0>···DW_AT_GNU_entry_view:·(data2)·0
12559 ····<68e2>···DW_AT_low_pc······:·(addr)·0x2687912559 ····<68e2>···DW_AT_low_pc······:·(addr)·0x26879
12560 ····<68e6>···DW_AT_high_pc·····:·(udata)·1412560 ····<68e6>···DW_AT_high_pc·····:·(udata)·14
12561 ····<68e7>···DW_AT_call_file···:·(data1)·112561 ····<68e7>···DW_AT_call_file···:·(data1)·1
Offset 13098, 15 lines modifiedOffset 13098, 15 lines modified
13098 ····<6e62>···DW_AT_call_return_pc:·(addr)·0x267dd13098 ····<6e62>···DW_AT_call_return_pc:·(addr)·0x267dd
13099 ····<6e66>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x2a86b>13099 ····<6e66>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x2a86b>
13100 ·<2><6e6a>:·Abbrev·Number:·4·(DW_TAG_call_site)13100 ·<2><6e6a>:·Abbrev·Number:·4·(DW_TAG_call_site)
13101 ····<6e6b>···DW_AT_call_return_pc:·(addr)·0x2681d13101 ····<6e6b>···DW_AT_call_return_pc:·(addr)·0x2681d
13102 ····<6e6f>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x2a558>13102 ····<6e6f>···DW_AT_call_origin·:·(GNU_ref_alt)·<0x2a558>
13103 ·<2><6e73>:·Abbrev·Number:·15·(DW_TAG_call_site)13103 ·<2><6e73>:·Abbrev·Number:·15·(DW_TAG_call_site)
13104 ····<6e74>···DW_AT_call_return_pc:·(addr)·0x269a313104 ····<6e74>···DW_AT_call_return_pc:·(addr)·0x269a3
13105 ····<6e78>···DW_AT_call_origin·:·(ref_udata)·<0x440b9>13105 ····<6e78>···DW_AT_call_origin·:·(ref_udata)·<0x440b7>
13106 ····<6e7b>···DW_AT_sibling·····:·(ref_udata)·<0x6e95>13106 ····<6e7b>···DW_AT_sibling·····:·(ref_udata)·<0x6e95>
13107 ·<3><6e7e>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)13107 ·<3><6e7e>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)
13108 ····<6e7f>···DW_AT_location····:·(exprloc)·1·byte·block:·50·»    (DW_OP_reg0·(eax))13108 ····<6e7f>···DW_AT_location····:·(exprloc)·1·byte·block:·50·»    (DW_OP_reg0·(eax))
13109 ····<6e81>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e8·7e·6·»     (DW_OP_fbreg:·-152;·DW_OP_deref)13109 ····<6e81>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e8·7e·6·»     (DW_OP_fbreg:·-152;·DW_OP_deref)
13110 ·<3><6e86>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)13110 ·<3><6e86>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)
13111 ····<6e87>···DW_AT_location····:·(exprloc)·1·byte·block:·52·»    (DW_OP_reg2·(edx))13111 ····<6e87>···DW_AT_location····:·(exprloc)·1·byte·block:·52·»    (DW_OP_reg2·(edx))
13112 ····<6e89>···DW_AT_call_value··:·(exprloc)·3·byte·block:·91·8·6·»(DW_OP_fbreg:·8;·DW_OP_deref)13112 ····<6e89>···DW_AT_call_value··:·(exprloc)·3·byte·block:·91·8·6·»(DW_OP_fbreg:·8;·DW_OP_deref)
Offset 13123, 15 lines modifiedOffset 13123, 15 lines modified
13123 ····<6ea3>···DW_AT_call_value··:·(exprloc)·2·byte·block:·76·0·» (DW_OP_breg6·(esi):·0)13123 ····<6ea3>···DW_AT_call_value··:·(exprloc)·2·byte·block:·76·0·» (DW_OP_breg6·(esi):·0)
13124 ·<3><6ea6>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)13124 ·<3><6ea6>:·Abbrev·Number:·8·(DW_TAG_call_site_parameter)
13125 ····<6ea7>···DW_AT_location····:·(exprloc)·1·byte·block:·51·»    (DW_OP_reg1·(ecx))13125 ····<6ea7>···DW_AT_location····:·(exprloc)·1·byte·block:·51·»    (DW_OP_reg1·(ecx))
13126 ····<6ea9>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e0·7e·6·»     (DW_OP_fbreg:·-160;·DW_OP_deref)13126 ····<6ea9>···DW_AT_call_value··:·(exprloc)·4·byte·block:·91·e0·7e·6·»     (DW_OP_fbreg:·-160;·DW_OP_deref)
13127 ·<3><6eae>:·Abbrev·Number:·013127 ·<3><6eae>:·Abbrev·Number:·0
13128 ·<2><6eaf>:·Abbrev·Number:·45·(DW_TAG_call_site)13128 ·<2><6eaf>:·Abbrev·Number:·45·(DW_TAG_call_site)
13129 ····<6eb0>···DW_AT_call_return_pc:·(addr)·0x26a0d13129 ····<6eb0>···DW_AT_call_return_pc:·(addr)·0x26a0d
Max diff block lines reached; 14052525/14060793 bytes (99.94%) of diff not shown.
30.7 KB
readelf --wide --debug-dump=loc {}
    
Offset 58429, 21 lines modifiedOffset 58429, 21 lines modified
58429 ····0002a6ce·v0000001·v0000000·views·at·0002a6cc·for:58429 ····0002a6ce·v0000001·v0000000·views·at·0002a6cc·for:
58430 ·············000332d7·000333c7·(DW_OP_lit1;·DW_OP_stack_value)58430 ·············000332d7·000333c7·(DW_OP_lit1;·DW_OP_stack_value)
58431 ····0002a6d8·<End·of·list>58431 ····0002a6d8·<End·of·list>
  
58432 ····0002a6d9·v0000001·v0000000·location·view·pair58432 ····0002a6d9·v0000001·v0000000·location·view·pair
  
58433 ····0002a6db·v0000001·v0000000·views·at·0002a6d9·for:58433 ····0002a6db·v0000001·v0000000·views·at·0002a6d9·for:
58434 ·············000332d7·000333c7·(DW_OP_implicit_pointer:·<0x25ae9>·0)58434 ·············000332d7·000333c7·(DW_OP_implicit_pointer:·<0x25ae7>·0)
58435 ····0002a6e9·<End·of·list>58435 ····0002a6e9·<End·of·list>
  
58436 ····0002a6ea·v0000001·v0000000·location·view·pair58436 ····0002a6ea·v0000001·v0000000·location·view·pair
  
58437 ····0002a6ec·v0000001·v0000000·views·at·0002a6ea·for:58437 ····0002a6ec·v0000001·v0000000·views·at·0002a6ea·for:
58438 ·············000332d7·000333c7·(DW_OP_implicit_pointer:·<0x25b11>·0)58438 ·············000332d7·000333c7·(DW_OP_implicit_pointer:·<0x25b0f>·0)
58439 ····0002a6fa·<End·of·list>58439 ····0002a6fa·<End·of·list>
  
58440 ····0002a6fb·v0000001·v0000000·location·view·pair58440 ····0002a6fb·v0000001·v0000000·location·view·pair
  
58441 ····0002a6fd·v0000001·v0000000·views·at·0002a6fb·for:58441 ····0002a6fd·v0000001·v0000000·views·at·0002a6fb·for:
58442 ·············000332e4·000333c7·(DW_OP_reg5·(ebp))58442 ·············000332e4·000333c7·(DW_OP_reg5·(ebp))
58443 ····0002a706·<End·of·list>58443 ····0002a706·<End·of·list>
Offset 58527, 19 lines modifiedOffset 58527, 19 lines modified
  
58527 ····0002a7d5·v0000003·v0000000·location·view·pair58527 ····0002a7d5·v0000003·v0000000·location·view·pair
58528 ····0002a7d7·v0000000·v0000000·location·view·pair58528 ····0002a7d7·v0000000·v0000000·location·view·pair
58529 ····0002a7d9·v0000000·v0000001·location·view·pair58529 ····0002a7d9·v0000000·v0000001·location·view·pair
  
58530 ····0002a7db·000333c7·(base·address)58530 ····0002a7db·000333c7·(base·address)
58531 ····0002a7e0·v0000003·v0000000·views·at·0002a7d5·for:58531 ····0002a7e0·v0000003·v0000000·views·at·0002a7d5·for:
58532 ·············000333c7·0003341b·(DW_OP_implicit_pointer:·<0x25a56>·0)58532 ·············000333c7·0003341b·(DW_OP_implicit_pointer:·<0x25a54>·0)
58533 ····0002a7ea·v0000000·v0000000·views·at·0002a7d7·for:58533 ····0002a7ea·v0000000·v0000000·views·at·0002a7d7·for:
58534 ·············000337e7·000337fc·(DW_OP_implicit_pointer:·<0x25a56>·0)58534 ·············000337e7·000337fc·(DW_OP_implicit_pointer:·<0x25a54>·0)
58535 ····0002a7f6·v0000000·v0000001·views·at·0002a7d9·for:58535 ····0002a7f6·v0000000·v0000001·views·at·0002a7d9·for:
58536 ·············00033f79·00033f9f·(DW_OP_implicit_pointer:·<0x25a56>·0)58536 ·············00033f79·00033f9f·(DW_OP_implicit_pointer:·<0x25a54>·0)
58537 ····0002a802·<End·of·list>58537 ····0002a802·<End·of·list>
  
58538 ····0002a803·v0000000·v0000000·location·view·pair58538 ····0002a803·v0000000·v0000000·location·view·pair
  
58539 ····0002a805·v0000000·v0000000·views·at·0002a803·for:58539 ····0002a805·v0000000·v0000000·views·at·0002a803·for:
58540 ·············0003340b·0003341b·(DW_OP_reg5·(ebp))58540 ·············0003340b·0003341b·(DW_OP_reg5·(ebp))
58541 ····0002a80d·<End·of·list>58541 ····0002a80d·<End·of·list>
Offset 74445, 37 lines modifiedOffset 74445, 37 lines modified
74445 ····00036539·<End·of·list>74445 ····00036539·<End·of·list>
  
74446 ····0003653a·v0000001·v0000000·location·view·pair74446 ····0003653a·v0000001·v0000000·location·view·pair
74447 ····0003653c·v0000000·v0000000·location·view·pair74447 ····0003653c·v0000000·v0000000·location·view·pair
  
74448 ····0003653e·0002b923·(base·address)74448 ····0003653e·0002b923·(base·address)
74449 ····00036543·v0000001·v0000000·views·at·0003653a·for:74449 ····00036543·v0000001·v0000000·views·at·0003653a·for:
74450 ·············0002b923·0002b95d·(DW_OP_implicit_pointer:·<0x330c1>·0)74450 ·············0002b923·0002b95d·(DW_OP_implicit_pointer:·<0x330bf>·0)
74451 ····0003654d·v0000000·v0000000·views·at·0003653c·for:74451 ····0003654d·v0000000·v0000000·views·at·0003653c·for:
74452 ·············0002cc81·0002ccc8·(DW_OP_implicit_pointer:·<0x330c1>·0)74452 ·············0002cc81·0002ccc8·(DW_OP_implicit_pointer:·<0x330bf>·0)
74453 ····00036559·<End·of·list>74453 ····00036559·<End·of·list>
  
74454 ····0003655a·v0000001·v0000000·location·view·pair74454 ····0003655a·v0000001·v0000000·location·view·pair
74455 ····0003655c·v0000000·v0000000·location·view·pair74455 ····0003655c·v0000000·v0000000·location·view·pair
  
74456 ····0003655e·0002b923·(base·address)74456 ····0003655e·0002b923·(base·address)
74457 ····00036563·v0000001·v0000000·views·at·0003655a·for:74457 ····00036563·v0000001·v0000000·views·at·0003655a·for:
74458 ·············0002b923·0002b95d·(DW_OP_implicit_pointer:·<0x330d5>·0)74458 ·············0002b923·0002b95d·(DW_OP_implicit_pointer:·<0x330d3>·0)
74459 ····0003656d·v0000000·v0000000·views·at·0003655c·for:74459 ····0003656d·v0000000·v0000000·views·at·0003655c·for:
74460 ·············0002cc81·0002ccc8·(DW_OP_implicit_pointer:·<0x330d5>·0)74460 ·············0002cc81·0002ccc8·(DW_OP_implicit_pointer:·<0x330d3>·0)
74461 ····00036579·<End·of·list>74461 ····00036579·<End·of·list>
  
74462 ····0003657a·v0000001·v0000000·location·view·pair74462 ····0003657a·v0000001·v0000000·location·view·pair
74463 ····0003657c·v0000000·v0000000·location·view·pair74463 ····0003657c·v0000000·v0000000·location·view·pair
  
74464 ····0003657e·0002b923·(base·address)74464 ····0003657e·0002b923·(base·address)
74465 ····00036583·v0000001·v0000000·views·at·0003657a·for:74465 ····00036583·v0000001·v0000000·views·at·0003657a·for:
74466 ·············0002b923·0002b95d·(DW_OP_implicit_pointer:·<0x330e9>·0)74466 ·············0002b923·0002b95d·(DW_OP_implicit_pointer:·<0x330e7>·0)
74467 ····0003658d·v0000000·v0000000·views·at·0003657c·for:74467 ····0003658d·v0000000·v0000000·views·at·0003657c·for:
74468 ·············0002cc81·0002ccc8·(DW_OP_implicit_pointer:·<0x330e9>·0)74468 ·············0002cc81·0002ccc8·(DW_OP_implicit_pointer:·<0x330e7>·0)
74469 ····00036599·<End·of·list>74469 ····00036599·<End·of·list>
  
74470 ····0003659a·v0000000·v0000005·location·view·pair74470 ····0003659a·v0000000·v0000005·location·view·pair
74471 ····0003659c·v0000005·v0000000·location·view·pair74471 ····0003659c·v0000005·v0000000·location·view·pair
74472 ····0003659e·v0000000·v0000000·location·view·pair74472 ····0003659e·v0000000·v0000000·location·view·pair
  
74473 ····000365a0·0002cc8b·(base·address)74473 ····000365a0·0002cc8b·(base·address)
Offset 75740, 37 lines modifiedOffset 75740, 37 lines modified
75740 ····00037152·<End·of·list>75740 ····00037152·<End·of·list>
  
75741 ····00037153·v0000000·v0000000·location·view·pair75741 ····00037153·v0000000·v0000000·location·view·pair
75742 ····00037155·v0000000·v0000000·location·view·pair75742 ····00037155·v0000000·v0000000·location·view·pair
  
75743 ····00037157·0002b08b·(base·address)75743 ····00037157·0002b08b·(base·address)
75744 ····0003715c·v0000000·v0000000·views·at·00037153·for:75744 ····0003715c·v0000000·v0000000·views·at·00037153·for:
75745 ·············0002b08b·0002b0c5·(DW_OP_implicit_pointer:·<0x3304f>·0)75745 ·············0002b08b·0002b0c5·(DW_OP_implicit_pointer:·<0x3304d>·0)
75746 ····00037166·v0000000·v0000000·views·at·00037155·for:75746 ····00037166·v0000000·v0000000·views·at·00037155·for:
75747 ·············0002bc0b·0002bc51·(DW_OP_implicit_pointer:·<0x3304f>·0)75747 ·············0002bc0b·0002bc51·(DW_OP_implicit_pointer:·<0x3304d>·0)
75748 ····00037172·<End·of·list>75748 ····00037172·<End·of·list>
  
75749 ····00037173·v0000000·v0000000·location·view·pair75749 ····00037173·v0000000·v0000000·location·view·pair
75750 ····00037175·v0000000·v0000000·location·view·pair75750 ····00037175·v0000000·v0000000·location·view·pair
  
75751 ····00037177·0002b08b·(base·address)75751 ····00037177·0002b08b·(base·address)
75752 ····0003717c·v0000000·v0000000·views·at·00037173·for:75752 ····0003717c·v0000000·v0000000·views·at·00037173·for:
75753 ·············0002b08b·0002b0c5·(DW_OP_implicit_pointer:·<0x33063>·0)75753 ·············0002b08b·0002b0c5·(DW_OP_implicit_pointer:·<0x33061>·0)
75754 ····00037186·v0000000·v0000000·views·at·00037175·for:75754 ····00037186·v0000000·v0000000·views·at·00037175·for:
75755 ·············0002bc0b·0002bc51·(DW_OP_implicit_pointer:·<0x33063>·0)75755 ·············0002bc0b·0002bc51·(DW_OP_implicit_pointer:·<0x33061>·0)
75756 ····00037192·<End·of·list>75756 ····00037192·<End·of·list>
  
75757 ····00037193·v0000000·v0000000·location·view·pair75757 ····00037193·v0000000·v0000000·location·view·pair
75758 ····00037195·v0000000·v0000000·location·view·pair75758 ····00037195·v0000000·v0000000·location·view·pair
  
75759 ····00037197·0002b08b·(base·address)75759 ····00037197·0002b08b·(base·address)
75760 ····0003719c·v0000000·v0000000·views·at·00037193·for:75760 ····0003719c·v0000000·v0000000·views·at·00037193·for:
75761 ·············0002b08b·0002b0c5·(DW_OP_implicit_pointer:·<0x33077>·0)75761 ·············0002b08b·0002b0c5·(DW_OP_implicit_pointer:·<0x33075>·0)
75762 ····000371a6·v0000000·v0000000·views·at·00037195·for:75762 ····000371a6·v0000000·v0000000·views·at·00037195·for:
75763 ·············0002bc0b·0002bc51·(DW_OP_implicit_pointer:·<0x33077>·0)75763 ·············0002bc0b·0002bc51·(DW_OP_implicit_pointer:·<0x33075>·0)
75764 ····000371b2·<End·of·list>75764 ····000371b2·<End·of·list>
  
75765 ····000371b3·v0000000·v0000005·location·view·pair75765 ····000371b3·v0000000·v0000005·location·view·pair
75766 ····000371b5·v0000005·v0000000·location·view·pair75766 ····000371b5·v0000005·v0000000·location·view·pair
75767 ····000371b7·v0000000·v0000000·location·view·pair75767 ····000371b7·v0000000·v0000000·location·view·pair
  
75768 ····000371b9·0002bc17·(base·address)75768 ····000371b9·0002bc17·(base·address)
Offset 90525, 32 lines modifiedOffset 90525, 32 lines modified
  
90525 ····0004130a·v0000004·v0000000·location·view·pair90525 ····0004130a·v0000004·v0000000·location·view·pair
90526 ····0004130c·v0000000·v0000000·location·view·pair90526 ····0004130c·v0000000·v0000000·location·view·pair
90527 ····0004130e·v0000005·v0000004·location·view·pair90527 ····0004130e·v0000005·v0000004·location·view·pair
  
90528 ····00041310·0001ec8f·(base·address)90528 ····00041310·0001ec8f·(base·address)
90529 ····00041315·v0000004·v0000000·views·at·0004130a·for:90529 ····00041315·v0000004·v0000000·views·at·0004130a·for:
90530 ·············0001ec8f·0001ece5·(DW_OP_implicit_pointer:·<0x3ecfe>·0)90530 ·············0001ec8f·0001ece5·(DW_OP_implicit_pointer:·<0x3ecfc>·0)
90531 ····0004131f·v0000000·v0000000·views·at·0004130c·for:90531 ····0004131f·v0000000·v0000000·views·at·0004130c·for:
Max diff block lines reached; 24900/31377 bytes (79.36%) of diff not shown.
2.32 KB
strings --all --bytes=8 {}
    
Offset 1, 66 lines modifiedOffset 1, 58 lines modified
1 mGCC:·(Debian·14.2.0-16)·14.2.01 bGCC:·(Debian·14.2.0-16)·14.2.0
2 Uamb'*FP 
3 qrutyMtYd 
4 ·WE@o*h$A 
5 (]*H%·b+} 
6 =S1l("aC 
7 Fp,^K?.GP 
8 A;8h2$g% 
9 D@V\;@!t 
10 @»      .nsVFa 
11 7c?s&psg 
12 U{1GO?sQC 
13 Use,&v#b7" 
14 %SWc1igb 
15 U·z%%XV!n 
16 :K@9KY(Q 
17 dC·/o2}2 
18 Aa|8?d^@ 
19 SA_cxzb: 
20 $jqNAp=0W 
21 )LqPQ7et 
22 =O{3XUjy 
23 O*#1NJjd]$ 
24 [#<5|]=* 
25 <HBrq4_0} 
26 YR}XfA8# 
27 G<k&xgt2< 
28 7Dm8BPNpY@fQ 
29 8B#]KLjs 
30 LY,Mp:8R 
31 <b<_B1{D2 Ir+x|#/+%6.
 3 pSX?z?>\;
 4 ho·Un,Ri
 5 ·9·}8WJQk
 6 v||[[_;>
 7 Rq-pXLMm-pXL
 8 E{zB"=!q
 9 ;0Nc{-YO.9
 10 "L~M3-\)
 11 DLq4$-eDW
 12 )X.EBLK#
 13 Jt1}Yh4e
 14 W]xVxy=H
 15 nH0YgU]m
 16 `Kdxc+/#FF
 17 8)tq3P7v
 18 Tg7]t|$T
 19 a>|ChU:J
 20 »       6D.Ip3D.Mp3D.
 21 4$>Jp7$>M
 22 LPwq`BePa»      
 23 OdU)Ln9G*'
 24 T=~8UOef
 25 1NGWLer#
 26 3Xl]@cr;
 27 4<O·}tCM
 28 !?tv»   $6N
 29 wO<k,xc;
 30 VnE$wasaD
 31 'F]»    zz_e
 32 Na;nd?<;F}
 33 D,6atMZY
 34 "m][=X?x
32 DfBVs"UX35 DfBVs4MX
 36 j-,u'nJ[
 37 xc"·wn`Kp
 38 yNlB_O5L
 39 ;po|&ZIg
 40 hJ7I2d6W
 41 u·Y,HN}HR]p
 42 G>l}ZB1[
 43 gM<~Dhb'·t
 44 qA~2»   de_
 45 *8wB`#E"
 46 >»      5+MB%;
 47 bhkh[2^2
 48 0+d(+4RU
 49 7v9Gf>Kb
 50 -x_j*sYe
 51 K\\Gbtg*
33 AMyoIIXM< 
34 $p=yNjpRl$i 
35 d2)v04v# 
36 sng.ez-gP 
37 HDVhLlFdc 
38 S&SAC>V' 
39 @>#Zyg]z# 
40 He<tM(c#·4 
41 OH|uCNiV 
42 \W[#lFD» 
43 QLe|Fd>lQ 
44 #·8d$c<' 
45 !WW`lXv> 
46 -5^iH"4) 
47 ?[Q&]&`2 
48 kgP[k_8m 
49 GSW!<tE6 
50 9>PO3KT·% 
51 zbLP!}zV; 
52 Tb;"[M%* 
53 O·|,H>1~ 
54 CUD>?.>}DVp= 
55 vq,H}G`k 
56 ?HpOgho| 
57 o^WkP~G2L 
58 P>Lz|8K! 
59 PB&-395\ 
60 kx»     (tW/]}52 kx»     (tW/]}
61 LYG!^(b.53 LYG!^(b.
62 ny»     E9?g{54 ny»     E9?g{
63 ?U`@DCT|K55 ?U`@DCT|K
64 r(JuS}Xz56 r(JuS}Xz
65 c»      OD,aY357 c»      OD,aY3
66 -l?a>VOrl58 -l?a>VOrl
Offset 113, 58 lines modifiedOffset 105, 50 lines modified
113 s}kd}kd}kd}kP105 s}kd}kd}kd}kP
114 |8tC>4Q>106 |8tC>4Q>
115 LTWY7[sAVn%107 LTWY7[sAVn%
116 M~t~Lua]108 M~t~Lua]
117 WG-LXHW',109 WG-LXHW',
118 W{88@O6&110 W{88@O6&
119 FfKi7j~y111 FfKi7j~y
 112 4~uKU$II"
 113 HwpSkT8#Y
 114 l»      BY\vYY
 115 r$JS:pV9&;
 116 1Wpvu"qW
Max diff block lines reached; 435/2323 bytes (18.73%) of diff not shown.