Skip to Content
Numerical Computing with Python
book

Numerical Computing with Python

by Pratap Dangeti, Allen Yu, Claire Chung, Aldrin Yim
December 2018
Beginner to intermediate
682 pages
18h 1m
English
Packt Publishing
Content preview from Numerical Computing with Python

How it works...

It is typical to call read_html multiple times before arriving at the table (or tables) that you desire. There are two primary parameters at your disposal to specify a table, match and attrs. The string provided to match is used to find an exact match for the actual text in the table. This is text that will show up on the web page itself. The attrs parameter, on the other hand, searches for HTML table attributes found directly after the start of the table tag, <table. To see more of the table attributes, visit this page from W3 Schools (http://bit.ly/2hzUzdD).

Once we find our table in step 8, we can still take advantage of some other parameters to simplify things. HTML tables don't typically translate directly to nice DataFrames. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Numerical Computing with NumPy

Mastering Numerical Computing with NumPy

Umit Mert Cakmak, Tiago Antao, Mert Cuhadaroglu

Publisher Resources

ISBN: 9781789953633OtherOtherErrata Page