Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | · | 1 | ·9caedf60c38df638f0d83e5935e51e43·10793344·doc·optional·python-pandas-doc_2.2.3+dfsg-8_all.deb |
2 | · | 2 | ·e59da80ebcd526603b17c18b486127fe·71246096·debug·optional·python3-pandas-lib-dbgsym_2.2.3+dfsg-8_i386.deb |
3 | · | 3 | ·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.deb | 4 | ·ad1d0d3815c32f9db583cfe0dd79d880·3096896·python·optional·python3-pandas_2.2.3+dfsg-8_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary |
2 | -rw-r--r--···0········0········0···147 | 2 | -rw-r--r--···0········0········0···147356·2025-02-01·18:39:17.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0·1064596 | 3 | -rw-r--r--···0········0········0·10645796·2025-02-01·18:39:17.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·python-pandas-doc | 1 | Package:·python-pandas-doc |
2 | Source:·pandas | 2 | Source:·pandas |
3 | Version:·2.2.3+dfsg-8 | 3 | Version:·2.2.3+dfsg-8 |
4 | Architecture:·all | 4 | 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:·20989 | 6 | Installed-Size:·209898 |
7 | Depends:·libjs-sphinxdoc·(>=·8.1),·libjs-mathjax | 7 | Depends:·libjs-sphinxdoc·(>=·8.1),·libjs-mathjax |
8 | Suggests:·python3-pandas | 8 | Suggests:·python3-pandas |
9 | Section:·doc | 9 | Section:·doc |
10 | Priority:·optional | 10 | Priority:·optional |
11 | Multi-Arch:·foreign | 11 | Multi-Arch:·foreign |
12 | Homepage:·https://pandas.pydata.org/ | 12 | Homepage:·https://pandas.pydata.org/ |
13 | Description:·data·structures·for·"relational"·or·"labeled"·data·-·documentation | 13 | Description:·data·structures·for·"relational"·or·"labeled"·data·-·documentation |
Offset 6256, 74 lines modified | Offset 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.html | 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.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.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.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.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.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.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.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.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.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.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.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.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.html |
6263 | -rw-r--r--···0·root·········(0)·root·········(0)··2359 | 6263 | -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.html | 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.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.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.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.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.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.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.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.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.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.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.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.html | 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.html |
6272 | -rw-r--r--···0·root·········(0)·root·········(0)···2838 | 6272 | -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.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.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.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.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.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.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.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.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.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.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.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.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.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.html |
6280 | -rw-r--r--···0·root·········(0)·root·········(0)···1210 | 6280 | -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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.html |
6290 | -rw-r--r--···0·root·········(0)·root·········(0)···14 | 6290 | -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.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.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.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.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.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.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.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.html |
6295 | -rw-r--r--···0·root·········(0)·root·········(0)····878 | 6295 | -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.html | 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.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.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.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.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.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.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.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.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.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.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.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.html | 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.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.gz | 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.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.html | 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.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.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.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.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.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.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.html |
6309 | -rw-r--r--···0·root·········(0)·root·········(0)···2225 | 6309 | -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.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.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.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.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.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.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.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.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.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.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.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.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.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.html |
6317 | -rw-r--r--···0·root·········(0)·root·········(0)···115 | 6317 | -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.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.html |
6319 | -rw-r--r--···0·root·········(0)·root·········(0)···23 | 6319 | -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)····9 | 6320 | -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)···22 | 6321 | -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)···171 | 6322 | -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.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.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.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.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.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.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.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.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.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.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.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.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.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.html |
Offset 21485, 15 lines modified | Offset 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 modified | Offset 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,·2 | 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 modified | Offset 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 modified | Offset 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 modified | Offset 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 modified | Offset 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 modified | Offset 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. |
Offset 1847, 25 lines modified | Offset 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"> | 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"> | 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"> | 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>, |
Offset 1245, 23 lines modified | Offset 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 | 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 | 1256 | 452·us·+-·89·us·per·loop·(mean·+-·std.·dev.·of·7·runs,·1,000·loops·each) | |
1257 | 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,·and | 1260 | 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·with | 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·with |
Offset 592, 31 lines modified | Offset 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["a"],·x["b"],·x["N"]),·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["a"],·x["b"],·x["N"]),·axis=1) |
599 | <span·class="go"> | 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·operation | 602 | <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["a"],·x["b"],·x["N"]),·axis=1)··#·noqa·E999 | 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["a"],·x["b"],·x["N"]),·axis=1)··#·noqa·E999 |
606 | <span·class="go">·········605946·function·calls·(605928·primitive·calls)·in· | 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·<4></span> | 608 | <span·class="go">···List·reduced·from·159·to·4·due·to·restriction·<4></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. | 610 | <span·class="go">·····1000····0.766····0.001····1.279····0.001·<ipython-input-4-c2a74e076cf0>:1(integrate_f)</span> |
611 | <span·class="go">···552423····0. | 611 | <span·class="go">···552423····0.513····0.000····0.513····0.000·<ipython-input-3-c138bdd570e3>:1(f)</span> |
612 | <span·class="go">·····3000····0.0 | 612 | <span·class="go">·····3000····0.027····0.000····0.119····0.000·series.py:1095(__getitem__)</span> |
613 | <span·class="go">···· | 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 modified | Offset 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·*·dx | 636 | <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["a"],·x["b"],·x["N"]),·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["a"],·x["b"],·x["N"]),·axis=1) |
641 | <span·class="go"> | 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 modified | Offset 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·*·dx | 660 | <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["a"],·x["b"],·x["N"]),·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["a"],·x["b"],·x["N"]),·axis=1) |
665 | <span·class="go"> | 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·to | 668 | <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·both | 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·both |
674 | the·index·and·the·series·(three·times·for·each·row).·These·Python·function·calls·are·expensive·and | 674 | 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["a"],·x["b"],·x["N"]),·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["a"],·x["b"],·x["N"]),·axis=1) |
677 | <span·class="go">·········52523·function·calls·(52505·primitive·calls)·in·0. | 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·<4></span> | 679 | <span·class="go">···List·reduced·from·157·to·4·due·to·restriction·<4></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.0 | 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.0 | 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.0 | 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·np | 688 | <span·class="gp">···....:·</span>cimport·numpy·as·np |
689 | <span·class="gp">···....:·</span>import·numpy·as·np | 689 | <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 modified | Offset 722, 33 lines modified | ||
722 | </div> | 722 | </div> |
723 | <p>This·implementation·creates·an·array·of·zeros·and·inserts·the·result | 723 | <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·faster | 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·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["a"].to_numpy(),·df["b"].to_numpy(),·df["N"].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["a"].to_numpy(),·df["b"].to_numpy(),·df["N"].to_numpy()) |
729 | <span·class="go"> | 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["a"].to_numpy(),·df["b"].to_numpy(),·df["N"].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["a"].to_numpy(),·df["b"].to_numpy(),·df["N"].to_numpy()) |
739 | <span·class="go">·········78·function·calls·in·0.00 | 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·<4></span> | 741 | <span·class="go">···List·reduced·from·21·to·4·due·to·restriction·<4></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.00 | 743 | <span·class="go">········1····0.002····0.002····0.003····0.003·<string>:1(<module>)</span> |
744 | <span·class="go">········1····0.000····0.000····0.000····0.000·{method·'disable'·of·'_lsprof.Profiler'·objects}</span> | 744 | <span·class="go">········1····0.000····0.000····0.000····0.000·{method·'disable'·of·'_lsprof.Profiler'·objects}</span> |
745 | <span·class="go">········1····0.000····0.000····0.00 | 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·cython | 750 | <span·class="gp">···....:·</span>cimport·cython |
751 | <span·class="gp">···....:·</span>cimport·numpy·as·np | 751 | <span·class="gp">···....:·</span>cimport·numpy·as·np |
752 | <span·class="gp">···....:·</span>import·numpy·as·np | 752 | <span·class="gp">···....:·</span>import·numpy·as·np |
Offset 1180, 19 lines modified | Offset 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·the | 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·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·testing | 1182 | <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>·performance | 1183 | 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·may | 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·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·+·df4 | 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·+·df4 |
Max diff block lines reached; 6847/20732 bytes (33.03%) of diff not shown. |
Offset 110, 32 lines modified | Offset 110, 33 lines modified | ||
110 | ···...:·····dx·=·(b·-·a)·/·N | 110 | ···...:·····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·*·dx | 113 | ···...:·····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 | 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·using | 118 | 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·calls | 120 | #·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·E999 | 122 | axis=1)··#·noqa·E999 |
123 | ·········605946·function·calls·(605928·primitive·calls)·in· | 123 | ·········605946·function·calls·(605928·primitive·calls)·in·1.454·seconds |
124 | ···Ordered·by:·internal·time | 124 | ···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. | 127 | ·····1000····0.766····0.001····1.279····0.001·<ipython-input-4-c2a74e076cf0>:1 |
128 | (integrate_f) | 128 | (integrate_f) |
129 | ···552423····0. | 129 | ···552423····0.513····0.000····0.513····0.000·<ipython-input-3-c138bdd570e3>:1 |
130 | (f) | 130 | (f) |
131 | ·····3000····0.0 | 131 | ·····3000····0.027····0.000····0.119····0.000·series.py:1095(__getitem__) |
132 | ···· | 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,·hence | 134 | 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·Cython | 138 | 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]:·%%cython | 140 | In·[8]:·%%cython |
Offset 146, 15 lines modified | Offset 147, 15 lines modified | ||
146 | ···...:·····dx·=·(b·-·a)·/·N | 147 | ···...:·····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·*·dx | 150 | ···...:·····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 | 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·and | 158 | 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]:·%%cython | 160 | 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 modified | Offset 167, 36 lines modified | ||
166 | ···....:·····dx·=·(b·-·a)·/·N | 167 | ···....:·····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·*·dx | 170 | ···....:·····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 | 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·performance | 175 | 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·calling | 178 | 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·an | 180 | 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"],·x | 182 | 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. | 184 | ·········52523·function·calls·(52505·primitive·calls)·in·0.119·seconds |
184 | ···Ordered·by:·internal·time | 185 | ···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.0 | 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.0 | 189 | ····16098····0.015····0.000····0.019····0.000·{built-in·method |
190 | builtins.isinstance} | 190 | builtins.isinstance} |
191 | ·····3000····0.0 | 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]:·%%cython | 194 | In·[13]:·%%cython |
193 | ···....:·cimport·numpy·as·np | 195 | ···....:·cimport·numpy·as·np |
194 | ···....:·import·numpy·as·np | 196 | ···....:·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·i | 200 | ···....:·····cdef·int·i |
Offset 235, 31 lines modified | Offset 237, 31 lines modified | ||
235 | This·implementation·creates·an·array·of·zeros·and·inserts·the·result·of | 237 | 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·in | 238 | 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(),·df | 242 | In·[14]:·%timeit·apply_integrate_f(df["a"].to_numpy(),·df["b"].to_numpy(),·df |
241 | ["N"].to_numpy()) | 243 | ["N"].to_numpy()) |
242 | 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’s | 247 | 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.00 | 251 | ·········78·function·calls·in·0.003·seconds |
250 | ···Ordered·by:·internal·time | 252 | ···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.00 | 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'·of | 256 | ········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.00 | 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]:·%%cython | 260 | In·[16]:·%%cython |
259 | ···....:·cimport·cython | 261 | ···....:·cimport·cython |
260 | ···....:·cimport·numpy·as·np | 262 | ···....:·cimport·numpy·as·np |
261 | ···....:·import·numpy·as·np | 263 | ···....:·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 modified | Offset 648, 17 lines modified | ||
646 | The·'numexpr'·engine·is·the·more·performant·engine·that·can·yield·performance | 648 | 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.·This | 649 | 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·evaluation | 651 | 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)·with | 652 | 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·+·df4 | 654 | In·[40]:·%timeit·df1·+·df2·+·df3·+·df4 |
Max diff block lines reached; 2549/10276 bytes (24.81%) of diff not shown. |
Offset 986, 19 lines modified | Offset 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">---->·</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">"a"</span><span·class="p">])</span> | 987 | <span·class="ne">---->·</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">"a"</span><span·class="p">])</span> |
988 | <span·class="ne">NameError</span>:·name·'pa'·is·not·defined | 988 | <span·class="ne">NameError</span>:·name·'pa'·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"> | 991 | <span·class="ne">AttributeError</span><span·class="g·g-Whitespace">····························</span>Traceback·(most·recent·call·last) |
992 | <span·class="n"> | 992 | <span·class="nn"><ipython-input-34-64ec62289cb4></span>·in·<span·class="ni">?</span><span·class="nt">()</span> |
993 | <span·class="ne">---->·</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">---->·</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="n | 994 | <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">->·</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>:·'DataFrame'·object·has·no·attribute·'to_pandas' | ||
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> |
Offset 526, 19 lines modified | Offset 526, 27 lines modified | ||
526 | Cell·In[33],·line·1 | 526 | 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·defined | 528 | 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 | 531 | AttributeError····························Traceback·(most·recent·call·last) | |
532 | 532 | <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 | 534 | /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]:·df | 542 | In·[35]:·df |
536 | Out[35]: | 543 | Out[35]: |
537 | ·····a····b | 544 | ·····a····b |
538 | 0··xxx··yyy | 545 | 0··xxx··yyy |
539 | 1···¡¡···¡¡ | 546 | 1···¡¡···¡¡ |
Offset 1086, 16 lines modified | Offset 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">"data/timeseries/"</span><span·class="p">)</span><span·class="o">.</span><span·class="n">glob</span><span·class="p">(</span><span·class="s2">"ts*.parquet"</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">"data/timeseries/"</span><span·class="p">)</span><span·class="o">.</span><span·class="n">glob</span><span·class="p">(</span><span·class="s2">"ts*.parquet"</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">"name"</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">"name"</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· | 1093 | <span·class="go">CPU·times:·user·960·us,·sys:·0·ns,·total:·960·us</span> |
1094 | <span·class="go">Wall·time:· | 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·the | 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·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’t | 1100 | <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>,·are | 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>,·are |
Offset 644, 16 lines modified | Offset 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· | 651 | CPU·times:·user·960·us,·sys:·0·ns,·total:·960·us |
652 | Wall·time:· | 652 | 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·chunksize | 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·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·too | 656 | 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·to | 658 | 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. |
Offset 39, 18 lines modified | Offset 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":·"202 | 46 | ····················"iopub.execute_input":·"2025-02-07T20:54:16.552859Z", |
47 | ····················"iopub.status.busy":·"202 | 47 | ····················"iopub.status.busy":·"2025-02-07T20:54:16.552451Z", |
48 | ····················"iopub.status.idle":·"202 | 48 | ····················"iopub.status.idle":·"2025-02-07T20:54:18.442922Z", |
49 | ····················"shell.execute_reply":·"202 | 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 modified | Offset 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":·"202 | 84 | ····················"iopub.execute_input":·"2025-02-07T20:54:18.446880Z", |
85 | ····················"iopub.status.busy":·"202 | 85 | ····················"iopub.status.busy":·"2025-02-07T20:54:18.446470Z", |
86 | ····················"iopub.status.idle":·"202 | 86 | ····················"iopub.status.idle":·"2025-02-07T20:54:20.856915Z", |
87 | ····················"shell.execute_reply":·"202 | 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":·"202 | 102 | ····················"iopub.execute_input":·"2025-02-07T20:54:20.860745Z", |
103 | ····················"iopub.status.busy":·"202 | 103 | ····················"iopub.status.busy":·"2025-02-07T20:54:20.860182Z", |
104 | ····················"iopub.status.idle":·"202 | 104 | ····················"iopub.status.idle":·"2025-02-07T20:54:21.196932Z", |
105 | ····················"shell.execute_reply":·"202 | 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 modified | Offset 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":·"202 | 130 | ····················"iopub.execute_input":·"2025-02-07T20:54:21.201717Z", |
131 | ····················"iopub.status.busy":·"202 | 131 | ····················"iopub.status.busy":·"2025-02-07T20:54:21.201184Z", |
132 | ····················"iopub.status.idle":·"202 | 132 | ····················"iopub.status.idle":·"2025-02-07T20:54:21.221163Z", |
133 | ····················"shell.execute_reply":·"202 | 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 modified | Offset 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":·"202 | 200 | ····················"iopub.execute_input":·"2025-02-07T20:54:21.313712Z", |
201 | ····················"iopub.status.busy":·"202 | 201 | ····················"iopub.status.busy":·"2025-02-07T20:54:21.313290Z", |
202 | ····················"iopub.status.idle":·"202 | 202 | ····················"iopub.status.idle":·"2025-02-07T20:54:21.334068Z", |
203 | ····················"shell.execute_reply":·"202 | 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 modified | Offset 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":·"202 | 334 | ····················"iopub.execute_input":·"2025-02-07T20:54:21.338271Z", |
335 | ····················"iopub.status.busy":·"202 | 335 | ····················"iopub.status.busy":·"2025-02-07T20:54:21.337841Z", |
336 | ····················"iopub.status.idle":·"202 | 336 | ····················"iopub.status.idle":·"2025-02-07T20:54:21.357864Z", |
337 | ····················"shell.execute_reply":·"202 | 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 modified | Offset 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":·"202 | 455 | ····················"iopub.execute_input":·"2025-02-07T20:54:21.361039Z", |
456 | ····················"iopub.status.busy":·"202 | 456 | ····················"iopub.status.busy":·"2025-02-07T20:54:21.360612Z", |
457 | ····················"iopub.status.idle":·"202 | 457 | ····················"iopub.status.idle":·"2025-02-07T20:54:21.375805Z", |
458 | ····················"shell.execute_reply":·"202 | 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. |
Offset 1613, 20 lines modified | Offset 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('df1·+·df2·+·df3·+·df4') | 1619 | <span·class="gp">In·[95]:·</span><span·class="o">%</span><span·class="k">timeit</span>·pd.eval('df1·+·df2·+·df3·+·df4') |
1620 | <span·class="go"> | 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·+·df4 | 1624 | <span·class="gp">In·[96]:·</span><span·class="o">%</span><span·class="k">timeit</span>·df1·+·df2·+·df3·+·df4 |
1625 | <span·class="go">1 | 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·new | 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·new |
1631 | <code·class="docutils·literal·notranslate"><span·class="pre">DataFrame.eval</span></code>·method·that·evaluates·an·expression·in·the·context·of | 1631 | <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> |
Offset 965, 18 lines modified | Offset 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·backend | 969 | ······#·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 | ······ | 971 | ······310·ms·+-·56.6·ms·per·loop·(mean·+-·std.·dev.·of·7·runs,·1·loop·each) |
972 | ······#·pure·Python·evaluation | 972 | ······#·pure·Python·evaluation |
973 | ······In·[96]:·%timeit·df1·+·df2·+·df3·+·df4 | 973 | ······In·[96]:·%timeit·df1·+·df2·+·df3·+·df4 |
974 | ······1 | 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_\x8s | 975 | ······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·that | 976 | ····*·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]: |
Offset 821, 64 lines modified | Offset 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"> | 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"> | 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"> | 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"> | 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"> | 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·weights | 859 | <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">"col1"</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">"weight_column"</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">"col1"</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">"weight_column"</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">"weight_column"</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">"weight_column"</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·following | 873 | <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 modified | Offset 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"> | 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">"a"</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">"a"</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">"a"</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">"a"</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"> | 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 modified | Offset 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">","</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">","</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"> | 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">","</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">","</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">"a,b"</span><span·class="p">,</span>·<span·class="s2">"a,c"</span><span·class="p">,</span>·<span·class="s2">"b,c"</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">"a,b"</span><span·class="p">,</span>·<span·class="s2">"a,c"</span><span·class="p">,</span>·<span·class="s2">"b,c"</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">","</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">","</span><span·class="p">)</span> |
967 | <span·class="gh">Out[22]:·</span><span·class="go">Index([['a',·'b'],·['a',·'c'],·['b',·'c']],·dtype='object')</span> | 964 | <span·class="gh">Out[22]:·</span><span·class="go">Index([['a',·'b'],·['a',·'c'],·['b',·'c']],·dtype='object')</span> |
968 | <span·class="go">#·return·MultiIndex</span> | 965 | <span·class="go">#·return·MultiIndex</span> |
Offset 1007, 16 lines modified | Offset 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">"A"</span><span·class="p">,</span>·<span·class="s2">"X"</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">"ignore"</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">"A"</span><span·class="p">,</span>·<span·class="s2">"X"</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">"ignore"</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. |
Offset 267, 63 lines modified | Offset 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·1 | 269 | #·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····3 | 272 | 3····3 |
273 | 273 | 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····2 | 277 | 2····2 |
278 | 1····1 | 278 | 1····1 |
279 | 0····0 | 279 | 0····0 |
280 | 280 | 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····1 | 284 | 1····1 |
285 | 5····5 | 285 | 5····5 |
286 | 3····3 | 286 | 3····3 |
287 | 287 | 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····2 | 292 | 2····2 |
293 | 4····4 | 293 | 4····4 |
294 | 3····3 | 294 | 3····3 |
295 | 295 | 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····0 | 301 | 0····0 |
302 | 302 | dtype:·int64 | |
303 | When·applied·to·a·DataFrame,·one·may·pass·the·name·of·a·column·to·specify | 303 | 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_column | 309 | ···col1··weight_column |
310 | 0·····9············0.5 | 310 | 0·····9············0.5 |
311 | 1·····8············0.4 | 311 | 1·····8············0.4 |
312 | 2·····7············0.1 | 312 | 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·operations | 314 | _\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 modified | Offset 337, 24 lines modified | ||
339 | ······In·[15]:·s | 337 | ······In·[15]:·s |
340 | ······Out[15]: | 338 | ······Out[15]: |
341 | ······a1····0 | 339 | ······a1····0 |
342 | ······a2····1 | 340 | ······a2····1 |
343 | ······b1····2 | 341 | ······b1····2 |
344 | ······b2····3 | 342 | ······b2····3 |
345 | ······ | 343 | ······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····0 | 348 | ······a1····0 |
351 | ······a2····1 | 349 | ······a2····1 |
352 | ······ | 350 | ······dtype:·int64 |
353 | ····*·The·following·new·methods·are·accessible·via·.str·accessor·to·apply·the | 351 | ····*·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\x8s | 353 | ······························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·expand | 356 | ····*·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 modified | Offset 362, 24 lines modified | ||
364 | ······#·return·Series | 362 | ······#·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 | ······ | 368 | ······dtype:·object |
371 | ······#·return·DataFrame | 369 | ······#·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··1 | 372 | ·········0··1 |
375 | ······0··a··b | 373 | ······0··a··b |
376 | ······1··a··c | 374 | ······1··a··c |
377 | ······2··b··c | 375 | ······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·Index | 377 | ······#·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·MultiIndex | 380 | ······#·return·MultiIndex |
Offset 424, 16 lines modified | Offset 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·········C | 422 | ················B·········C |
427 | ······0·-0.706771·-1.039575 | 423 | ······0·-0.706771·-1.039575 |
428 | ······1·-0.424972··0.567020 | 424 | ······1·-0.424972··0.567020 |
429 | ······2·-1.087401·-0.673690 | 425 | ······2·-1.087401·-0.673690 |
430 | ······[3·rows·x·2·columns] | ||
431 | ····*·Add·support·for·separating·years·and·quarters·using·dashes,·for·example | 426 | ····*·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. |
Offset 769, 37 lines modified | Offset 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"> | 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,· | 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,· | 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">"B"</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">"B"</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">"B"</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">"B"</span><span·class="p">]</span><span·class="o">.</span><span·class="n">dtype</span><span·class="p">)</span> |
Offset 878, 43 lines modified | Offset 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"> | 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">"%Y/%m/</span><span·class="si">%d</span><span·class="s2">"</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">"%Y/%m/</span><span·class="si">%d</span><span·class="s2">"</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"> | 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">"20130101"</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">"20130101"</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"> | 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">"%Y/%m/</span><span·class="si">%d</span><span·class="s2">"</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">"%Y/%m/</span><span·class="si">%d</span><span·class="s2">"</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"> | 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 modified | Offset 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"> | 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"> | 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 modified | Offset 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">"test.xlsx"</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">"test.xlsx"</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">"test.xlsx"</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">"test.xlsx"</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. |
Offset 222, 35 lines modified | Offset 222, 33 lines modified | ||
222 | In·[2]:·df | 222 | In·[2]:·df |
223 | Out[2]: | 223 | Out[2]: |
224 | ···········A·························B·························C | 224 | ···········A·························B·························C |
225 | 0·2013-01-01·2013-01-01·00:00:00-05:00·2013-01-01·00:00:00+01:00 | 225 | 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:00 | 226 | 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:00 | 227 | 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.dtypes | 228 | 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 | 233 | dtype:·object | |
235 | In·[4]:·df.B | 234 | In·[4]:·df.B |
236 | Out[4]: | 235 | Out[4]: |
237 | 0···2013-01-01·00:00:00-05:00 | 236 | 0···2013-01-01·00:00:00-05:00 |
238 | 1···2013-01-02·00:00:00-05:00 | 237 | 1···2013-01-02·00:00:00-05:00 |
239 | 2···2013-01-03·00:00:00-05:00 | 238 | 2···2013-01-03·00:00:00-05:00 |
240 | Name:·B,· | 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-01 | 242 | 0···2013-01-01 |
244 | 1···2013-01-02 | 243 | 1···2013-01-02 |
245 | 2···2013-01-03 | 244 | 2···2013-01-03 |
246 | Name:·B,· | 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"].dtype | 248 | 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.DatetimeTZDtype | 251 | Out[7]:·pandas.core.dtypes.dtypes.DatetimeTZDtype |
Offset 326, 64 lines modified | Offset 324, 64 lines modified | ||
326 | In·[14]:·s | 324 | In·[14]:·s |
327 | Out[14]: | 325 | Out[14]: |
328 | 0···2013-01-01 | 326 | 0···2013-01-01 |
329 | 1···2013-01-02 | 327 | 1···2013-01-02 |
330 | 2···2013-01-03 | 328 | 2···2013-01-03 |
331 | 3···2013-01-04 | 329 | 3···2013-01-04 |
332 | 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/01 | 333 | 0····2013/01/01 |
336 | 1····2013/01/02 | 334 | 1····2013/01/02 |
337 | 2····2013/01/03 | 335 | 2····2013/01/03 |
338 | 3····2013/01/04 | 336 | 3····2013/01/04 |
339 | 337 | dtype:·object | |
340 | #·PeriodIndex | 338 | #·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]:·s | 340 | In·[17]:·s |
343 | Out[17]: | 341 | Out[17]: |
344 | 0····2013-01-01 | 342 | 0····2013-01-01 |
345 | 1····2013-01-02 | 343 | 1····2013-01-02 |
346 | 2····2013-01-03 | 344 | 2····2013-01-03 |
347 | 3····2013-01-04 | 345 | 3····2013-01-04 |
348 | 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/01 | 349 | 0····2013/01/01 |
352 | 1····2013/01/02 | 350 | 1····2013/01/02 |
353 | 2····2013/01/03 | 351 | 2····2013/01/03 |
354 | 3····2013/01/04 | 352 | 3····2013/01/04 |
355 | 353 | dtype:·object | |
356 | The·string·format·is·as·the·python·standard·library·and·details·can·be·found | 354 | The·string·format·is·as·the·python·standard·library·and·details·can·be·found |
357 | _\x8h_\x8e_\x8r_\x8e | 355 | _\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·the | 357 | 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 | #·TimedeltaIndex | 359 | #·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]:·s | 361 | In·[20]:·s |
364 | Out[20]: | 362 | Out[20]: |
365 | 0···0·days·00:01:00 | 363 | 0···0·days·00:01:00 |
366 | 1···1·days·00:01:00 | 364 | 1···1·days·00:01:00 |
367 | 2···2·days·00:01:00 | 365 | 2···2·days·00:01:00 |
368 | 3···3·days·00:01:00 | 366 | 3···3·days·00:01:00 |
369 | 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.0 | 370 | 0········60.0 |
373 | 1·····86460.0 | 371 | 1·····86460.0 |
374 | 2····172860.0 | 372 | 2····172860.0 |
375 | 3····259260.0 | 373 | 3····259260.0 |
376 | 374 | 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·like | 377 | 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·below | 379 | 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·by | 380 | creates·a·period·of·3·days.·Addition·and·subtraction·will·shift·the·period·by |
383 | its·span. | 381 | its·span. |
Offset 449, 29 lines modified | Offset 447, 25 lines modified | ||
449 | Out[32]: | 447 | Out[32]: |
450 | col1··foo····bar | 448 | col1··foo····bar |
451 | col2····a··b···a··b | 449 | col2····a··b···a··b |
452 | i1·i2 | 450 | i1·i2 |
453 | j··l····1··2···3··4 | 451 | j··l····1··2···3··4 |
454 | ···k····5··6···7··8 | 452 | ···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]:·df | 455 | In·[35]:·df |
459 | Out[35]: | 456 | Out[35]: |
460 | col1··foo····bar | 457 | col1··foo····bar |
461 | col2····a··b···a··b | 458 | col2····a··b···a··b |
462 | i1·i2 | 459 | i1·i2 |
463 | j··l····1··2···3··4 | 460 | j··l····1··2···3··4 |
464 | ···k····5··6···7··8 | 461 | ···k····5··6···7··8 |
465 | [2·rows·x·4·columns] | ||
466 | Previously,·it·was·necessary·to·specify·the·has_index_names·argument·in | 462 | 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·the | 463 | 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. |
Offset 1642, 45 lines modified | Offset 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"> | 1648 | <span·class="go">dtype:·category</span> |
1649 | <span·class="go">Categories·(2,·object):·['a',·'b']</span> | 1649 | <span·class="go">Categories·(2,·object):·['a',·'b']</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">"a"</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">"a"</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"> | 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">"1/1/2015"</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">"category"</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">"1/1/2015"</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">"category"</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"> | 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"> | 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·of | 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·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> |
Offset 229, 47 lines modified | Offset 229, 47 lines modified | ||
229 | ······In·[10]:·s | 229 | ······In·[10]:·s |
230 | ······Out[10]: | 230 | ······Out[10]: |
231 | ······0····a | 231 | ······0····a |
232 | ······1····a | 232 | ······1····a |
233 | ······2····b | 233 | ······2····b |
234 | ······3····b | 234 | ······3····b |
235 | ······ | 235 | ······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·····True | 239 | ······0·····True |
240 | ······1·····True | 240 | ······1·····True |
241 | ······2····False | 241 | ······2····False |
242 | ······3····False | 242 | ······3····False |
243 | ······ | 243 | ······dtype:·bool |
244 | ······In·[12]:·date·=·pd.Series(pd.date_range("1/1/2015",·periods=5)).astype | 244 | ······In·[12]:·date·=·pd.Series(pd.date_range("1/1/2015",·periods=5)).astype |
245 | ······("category") | 245 | ······("category") |
246 | ······In·[13]:·date | 246 | ······In·[13]:·date |
247 | ······Out[13]: | 247 | ······Out[13]: |
248 | ······0···2015-01-01 | 248 | ······0···2015-01-01 |
249 | ······1···2015-01-02 | 249 | ······1···2015-01-02 |
250 | ······2···2015-01-03 | 250 | ······2···2015-01-03 |
251 | ······3···2015-01-04 | 251 | ······3···2015-01-04 |
252 | ······4···2015-01-05 | 252 | ······4···2015-01-05 |
253 | ······ | 253 | ······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.day | 256 | ······In·[14]:·date.dt.day |
257 | ······Out[14]: | 257 | ······Out[14]: |
258 | ······0····1 | 258 | ······0····1 |
259 | ······1····2 | 259 | ······1····2 |
260 | ······2····3 | 260 | ······2····3 |
261 | ······3····4 | 261 | ······3····4 |
262 | ······4····5 | 262 | ······4····5 |
263 | ······ | 263 | ······dtype:·int32 |
264 | ····*·pivot_table·now·has·a·margins_name·argument·so·you·can·use·something | 264 | ····*·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_\x8H | 266 | ····*·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·literal | 268 | ····*·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·streaming | 270 | ····*·Improve·the·error·message·in·pandas.io.gbq.to_gbq()·when·a·streaming |
Offset 749, 16 lines modified | Offset 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 modified | Offset 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">'A'</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">'A'</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 modified | Offset 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,· | 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">'A'</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">'mean'</span><span·class="p">,</span>·<span·class="s1">'std'</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">'A'</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">'mean'</span><span·class="p">,</span>·<span·class="s1">'std'</span><span·class="p">],</span> |
829 | <span·class="gp">···...:·</span>·······<span·class="s1">'B'</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">'mean'</span><span·class="p">,</span>·<span·class="s1">'std'</span><span·class="p">]})</span> | 825 | <span·class="gp">···...:·</span>·······<span·class="s1">'B'</span><span·class="p">:</span>·<span·class="p">[</span><span·class="s1">'mean'</span><span·class="p">,</span>·<span·class="s1">'std'</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 modified | Offset 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-like | 845 | <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 modified | Offset 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">'newname'</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">'newname'</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,· | 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">"indexname"</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">"indexname"</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">"columns_name"</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="s2">"columns"</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">"columns_name"</span><span·class="p">,</span>·<span·class="n">axis</span><span·class="o">=</span><span·class="s2">"columns"</span><span·class="p">))</span> |
868 | <span·class="gp">···....:·</span> | 862 | <span·class="gp">···....:·</span> |
Offset 871, 16 lines modified | Offset 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 modified | Offset 929, 24 lines modified | ||
937 | <p>Extracting·a·regular·expression·with·one·group·returns·a·Series·if | 929 | <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">'a1'</span><span·class="p">,</span>·<span·class="s1">'b2'</span><span·class="p">,</span>·<span·class="s1">'c3'</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">'[ab](\d)'</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">'a1'</span><span·class="p">,</span>·<span·class="s1">'b2'</span><span·class="p">,</span>·<span·class="s1">'c3'</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">'[ab](\d)'</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"> | 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">'a1'</span><span·class="p">,</span>·<span·class="s1">'b2'</span><span·class="p">,</span>·<span·class="s1">'c3'</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">'[ab](\d)'</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">'a1'</span><span·class="p">,</span>·<span·class="s1">'b2'</span><span·class="p">,</span>·<span·class="s1">'c3'</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">'[ab](\d)'</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·group | 948 | <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">"a1"</span><span·class="p">,</span>·<span·class="s2">"b2"</span><span·class="p">,</span>·<span·class="s2">"c3"</span><span·class="p">],</span>·<span·class="p">[</span><span·class="s2">"A11"</span><span·class="p">,</span>·<span·class="s2">"B22"</span><span·class="p">,</span>·<span·class="s2">"C33"</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">"a1"</span><span·class="p">,</span>·<span·class="s2">"b2"</span><span·class="p">,</span>·<span·class="s2">"c3"</span><span·class="p">],</span>·<span·class="p">[</span><span·class="s2">"A11"</span><span·class="p">,</span>·<span·class="s2">"B22"</span><span·class="p">,</span>·<span·class="s2">"C33"</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 modified | Offset 959, 14 lines modified | ||
Max diff block lines reached; 46540/56979 bytes (81.68%) of diff not shown. |
Offset 199, 16 lines modified | Offset 199, 14 lines modified | ||
199 | 3··3·-0.312652 | 199 | 3··3·-0.312652 |
200 | 4··4·-0.720589 | 200 | 4··4·-0.720589 |
201 | 5··5··0.887163 | 201 | 5··5··0.887163 |
202 | 6··6··0.859588 | 202 | 6··6··0.859588 |
203 | 7··7·-0.636524 | 203 | 7··7·-0.636524 |
204 | 8··8··0.015696 | 204 | 8··8··0.015696 |
205 | 9··9·-2.242685 | 205 | 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·be | 208 | ········FutureWarning:·pd.rolling_mean·is·deprecated·for·DataFrame·and·will·be |
210 | removed·in·a·future·version,·replace·with | 209 | 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·········B | 212 | ····A·········B |
Offset 243, 30 lines modified | Offset 241, 28 lines modified | ||
243 | 3··2.0·-0.023640 | 241 | 3··2.0·-0.023640 |
244 | 4··3.0··0.133155 | 242 | 4··3.0··0.133155 |
245 | 5··4.0·-0.048693 | 243 | 5··4.0·-0.048693 |
246 | 6··5.0··0.342054 | 244 | 6··5.0··0.342054 |
247 | 7··6.0··0.370076 | 245 | 7··6.0··0.370076 |
248 | 8··7.0··0.079587 | 246 | 8··7.0··0.079587 |
249 | 9··8.0·-0.954504 | 247 | 9··8.0·-0.954504 |
250 | [10·rows·x·2·columns] | ||
251 | They·provide·getitem·accessors | 248 | They·provide·getitem·accessors |
252 | In·[7]:·r['A'].mean() | 249 | In·[7]:·r['A'].mean() |
253 | Out[7]: | 250 | Out[7]: |
254 | 0····NaN | 251 | 0····NaN |
255 | 1····NaN | 252 | 1····NaN |
256 | 2····1.0 | 253 | 2····1.0 |
257 | 3····2.0 | 254 | 3····2.0 |
258 | 4····3.0 | 255 | 4····3.0 |
259 | 5····4.0 | 256 | 5····4.0 |
260 | 6····5.0 | 257 | 6····5.0 |
261 | 7····6.0 | 258 | 7····6.0 |
262 | 8····7.0 | 259 | 8····7.0 |
263 | 9····8.0 | 260 | 9····8.0 |
264 | Name:·A,· | 261 | Name:·A,·dtype:·float64 |
265 | And·multiple·aggregations | 262 | 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··············B | 267 | ·····A··············B |
271 | ··mean··std······mean·······std | 268 | ··mean··std······mean·······std |
Offset 276, 45 lines modified | Offset 272, 41 lines modified | ||
276 | 3··2.0··1.0·-0.023640··1.335505 | 272 | 3··2.0··1.0·-0.023640··1.335505 |
277 | 4··3.0··1.0··0.133155··1.143778 | 273 | 4··3.0··1.0··0.133155··1.143778 |
278 | 5··4.0··1.0·-0.048693··0.835747 | 274 | 5··4.0··1.0·-0.048693··0.835747 |
279 | 6··5.0··1.0··0.342054··0.920379 | 275 | 6··5.0··1.0··0.342054··0.920379 |
280 | 7··6.0··1.0··0.370076··0.871850 | 276 | 7··6.0··1.0··0.370076··0.871850 |
281 | 8··7.0··1.0··0.079587··0.750099 | 277 | 8··7.0··1.0··0.079587··0.750099 |
282 | 9··8.0··1.0·-0.954504··1.162285 | 278 | 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-like | 280 | 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·old | 281 | 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.150036 | 286 | 0····1.150036 |
292 | 1····0.991946 | 287 | 1····0.991946 |
293 | 2····0.953324 | 288 | 2····0.953324 |
294 | 3···-2.021255 | 289 | 3···-2.021255 |
295 | 4···-0.334077 | 290 | 4···-0.334077 |
296 | Name:·newname,· | 291 | 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·········1 | 297 | columns_name·········0·········1 |
303 | indexname | 298 | indexname |
304 | 0·············0.002118··0.405453 | 299 | 0·············0.002118··0.405453 |
305 | 1·············0.289092··1.321158 | 300 | 1·············0.289092··1.321158 |
306 | 2············-1.546906·-0.202646 | 301 | 2············-1.546906·-0.202646 |
307 | 3············-0.655969··0.193421 | 302 | 3············-0.655969··0.193421 |
308 | 4·············0.553439··1.318152 | 303 | 4·············0.553439··1.318152 |
309 | [5·rows·x·2·columns] | ||
310 | The·new·functionality·works·well·in·method·chains.·Previously·these·methods | 304 | 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·continues | 305 | 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·memory | 308 | 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·to | 309 | 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 modified | Offset 359, 22 lines modified | ||
367 | Extracting·a·regular·expression·with·one·group·returns·a·Series·if | 359 | 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······1 | 363 | 0······1 |
372 | 1······2 | 364 | 1······2 |
373 | 2····NaN | 365 | 2····NaN |
374 | 366 | 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 | ·····0 | 370 | ·····0 |
379 | 0····1 | 371 | 0····1 |
380 | 1····2 | 372 | 1····2 |
381 | 2··NaN | 373 | 2··NaN |
382 | [3·rows·x·1·columns] | ||
383 | Calling·on·an·Index·with·a·regex·with·exactly·one·capture·group·returns·an | 374 | 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.index | 377 | 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 modified | Offset 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 | ··letter | 386 | ··letter |
397 | 0······A | 387 | 0······A |
398 | 1······B | 388 | 1······B |
399 | 2······C | 389 | 2······C |
Max diff block lines reached; 16520/20299 bytes (81.38%) of diff not shown. |
Offset 724, 15 lines modified | Offset 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('2014-01-17·16:00:00')</span> | 725 | <span·class="gh">Out[6]:·</span><span·class="go">Timestamp('2014-01-17·16:00:00')</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('2014-01-2 | 730 | <span·class="gh">Out[7]:·</span><span·class="go">Timestamp('2014-01-21·09:00:00')</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 modified | Offset 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">"group"</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">"1D"</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">"group"</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">"1D"</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 modified | Offset 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">></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">></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·callable | 916 | <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">>=</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">></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">>=</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">></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">"A"</span><span·class="p">,</span>·<span·class="s2">"B"</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">"A"</span><span·class="p">,</span>·<span·class="s2">"B"</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·its | 936 | 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">"A"</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">"A"</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,· | 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·operations | 946 | <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">"data/baseball.csv"</span><span·class="p">,</span>·<span·class="n">index_col</span><span·class="o">=</span><span·class="s2">"id"</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">"data/baseball.csv"</span><span·class="p">,</span>·<span·class="n">index_col</span><span·class="o">=</span><span·class="s2">"id"</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">"year"</span><span·class="p">,</span>·<span·class="s2">"team"</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">></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">"year"</span><span·class="p">,</span>·<span·class="s2">"team"</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">></span>·<span·class="mi">100</span><span·class="p">])</span> |
Offset 1058, 32 lines modified | Offset 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"> | 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">"year"</span><span·class="p">,</span>·<span·class="s2">"month"</span><span·class="p">,</span>·<span·class="s2">"day"</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">"year"</span><span·class="p">,</span>·<span·class="s2">"month"</span><span·class="p">,</span>·<span·class="s2">"day"</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"> | 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 modified | Offset 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. |
Offset 173, 15 lines modified | Offset 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_us | 174 | 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·*·2 | 177 | In·[7]:·dt·+·bhour_us·*·2 |
178 | Out[7]:·Timestamp('2014-01-2 | 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·with | 180 | .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_\x8H | 181 | .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.·These | 183 | You·can·now·use·.rolling(..)·and·.expanding(..)·as·methods·on·groupbys.·These |
184 | return·another·deferred·object·(similar·to·what·.rolling()·and·.expanding()·do | 184 | return·another·deferred·object·(similar·to·what·.rolling()·and·.expanding()·do |
185 | on·ungrouped·pandas·objects).·You·can·then·operate·on·these·RollingGroupby | 185 | on·ungrouped·pandas·objects).·You·can·then·operate·on·these·RollingGroupby |
Offset 281, 16 lines modified | Offset 281, 14 lines modified | ||
281 | Out[12]: | 281 | Out[12]: |
282 | ············group··val | 282 | ············group··val |
283 | date | 283 | date |
284 | 2016-01-03······1····5 | 284 | 2016-01-03······1····5 |
285 | 2016-01-10······1····6 | 285 | 2016-01-10······1····6 |
286 | 2016-01-17······2····7 | 286 | 2016-01-17······2····7 |
287 | 2016-01-24······2····8 | 287 | 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··val | 290 | ··················group··val |
292 | group·date | 291 | group·date |
293 | 1·····2016-01-03······1····5 | 292 | 1·····2016-01-03······1····5 |
294 | ······2016-01-04······1····5 | 293 | ······2016-01-04······1····5 |
295 | ······2016-01-05······1····5 | 294 | ······2016-01-05······1····5 |
Offset 340, 47 lines modified | Offset 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··C | 340 | ····A···B··C |
343 | 0··11··14··7 | 341 | 0··11··14··7 |
344 | 1··12···5··8 | 342 | 1··12···5··8 |
345 | 2··13···6··9 | 343 | 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·callable | 345 | 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·these | 346 | 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·indexer | 348 | #·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··C | 351 | ···B··C |
355 | 1··5··8 | 352 | 1··5··8 |
356 | 2··6··9 | 353 | 2··6··9 |
357 | [2·rows·x·2·columns] | ||
358 | #·callable·returns·list·of·labels | 354 | #·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··B | 357 | ···A··B |
362 | 1··2··5 | 358 | 1··2··5 |
363 | 2··3··6 | 359 | 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·class | 362 | 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····1 | 366 | 0····1 |
372 | 1····2 | 367 | 1····2 |
373 | 2····3 | 368 | 2····3 |
374 | Name:·A,· | 369 | Name:·A,·dtype:·int64 |
375 | Using·these·methods·/·indexers,·you·can·chain·data·selection·operations·without | 370 | 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 modified | Offset 478, 26 lines modified | ||
486 | ···....: | 478 | ···....: |
487 | In·[21]:·df | 479 | In·[21]:·df |
488 | Out[21]: | 480 | Out[21]: |
489 | ···year··month··day··hour | 481 | ···year··month··day··hour |
490 | 0··2015······2····4·····2 | 482 | 0··2015······2····4·····2 |
491 | 1··2016······3····5·····3 | 483 | 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:00 | 487 | 0···2015-02-04·02:00:00 |
497 | 1···2016-03-05·03:00:00 | 488 | 1···2016-03-05·03:00:00 |
498 | 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-04 | 493 | 0···2015-02-04 |
503 | 1···2016-03-05 | 494 | 1···2016-03-05 |
504 | 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·engine | 497 | ····*·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,·via | 501 | ····*·pd.read_csv()·now·supports·opening·files·using·xz·compression,·via |
511 | ······extension·inference·or·explicit·compression='xz'·is·specified;·xz | 502 | ······extension·inference·or·explicit·compression='xz'·is·specified;·xz |
Offset 599, 16 lines modified | Offset 589, 14 lines modified | ||
599 | In·[30]:·df | 589 | In·[30]:·df |
600 | Out[30]: | 590 | Out[30]: |
601 | ···A··B | 591 | ···A··B |
602 | 0··a··1 | 592 | 0··a··1 |
603 | 1··b··2 | 593 | 1··b··2 |
604 | 2··a··3 | 594 | 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····1 | 598 | 0····1 |
610 | 1····2 | 599 | 1····2 |
611 | Name:·B,·dtype:·int64 | 600 | Name:·B,·dtype:·int64 |
Offset 618, 21 lines modified | Offset 606, 21 lines modified | ||
Max diff block lines reached; 1927/5994 bytes (32.15%) of diff not shown. |
Offset 820, 18 lines modified | Offset 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('2000-01-01',·'D'),·Period('2000-01-02',·'D'),</span> | 823 | <span·class="go">array([Period('2000-01-01',·'D'),·Period('2000-01-02',·'D'),</span> |
824 | <span·class="go">·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)</span> | 824 | <span·class="go">·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·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">3 | 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">3 | 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('2000-01-01',·'D'),·Period('2000-01-02',·'D'),</span> | 834 | <span·class="go">array([Period('2000-01-01',·'D'),·Period('2000-01-02',·'D'),</span> |
835 | <span·class="go">·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)</span> | 835 | <span·class="go">·······Period('2000-01-03',·'D'),·Period('2000-01-04',·'D')],·dtype=object)</span> |
Offset 268, 18 lines modified | Offset 268, 18 lines modified | ||
268 | each·time. | 268 | each·time. |
269 | In·[18]:·idx.values | 269 | 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]:·3 | 274 | Out[19]:·3840222320 |
275 | In·[20]:·id(idx.values) | 275 | In·[20]:·id(idx.values) |
276 | Out[20]:·3 | 276 | 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() |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary | 1 | -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.xz | 2 | -rw-r--r--···0········0········0·····2956·2025-02-01·18:39:17.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··6844 | 3 | -rw-r--r--···0········0········0··6844632·2025-02-01·18:39:17.000000·data.tar.xz |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | Displaying·notes·found·in:·.note.gnu.build-id | 1 | Displaying·notes·found·in:·.note.gnu.build-id |
2 | ··Owner················Data·size·» Description | 2 | ··Owner················Data·size·» Description |
3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:· | 3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·7dd58dd8e766396d0d6c831cb64d35cc479fa3df |
Offset 1, 7 lines modified | Offset 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 | ··0x000000 | 2 | ··0x00000000·64353864·64386537·36363339·36643064·d58dd8e766396d0d |
3 | ··0x00000010·36633833·31636236·34643335·63633437·6c831cb64d35cc47 | ||
4 | ··0x00000020· | 4 | ··0x00000020·39666133·64662e64·65627567·00000000·9fa3df.debug.... |
5 | ··0x00000030· | 5 | ··0x00000030·32d82ccb····························2.,. |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | Displaying·notes·found·in:·.note.gnu.build-id | 1 | Displaying·notes·found·in:·.note.gnu.build-id |
2 | ··Owner················Data·size·» Description | 2 | ··Owner················Data·size·» Description |
3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:· | 3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·621de264edd278cc384da725741d49d9dc419162 |
Offset 1, 7 lines modified | Offset 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 | ··0x000000 | 2 | ··0x00000000·31646532·36346564·64323738·63633338·1de264edd278cc38 |
3 | ··0x00000010·34646137·32353734·31643439·64396463·4da725741d49d9dc | ||
4 | ··0x00000020·3 | 4 | ··0x00000020·34313931·36322e64·65627567·00000000·419162.debug.... |
5 | ··0x00000030· | 5 | ··0x00000030·3a5217d1····························:R.. |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-02-01·18:39:17.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····4 | 2 | -rw-r--r--···0········0········0·····4496·2025-02-01·18:39:17.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0·712 | 3 | -rw-r--r--···0········0········0·71241408·2025-02-01·18:39:17.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·python3-pandas-lib-dbgsym | 1 | Package:·python3-pandas-lib-dbgsym |
2 | Source:·pandas | 2 | Source:·pandas |
3 | Version:·2.2.3+dfsg-8 | 3 | Version:·2.2.3+dfsg-8 |
4 | Auto-Built-Package:·debug-symbols | 4 | Auto-Built-Package:·debug-symbols |
5 | Architecture:·i386 | 5 | 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:·7353 | 7 | 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:·debug | 9 | Section:·debug |
10 | Priority:·optional | 10 | Priority:·optional |
11 | Multi-Arch:·same | 11 | Multi-Arch:·same |
12 | Description:·debug·symbols·for·python3-pandas-lib | 12 | 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·5 | 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·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 |
Offset 26, 28 lines modified | Offset 26, 28 lines modified | ||
26 | usr/lib/debug/.build-id/4b/00cba9105bae54c3f8071386e900c5a9938cc6.debug | 26 | usr/lib/debug/.build-id/4b/00cba9105bae54c3f8071386e900c5a9938cc6.debug |
27 | usr/lib/debug/.build-id/4c/162e24bb24dd604dc94f4711e34470ae487622.debug | 27 | usr/lib/debug/.build-id/4c/162e24bb24dd604dc94f4711e34470ae487622.debug |
28 | usr/lib/debug/.build-id/51/7f6d5a9dda83a986446c68a23f1eadb96fb1ee.debug | 28 | usr/lib/debug/.build-id/51/7f6d5a9dda83a986446c68a23f1eadb96fb1ee.debug |
29 | usr/lib/debug/.build-id/51/80386948b13aeed2100b854f135f4d6356adba.debug | 29 | usr/lib/debug/.build-id/51/80386948b13aeed2100b854f135f4d6356adba.debug |
30 | usr/lib/debug/.build-id/51/e5290ccffc7df092f8e04fe728bbdccaba6ad8.debug | 30 | usr/lib/debug/.build-id/51/e5290ccffc7df092f8e04fe728bbdccaba6ad8.debug |
31 | usr/lib/debug/.build-id/57/91d2b56e2687ca2d54227c627ff0d817783154.debug | 31 | usr/lib/debug/.build-id/57/91d2b56e2687ca2d54227c627ff0d817783154.debug |
32 | usr/lib/debug/.build-id/57/ee728b382bbdc0462eb296932ad061f47dce4a.debug | 32 | 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.debug | 33 | usr/lib/debug/.build-id/5d/39c8cb62ef56b836b2e46bb785513b720d5dba.debug |
35 | usr/lib/debug/.build-id/5e/ccbfd82dc8e65f53fd68d6ef7c4e8d6d56ed71.debug | 34 | 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.debug | 36 | usr/lib/debug/.build-id/62/7931d2bea92a8542142923d215dd0138ea1427.debug |
37 | usr/lib/debug/.build-id/63/685837f20a82e76b6fd1c3f443919f10c9c5dc.debug | 37 | usr/lib/debug/.build-id/63/685837f20a82e76b6fd1c3f443919f10c9c5dc.debug |
38 | usr/lib/debug/.build-id/64/10d3cf4b866c6ad8df362e5c2676db90bdbff8.debug | 38 | usr/lib/debug/.build-id/64/10d3cf4b866c6ad8df362e5c2676db90bdbff8.debug |
39 | usr/lib/debug/.build-id/64/6b40ae9ca43cf4a6a48613dff5fbc18d8e4422.debug | 39 | usr/lib/debug/.build-id/64/6b40ae9ca43cf4a6a48613dff5fbc18d8e4422.debug |
40 | usr/lib/debug/.build-id/64/980b2e62f3408b761589fb721e52b3fced0e63.debug | 40 | usr/lib/debug/.build-id/64/980b2e62f3408b761589fb721e52b3fced0e63.debug |
41 | usr/lib/debug/.build-id/6f/80b58efc936811fa03972051faeae4b3c223be.debug | 41 | usr/lib/debug/.build-id/6f/80b58efc936811fa03972051faeae4b3c223be.debug |
42 | usr/lib/debug/.build-id/70/43c865ab4986be93697667505ae48ba25fe283.debug | 42 | usr/lib/debug/.build-id/70/43c865ab4986be93697667505ae48ba25fe283.debug |
43 | usr/lib/debug/.build-id/79/c42801ed47c89b0e2a7a78d3774a7907761228.debug | 43 | usr/lib/debug/.build-id/79/c42801ed47c89b0e2a7a78d3774a7907761228.debug |
44 | usr/lib/debug/.build-id/79/c8e270384c90ea6be9f3faf79d778eb0d4d2e9.debug | 44 | 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.debug | 45 | 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.debug | 47 | usr/lib/debug/.build-id/7f/fbcc440ee72d4878ce5ea2d274996b810e5ed3.debug |
48 | usr/lib/debug/.build-id/80/0c734e6e067ad39888b062b01a50300e8360cd.debug | 48 | usr/lib/debug/.build-id/80/0c734e6e067ad39888b062b01a50300e8360cd.debug |
49 | usr/lib/debug/.build-id/81/c3b4d7249dc2730a75e6c1ad8d22e316be1933.debug | 49 | usr/lib/debug/.build-id/81/c3b4d7249dc2730a75e6c1ad8d22e316be1933.debug |
50 | usr/lib/debug/.build-id/82/c5b86aaf7f119607418eb8786ff7936d077da1.debug | 50 | usr/lib/debug/.build-id/82/c5b86aaf7f119607418eb8786ff7936d077da1.debug |
51 | usr/lib/debug/.build-id/88/e2f7898dce8ed1fa78ab6fa32bc235ef86be5b.debug | 51 | usr/lib/debug/.build-id/88/e2f7898dce8ed1fa78ab6fa32bc235ef86be5b.debug |
52 | usr/lib/debug/.build-id/89/3c20675bc0c99b24df73622b9bd7fd4f585bff.debug | 52 | usr/lib/debug/.build-id/89/3c20675bc0c99b24df73622b9bd7fd4f585bff.debug |
53 | usr/lib/debug/.build-id/8a/cfc061c5a20530637d66d3f32b6da818d1f930.debug | 53 | usr/lib/debug/.build-id/8a/cfc061c5a20530637d66d3f32b6da818d1f930.debug |
Offset 56, 39 lines modified | Offset 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.debug | 57 | -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.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.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.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.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.debug | 61 | -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.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.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.debug | 64 | -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.debug | 66 | -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.debug | 69 | -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.debug | 71 | -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.debug | 73 | -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.debug | 74 | -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.debug | 75 | -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.debug | 77 | -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.debug | 79 | -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.debug | 81 | -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.debug | 82 | -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.debug | 84 | -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.debug | 87 | -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.debug | 89 | -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.debug | 91 | -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/ |
Offset 6, 15 lines modified | Offset 6, 15 lines modified | ||
6 | ··OS/ABI:····························UNIX·-·System·V | 6 | ··OS/ABI:····························UNIX·-·System·V |
7 | ··ABI·Version:·······················0 | 7 | ··ABI·Version:·······················0 |
8 | ··Type:······························DYN·(Shared·object·file) | 8 | ··Type:······························DYN·(Shared·object·file) |
9 | ··Machine:···························Intel·80386 | 9 | ··Machine:···························Intel·80386 |
10 | ··Version:···························0x1 | 10 | ··Version:···························0x1 |
11 | ··Entry·point·address:···············0x0 | 11 | ··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:··········6897 | 13 | ··Start·of·section·headers:··········689756·(bytes·into·file) |
14 | ··Flags:·····························0x0 | 14 | ··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:·········9 | 17 | ··Number·of·program·headers:·········9 |
18 | ··Size·of·section·headers:···········40·(bytes) | 18 | ··Size·of·section·headers:···········40·(bytes) |
19 | ··Number·of·section·headers:·········35 | 19 | ··Number·of·section·headers:·········35 |
20 | ··Section·header·string·table·index:·34 | 20 | ··Section·header·string·table·index:·34 |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | There·are·35·section·headers,·starting·at·offset·0xa86 | 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·Al | 3 | ··[Nr]·Name··············Type············Addr·····Off····Size···ES·Flg·Lk·Inf·Al |
4 | ··[·0]···················NULL············00000000·000000·000000·00······0···0··0 | 4 | ··[·0]···················NULL············00000000·000000·000000·00······0···0··0 |
5 | ··[·1]·.note.gnu.build-id·NOTE············00000154·000154·000024·00···A··0···0··4 | 5 | ··[·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··4 | 6 | ··[·2]·.gnu.hash·········NOBITS··········00000178·000178·000024·04···A··3···0··4 |
7 | ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d40·10···A··4···1··4 | 7 | ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d40·10···A··4···1··4 |
Offset 23, 22 lines modified | Offset 23, 22 lines modified | ||
23 | ··[18]·.fini_array·······NOBITS··········00062bb8·000bb4·000004·04··WA··0···0··4 | 23 | ··[18]·.fini_array·······NOBITS··········00062bb8·000bb4·000004·04··WA··0···0··4 |
24 | ··[19]·.dynamic··········NOBITS··········00062bbc·000bb4·0000f0·08··WA··4···0··4 | 24 | ··[19]·.dynamic··········NOBITS··········00062bbc·000bb4·0000f0·08··WA··4···0··4 |
25 | ··[20]·.got··············NOBITS··········00062cac·000bb4·000354·04··WA··0···0··4 | 25 | ··[20]·.got··············NOBITS··········00062cac·000bb4·000354·04··WA··0···0··4 |
26 | ··[21]·.data·············NOBITS··········00063000·000bb4·000c38·00··WA··0···0·32 | 26 | ··[21]·.data·············NOBITS··········00063000·000bb4·000c38·00··WA··0···0·32 |
27 | ··[22]·.bss··············NOBITS··········00063c40·000bb4·000944·00··WA··0···0·32 | 27 | ··[22]·.bss··············NOBITS··········00063c40·000bb4·000944·00··WA··0···0·32 |
28 | ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··1 | 28 | ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··1 |
29 | ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b3·00···C··0···0··4 | 29 | ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b3·00···C··0···0··4 |
30 | ··[25]·.debug_info·······PROGBITS········00000000·00024c·03e1c | 30 | ··[25]·.debug_info·······PROGBITS········00000000·00024c·03e1c6·00···C··0···0··4 |
31 | ··[26]·.debug_abbrev·····PROGBITS········00000000·03e41 | 31 | ··[26]·.debug_abbrev·····PROGBITS········00000000·03e414·00042b·00···C··0···0··4 |
32 | ··[27]·.debug_line·······PROGBITS········00000000·03e84 | 32 | ··[27]·.debug_line·······PROGBITS········00000000·03e840·01fdf5·00···C··0···0··4 |
33 | ··[28]·.debug_line_str···PROGBITS········00000000·05e6 | 33 | ··[28]·.debug_line_str···PROGBITS········00000000·05e638·0001c4·01·MSC··0···0··4 |
34 | ··[29]·.debug_loclists···PROGBITS········00000000·05e | 34 | ··[29]·.debug_loclists···PROGBITS········00000000·05e7fc·036bb6·00···C··0···0··4 |
35 | ··[30]·.debug_rnglists···PROGBITS········00000000·0953 | 35 | ··[30]·.debug_rnglists···PROGBITS········00000000·0953b4·009914·00···C··0···0··4 |
36 | ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ec | 36 | ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ecc8·000050·00······0···0··1 |
37 | ··[32]·.symtab···········SYMTAB··········00000000·09ed | 37 | ··[32]·.symtab···········SYMTAB··········00000000·09ed18·003e20·10·····33·783··4 |
38 | ··[33]·.strtab···········STRTAB··········00000000·0a2b | 38 | ··[33]·.strtab···········STRTAB··········00000000·0a2b38·0059c6·00······0···0··1 |
39 | ··[34]·.shstrtab·········STRTAB··········00000000·0a8 | 39 | ··[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) |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | Displaying·notes·found·in:·.note.gnu.build-id | 1 | Displaying·notes·found·in:·.note.gnu.build-id |
2 | ··Owner················Data·size·» Description | 2 | ··Owner················Data·size·» Description |
3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:· | 3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·7dd58dd8e766396d0d6c831cb64d35cc479fa3df |
Offset 1, 11 lines modified | Offset 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:········0x7228 | 3 | ···Length:········0x72281·(32-bit) |
4 | ···Version:·······5 | 4 | ···Version:·······5 |
5 | ···Unit·Type:·····DW_UT_compile·(1) | 5 | ···Unit·Type:·····DW_UT_compile·(1) |
6 | ···Abbrev·Offset:·0 | 6 | ···Abbrev·Offset:·0 |
7 | ···Pointer·Size:··4 | 7 | ···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 modified | Offset 12569, 91 lines modified | ||
12569 | ·<5><688e>:·Abbrev·Number:·0 | 12569 | ·<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)·0x26949 | 12571 | ····<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:·0 | 12573 | ·<4><6898>:·Abbrev·Number:·0 |
12574 | ·<3><6899>:·Abbrev·Number:·0 | 12574 | ·<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)·<0x52df | 12576 | ····<689b>···DW_AT_abstract_origin:·(ref_udata)·<0x52df4> |
12577 | ····<689e>···DW_AT_entry_pc····:·(addr)·0x2674a | 12577 | ····<689e>···DW_AT_entry_pc····:·(addr)·0x2674a |
12578 | ····<68a2>···DW_AT_GNU_entry_view:·(data2)·0 | 12578 | ····<68a2>···DW_AT_GNU_entry_view:·(data2)·0 |
12579 | ····<68a4>···DW_AT_ranges······:·(sec_offset)·0x6c83 | 12579 | ····<68a4>···DW_AT_ranges······:·(sec_offset)·0x6c83 |
12580 | ····<68a8>···DW_AT_call_file···:·(data1)·1 | 12580 | ····<68a8>···DW_AT_call_file···:·(data1)·1 |
12581 | ····<68a9>···DW_AT_call_line···:·(data2)·48633 | 12581 | ····<68a9>···DW_AT_call_line···:·(data2)·48633 |
12582 | ····<68ab>···DW_AT_call_column·:·(data1)·17 | 12582 | ····<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)·<0x52e2 | 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)·0xb3c | 12587 | ····<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)·<0x52e3 | 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)·0xb66 | 12591 | ····<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)·<0x52e0 | 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)·0xb93 | 12595 | ····<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)·<0x52e1 | 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)·0xbc4 | 12599 | ····<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)·<0x52e1 | 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)·0xbdc | 12603 | ····<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)·0x6c83 | 12605 | ····<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)·<0x52e4 | 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)·0xbfb | 12609 | ····<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)·<0x52e | 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)·0xc33 | 12613 | ····<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)·<0x52e5 | 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)·0xc6e | 12617 | ····<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)·<0x52e6 | 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)·0xc9c | 12621 | ····<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)·<0x52e7 | 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)·0xd39 | 12625 | ····<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)·<0x52e | 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)·0xda8 | 12629 | ····<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)·<0x52e8 | 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)·0xe62 | 12633 | ····<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)·<0x52e9 | 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)·0xf0d | 12637 | ····<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)·<0x52ea | 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)·0xf6a | 12641 | ····<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)·<0x52e | 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)·0xfcf | 12645 | ····<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)·<0x52eb | 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)·<0x52ec | 12649 | ····<696d>···DW_AT_abstract_origin:·(ref_udata)·<0x52ec1> |
12650 | ····<6970>···DW_AT_low_pc······:·(addr)·0x26824 | 12650 | ····<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)·<0x52ec | 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)·0x26759 | 12655 | ····<697d>···DW_AT_entry_pc····:·(addr)·0x26759 |
12656 | ····<6981>···DW_AT_GNU_entry_view:·(data2)·0 | 12656 | ····<6981>···DW_AT_GNU_entry_view:·(data2)·0 |
12657 | ····<6983>···DW_AT_low_pc······:·(addr)·0x26759 | 12657 | ····<6983>···DW_AT_low_pc······:·(addr)·0x26759 |
12658 | ····<6987>···DW_AT_high_pc·····:·(udata)·14 | 12658 | ····<6987>···DW_AT_high_pc·····:·(udata)·14 |
12659 | ····<6988>···DW_AT_call_file···:·(data1)·1 | 12659 | ····<6988>···DW_AT_call_file···:·(data1)·1 |
Offset 13196, 15 lines modified | Offset 13196, 15 lines modified | ||
13196 | ····<6f03>···DW_AT_call_return_pc:·(addr)·0x266bd | 13196 | ····<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)·0x266fd | 13199 | ····<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)·0x26883 | 13202 | ····<6f15>···DW_AT_call_return_pc:·(addr)·0x26883 |
13203 | ····<6f19>···DW_AT_call_origin·:·(ref_udata)·<0x4498 | 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 modified | Offset 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:·0 | 13225 | ·<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)·0x268ed | 13227 | ····<6f51>···DW_AT_call_return_pc:·(addr)·0x268ed |
Max diff block lines reached; 14306850/14315118 bytes (99.94%) of diff not shown. |
Offset 59518, 21 lines modified | Offset 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·pair | 59521 | ····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:·<0x260 | 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·pair | 59525 | ····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:·<0x260e | 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·pair | 59529 | ····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 modified | Offset 59616, 19 lines modified | ||
59616 | ····0002b3a1·v0000003·v0000000·location·view·pair | 59616 | ····0002b3a1·v0000003·v0000000·location·view·pair |
59617 | ····0002b3a3·v0000000·v0000000·location·view·pair | 59617 | ····0002b3a3·v0000000·v0000000·location·view·pair |
59618 | ····0002b3a5·v0000000·v0000001·location·view·pair | 59618 | ····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:·<0x2602 | 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:·<0x2602 | 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:·<0x2602 | 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·pair | 59627 | ····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 modified | Offset 75689, 37 lines modified | ||
75689 | ····0003735f·<End·of·list> | 75689 | ····0003735f·<End·of·list> |
75690 | ····00037360·v0000001·v0000000·location·view·pair | 75690 | ····00037360·v0000001·v0000000·location·view·pair |
75691 | ····00037362·v0000000·v0000000·location·view·pair | 75691 | ····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:·<0x336b | 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:·<0x336b | 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·pair | 75698 | ····00037380·v0000001·v0000000·location·view·pair |
75699 | ····00037382·v0000000·v0000000·location·view·pair | 75699 | ····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:·<0x336c | 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:·<0x336c | 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·pair | 75706 | ····000373a0·v0000001·v0000000·location·view·pair |
75707 | ····000373a2·v0000000·v0000000·location·view·pair | 75707 | ····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:·<0x336d | 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:·<0x336d | 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·pair | 75714 | ····000373c0·v0000000·v0000005·location·view·pair |
75715 | ····000373c2·v0000005·v0000000·location·view·pair | 75715 | ····000373c2·v0000005·v0000000·location·view·pair |
75716 | ····000373c4·v0000000·v0000000·location·view·pair | 75716 | ····000373c4·v0000000·v0000000·location·view·pair |
75717 | ····000373c6·0002d2f3·(base·address) | 75717 | ····000373c6·0002d2f3·(base·address) |
Offset 76969, 37 lines modified | Offset 76969, 37 lines modified | ||
76969 | ····00037f48·<End·of·list> | 76969 | ····00037f48·<End·of·list> |
76970 | ····00037f49·v0000001·v0000000·location·view·pair | 76970 | ····00037f49·v0000001·v0000000·location·view·pair |
76971 | ····00037f4b·v0000000·v0000000·location·view·pair | 76971 | ····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:·<0x3364 | 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:·<0x3364 | 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·pair | 76978 | ····00037f69·v0000001·v0000000·location·view·pair |
76979 | ····00037f6b·v0000000·v0000000·location·view·pair | 76979 | ····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:·<0x3365 | 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:·<0x3365 | 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·pair | 76986 | ····00037f89·v0000001·v0000000·location·view·pair |
76987 | ····00037f8b·v0000000·v0000000·location·view·pair | 76987 | ····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:·<0x3366 | 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:·<0x3366 | 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·pair | 76994 | ····00037fa9·v0000000·v0000005·location·view·pair |
76995 | ····00037fab·v0000005·v0000000·location·view·pair | 76995 | ····00037fab·v0000005·v0000000·location·view·pair |
76996 | ····00037fad·v0000000·v0000000·location·view·pair | 76996 | ····00037fad·v0000000·v0000000·location·view·pair |
76997 | ····00037faf·0002c25e·(base·address) | 76997 | ····00037faf·0002c25e·(base·address) |
Offset 91683, 32 lines modified | Offset 91683, 32 lines modified | ||
91683 | ····00041fe9·v0000004·v0000000·location·view·pair | 91683 | ····00041fe9·v0000004·v0000000·location·view·pair |
91684 | ····00041feb·v0000000·v0000000·location·view·pair | 91684 | ····00041feb·v0000000·v0000000·location·view·pair |
91685 | ····00041fed·v0000005·v0000004·location·view·pair | 91685 | ····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:·<0x3f5d | 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. |
Offset 1, 66 lines modified | Offset 1, 57 lines modified | ||
1 | 1 | GCC:·(Debian·14.2.0-16)·14.2.0 | |
2 | 2 | ")gOrV/. | |
3 | sG\)gM*> | ||
4 | y.GC+» :H | ||
5 | k(Aqs1M^ | ||
3 | Gy}_H(V6 | 6 | 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~kZJWg1e1 | 52 | 7j~kZJWg1e1 |
62 | VUdv%?ZTX | 53 | VUdv%?ZTX |
63 | EpWOF}#%O | 54 | EpWOF}#%O |
64 | !-</Qb-* | 55 | !-</Qb-* |
65 | w?=Jc$@0 | 56 | w?=Jc$@0 |
66 | [eZf&)@T | 57 | [eZf&)@T |
Offset 109, 50 lines modified | Offset 100, 55 lines modified | ||
109 | fk.+(Sl> | 100 | fk.+(Sl> |
110 | 8c~x8$;P8 | 101 | 8c~x8$;P8 |
111 | $52pR:51 | 102 | $52pR:51 |
112 | 2*cYFlX' | 103 | 2*cYFlX' |
113 | j}h6-L'@ | 104 | j}h6-L'@ |
114 | "Z@`gU^7 | 105 | "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. |
Offset 6, 15 lines modified | Offset 6, 15 lines modified | ||
6 | ··OS/ABI:····························UNIX·-·System·V | 6 | ··OS/ABI:····························UNIX·-·System·V |
7 | ··ABI·Version:·······················0 | 7 | ··ABI·Version:·······················0 |
8 | ··Type:······························DYN·(Shared·object·file) | 8 | ··Type:······························DYN·(Shared·object·file) |
9 | ··Machine:···························Intel·80386 | 9 | ··Machine:···························Intel·80386 |
10 | ··Version:···························0x1 | 10 | ··Version:···························0x1 |
11 | ··Entry·point·address:···············0x0 | 11 | ··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:··········6816 | 13 | ··Start·of·section·headers:··········681672·(bytes·into·file) |
14 | ··Flags:·····························0x0 | 14 | ··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:·········9 | 17 | ··Number·of·program·headers:·········9 |
18 | ··Size·of·section·headers:···········40·(bytes) | 18 | ··Size·of·section·headers:···········40·(bytes) |
19 | ··Number·of·section·headers:·········35 | 19 | ··Number·of·section·headers:·········35 |
20 | ··Section·header·string·table·index:·34 | 20 | ··Section·header·string·table·index:·34 |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | There·are·35·section·headers,·starting·at·offset·0xa66 | 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·Al | 3 | ··[Nr]·Name··············Type············Addr·····Off····Size···ES·Flg·Lk·Inf·Al |
4 | ··[·0]···················NULL············00000000·000000·000000·00······0···0··0 | 4 | ··[·0]···················NULL············00000000·000000·000000·00······0···0··0 |
5 | ··[·1]·.note.gnu.build-id·NOTE············00000154·000154·000024·00···A··0···0··4 | 5 | ··[·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··4 | 6 | ··[·2]·.gnu.hash·········NOBITS··········00000178·000178·000024·04···A··3···0··4 |
7 | ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d20·10···A··4···1··4 | 7 | ··[·3]·.dynsym···········NOBITS··········0000019c·000178·000d20·10···A··4···1··4 |
Offset 23, 22 lines modified | Offset 23, 22 lines modified | ||
23 | ··[18]·.fini_array·······NOBITS··········00061bc0·000bbc·000004·04··WA··0···0··4 | 23 | ··[18]·.fini_array·······NOBITS··········00061bc0·000bbc·000004·04··WA··0···0··4 |
24 | ··[19]·.dynamic··········NOBITS··········00061bc4·000bbc·0000f0·08··WA··4···0··4 | 24 | ··[19]·.dynamic··········NOBITS··········00061bc4·000bbc·0000f0·08··WA··4···0··4 |
25 | ··[20]·.got··············NOBITS··········00061cb4·000bbc·00034c·04··WA··0···0··4 | 25 | ··[20]·.got··············NOBITS··········00061cb4·000bbc·00034c·04··WA··0···0··4 |
26 | ··[21]·.data·············NOBITS··········00062000·000bbc·000c38·00··WA··0···0·32 | 26 | ··[21]·.data·············NOBITS··········00062000·000bbc·000c38·00··WA··0···0·32 |
27 | ··[22]·.bss··············NOBITS··········00062c40·000bbc·000944·00··WA··0···0·32 | 27 | ··[22]·.bss··············NOBITS··········00062c40·000bbc·000944·00··WA··0···0·32 |
28 | ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··1 | 28 | ··[23]·.comment··········PROGBITS········00000000·000178·00001f·01··MS··0···0··1 |
29 | ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b1·00···C··0···0··4 | 29 | ··[24]·.debug_aranges····PROGBITS········00000000·000198·0000b1·00···C··0···0··4 |
30 | ··[25]·.debug_info·······PROGBITS········00000000·00024c·03d2 | 30 | ··[25]·.debug_info·······PROGBITS········00000000·00024c·03d251·00···C··0···0··4 |
31 | ··[26]·.debug_abbrev·····PROGBITS········00000000·03d4 | 31 | ··[26]·.debug_abbrev·····PROGBITS········00000000·03d4a0·000422·00···C··0···0··4 |
32 | ··[27]·.debug_line·······PROGBITS········00000000·03d8 | 32 | ··[27]·.debug_line·······PROGBITS········00000000·03d8c4·01fb39·00···C··0···0··4 |
33 | ··[28]·.debug_line_str···PROGBITS········00000000·05d4 | 33 | ··[28]·.debug_line_str···PROGBITS········00000000·05d400·0001c3·01·MSC··0···0··4 |
34 | ··[29]·.debug_loclists···PROGBITS········00000000·05d5 | 34 | ··[29]·.debug_loclists···PROGBITS········00000000·05d5c4·03614b·00···C··0···0··4 |
35 | ··[30]·.debug_rnglists···PROGBITS········00000000·0937 | 35 | ··[30]·.debug_rnglists···PROGBITS········00000000·093710·00972a·00···C··0···0··4 |
36 | ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ce | 36 | ··[31]·.gnu_debugaltlink·PROGBITS········00000000·09ce3a·000050·00······0···0··1 |
37 | ··[32]·.symtab···········SYMTAB··········00000000·09ce | 37 | ··[32]·.symtab···········SYMTAB··········00000000·09ce8c·003dd0·10·····33·780··4 |
38 | ··[33]·.strtab···········STRTAB··········00000000·0a0c | 38 | ··[33]·.strtab···········STRTAB··········00000000·0a0c5c·00590d·00······0···0··1 |
39 | ··[34]·.shstrtab·········STRTAB··········00000000·0a65 | 39 | ··[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) |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | Displaying·notes·found·in:·.note.gnu.build-id | 1 | Displaying·notes·found·in:·.note.gnu.build-id |
2 | ··Owner················Data·size·» Description | 2 | ··Owner················Data·size·» Description |
3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:· | 3 | ··GNU··················0x00000014» NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·621de264edd278cc384da725741d49d9dc419162 |
Offset 1, 11 lines modified | Offset 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:········0x7071 | 3 | ···Length:········0x70711·(32-bit) |
4 | ···Version:·······5 | 4 | ···Version:·······5 |
5 | ···Unit·Type:·····DW_UT_compile·(1) | 5 | ···Unit·Type:·····DW_UT_compile·(1) |
6 | ···Abbrev·Offset:·0 | 6 | ···Abbrev·Offset:·0 |
7 | ···Pointer·Size:··4 | 7 | ···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 modified | Offset 12471, 91 lines modified | ||
12471 | ·<5><67ed>:·Abbrev·Number:·0 | 12471 | ·<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)·0x26a69 | 12473 | ····<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:·0 | 12475 | ·<4><67f7>:·Abbrev·Number:·0 |
12476 | ·<3><67f8>:·Abbrev·Number:·0 | 12476 | ·<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)·<0x524d | 12478 | ····<67fa>···DW_AT_abstract_origin:·(ref_udata)·<0x524d9> |
12479 | ····<67fd>···DW_AT_entry_pc····:·(addr)·0x2686a | 12479 | ····<67fd>···DW_AT_entry_pc····:·(addr)·0x2686a |
12480 | ····<6801>···DW_AT_GNU_entry_view:·(data2)·0 | 12480 | ····<6801>···DW_AT_GNU_entry_view:·(data2)·0 |
12481 | ····<6803>···DW_AT_ranges······:·(sec_offset)·0x6cd5 | 12481 | ····<6803>···DW_AT_ranges······:·(sec_offset)·0x6cd5 |
12482 | ····<6807>···DW_AT_call_file···:·(data1)·1 | 12482 | ····<6807>···DW_AT_call_file···:·(data1)·1 |
12483 | ····<6808>···DW_AT_call_line···:·(data2)·48633 | 12483 | ····<6808>···DW_AT_call_line···:·(data2)·48633 |
12484 | ····<680a>···DW_AT_call_column·:·(data1)·17 | 12484 | ····<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)·<0x525 | 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)·0xb3c | 12489 | ····<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)·<0x5251 | 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)·0xb66 | 12493 | ····<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)·<0x524e | 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)·0xb93 | 12497 | ····<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)·<0x524f | 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)·0xbc4 | 12501 | ····<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)·<0x5250 | 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)·0xbdc | 12505 | ····<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)·0x6cd5 | 12507 | ····<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)·<0x5252 | 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)·0xbfb | 12511 | ····<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)·<0x5253 | 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)·0xc33 | 12515 | ····<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)·<0x5254 | 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)·0xc6e | 12519 | ····<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)·<0x5254 | 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)·0xc9c | 12523 | ····<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)·<0x5255 | 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)·0xd39 | 12527 | ····<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)·<0x5256 | 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)·0xda8 | 12531 | ····<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)·<0x5257 | 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)·0xe62 | 12535 | ····<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)·<0x5257 | 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)·0xf0d | 12539 | ····<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)·<0x5258 | 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)·0xf6a | 12543 | ····<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)·<0x5259 | 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)·0xfcf | 12547 | ····<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)·<0x525 | 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)·<0x525a | 12551 | ····<68cc>···DW_AT_abstract_origin:·(ref_udata)·<0x525a6> |
12552 | ····<68cf>···DW_AT_low_pc······:·(addr)·0x26944 | 12552 | ····<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)·<0x525 | 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)·0x26879 | 12557 | ····<68dc>···DW_AT_entry_pc····:·(addr)·0x26879 |
12558 | ····<68e0>···DW_AT_GNU_entry_view:·(data2)·0 | 12558 | ····<68e0>···DW_AT_GNU_entry_view:·(data2)·0 |
12559 | ····<68e2>···DW_AT_low_pc······:·(addr)·0x26879 | 12559 | ····<68e2>···DW_AT_low_pc······:·(addr)·0x26879 |
12560 | ····<68e6>···DW_AT_high_pc·····:·(udata)·14 | 12560 | ····<68e6>···DW_AT_high_pc·····:·(udata)·14 |
12561 | ····<68e7>···DW_AT_call_file···:·(data1)·1 | 12561 | ····<68e7>···DW_AT_call_file···:·(data1)·1 |
Offset 13098, 15 lines modified | Offset 13098, 15 lines modified | ||
13098 | ····<6e62>···DW_AT_call_return_pc:·(addr)·0x267dd | 13098 | ····<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)·0x2681d | 13101 | ····<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)·0x269a3 | 13104 | ····<6e74>···DW_AT_call_return_pc:·(addr)·0x269a3 |
13105 | ····<6e78>···DW_AT_call_origin·:·(ref_udata)·<0x440b | 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 modified | Offset 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:·0 | 13127 | ·<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)·0x26a0d | 13129 | ····<6eb0>···DW_AT_call_return_pc:·(addr)·0x26a0d |
Max diff block lines reached; 14052525/14060793 bytes (99.94%) of diff not shown. |
Offset 58429, 21 lines modified | Offset 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·pair | 58432 | ····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:·<0x25ae | 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·pair | 58436 | ····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:·<0x25b | 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·pair | 58440 | ····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 modified | Offset 58527, 19 lines modified | ||
58527 | ····0002a7d5·v0000003·v0000000·location·view·pair | 58527 | ····0002a7d5·v0000003·v0000000·location·view·pair |
58528 | ····0002a7d7·v0000000·v0000000·location·view·pair | 58528 | ····0002a7d7·v0000000·v0000000·location·view·pair |
58529 | ····0002a7d9·v0000000·v0000001·location·view·pair | 58529 | ····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:·<0x25a5 | 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:·<0x25a5 | 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:·<0x25a5 | 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·pair | 58538 | ····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 modified | Offset 74445, 37 lines modified | ||
74445 | ····00036539·<End·of·list> | 74445 | ····00036539·<End·of·list> |
74446 | ····0003653a·v0000001·v0000000·location·view·pair | 74446 | ····0003653a·v0000001·v0000000·location·view·pair |
74447 | ····0003653c·v0000000·v0000000·location·view·pair | 74447 | ····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:·<0x330 | 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:·<0x330 | 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·pair | 74454 | ····0003655a·v0000001·v0000000·location·view·pair |
74455 | ····0003655c·v0000000·v0000000·location·view·pair | 74455 | ····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:·<0x330d | 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:·<0x330d | 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·pair | 74462 | ····0003657a·v0000001·v0000000·location·view·pair |
74463 | ····0003657c·v0000000·v0000000·location·view·pair | 74463 | ····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:·<0x330e | 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:·<0x330e | 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·pair | 74470 | ····0003659a·v0000000·v0000005·location·view·pair |
74471 | ····0003659c·v0000005·v0000000·location·view·pair | 74471 | ····0003659c·v0000005·v0000000·location·view·pair |
74472 | ····0003659e·v0000000·v0000000·location·view·pair | 74472 | ····0003659e·v0000000·v0000000·location·view·pair |
74473 | ····000365a0·0002cc8b·(base·address) | 74473 | ····000365a0·0002cc8b·(base·address) |
Offset 75740, 37 lines modified | Offset 75740, 37 lines modified | ||
75740 | ····00037152·<End·of·list> | 75740 | ····00037152·<End·of·list> |
75741 | ····00037153·v0000000·v0000000·location·view·pair | 75741 | ····00037153·v0000000·v0000000·location·view·pair |
75742 | ····00037155·v0000000·v0000000·location·view·pair | 75742 | ····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:·<0x3304 | 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:·<0x3304 | 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·pair | 75749 | ····00037173·v0000000·v0000000·location·view·pair |
75750 | ····00037175·v0000000·v0000000·location·view·pair | 75750 | ····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:·<0x3306 | 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:·<0x3306 | 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·pair | 75757 | ····00037193·v0000000·v0000000·location·view·pair |
75758 | ····00037195·v0000000·v0000000·location·view·pair | 75758 | ····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:·<0x3307 | 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:·<0x3307 | 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·pair | 75765 | ····000371b3·v0000000·v0000005·location·view·pair |
75766 | ····000371b5·v0000005·v0000000·location·view·pair | 75766 | ····000371b5·v0000005·v0000000·location·view·pair |
75767 | ····000371b7·v0000000·v0000000·location·view·pair | 75767 | ····000371b7·v0000000·v0000000·location·view·pair |
75768 | ····000371b9·0002bc17·(base·address) | 75768 | ····000371b9·0002bc17·(base·address) |
Offset 90525, 32 lines modified | Offset 90525, 32 lines modified | ||
90525 | ····0004130a·v0000004·v0000000·location·view·pair | 90525 | ····0004130a·v0000004·v0000000·location·view·pair |
90526 | ····0004130c·v0000000·v0000000·location·view·pair | 90526 | ····0004130c·v0000000·v0000000·location·view·pair |
90527 | ····0004130e·v0000005·v0000004·location·view·pair | 90527 | ····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:·<0x3ecf | 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. |
Offset 1, 66 lines modified | Offset 1, 58 lines modified | ||
1 | 1 | 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 | 2 | 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 | 35 | 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|K | 55 | ?U`@DCT|K |
64 | r(JuS}Xz | 56 | r(JuS}Xz |
65 | c» OD,aY3 | 57 | c» OD,aY3 |
66 | -l?a>VOrl | 58 | -l?a>VOrl |
Offset 113, 58 lines modified | Offset 105, 50 lines modified | ||
113 | s}kd}kd}kd}kP | 105 | 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~y | 111 | 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. |