Full download Data Visualization with Python and JavaScript Scrape Clean Explore Transform Your Data 1st Edition Kyran Dale pdf docx
Full download Data Visualization with Python and JavaScript Scrape Clean Explore Transform Your Data 1st Edition Kyran Dale pdf docx
com
https://ebookname.com/product/data-visualization-with-
python-and-javascript-scrape-clean-explore-transform-your-
data-1st-edition-kyran-dale/
OR CLICK HERE
DOWLOAD NOW
https://ebookname.com/product/python-data-visualization-cookbook-
milovanovic/
ebookname.com
https://ebookname.com/product/managing-your-biological-data-with-
python-1st-edition-via/
ebookname.com
https://ebookname.com/product/pro-data-visualization-using-r-and-
javascript-1st-edition-tom-barker/
ebookname.com
https://ebookname.com/product/play-therapy-with-adults-1st-edition-
charles-e-schaefer/
ebookname.com
https://ebookname.com/product/the-stone-campbell-movement-a-global-
history-1st-edition-douglas-a-foster/
ebookname.com
https://ebookname.com/product/the-law-of-inheritance-2nd-edition-
yasser-abdellatif/
ebookname.com
https://ebookname.com/product/criminal-law-5th-edition-john-m-scheb/
ebookname.com
https://ebookname.com/product/rockdale-the-growth-of-an-american-
village-in-the-early-industrial-revolution-anthony-f-c-wallace/
ebookname.com
Art Literature and the Japanese American Internment On
John Okada s No No Boy 1st Edition Thomas Girst
https://ebookname.com/product/art-literature-and-the-japanese-
american-internment-on-john-okada-s-no-no-boy-1st-edition-thomas-
girst/
ebookname.com
Data Visualization with
Python and JavaScript
Scrape, Clean, Explore &
Transform Your Data
Kyran Dale
Data Visualization with Python and JavaScript
by Kyran Dale
Copyright © 2016 Kyran Dale. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway
North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business,
or sales promotional use. Online editions are also available
for most titles (http://oreilly.com/safari). For more
information, contact our corporate/institutional sales
department: 800-998-9938 or [email protected].
Editors: Dawn Schanafelt and
Meghan Blanchette
See http://oreilly.com/catalog/errata.csp?
isbn=9781491920510 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media,
Inc. Data Visualization with Python and JavaScript, the cover
image, and related trade dress are trademarks of O’Reilly
Media, Inc.
While the publisher and the author have used good faith
efforts to ensure that the information and instructions
contained in this work are accurate, the publisher and the
author disclaim all responsibility for errors or omissions,
including without limitation responsibility for damages
resulting from the use of or reliance on this work. Use of the
information and instructions contained in this work is at
your own risk. If any code samples or other technology this
work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is
your responsibility to ensure that your use thereof complies
with such licenses and/or rights.
978-1-491-92051-0
[LSI]
Preface
Italic
Indicates new terms, URLs, email addresses, filenames,
and file extensions.
Constant width
Used for program listings, as well as within paragraphs
to refer to program elements such as variable or
function names, databases, datatypes, environment
variables, statements, and keywords.
Constant width bold
Shows commands or other text that should be typed
literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied
values or by values determined by context.
TIP
This element signifies a tip or suggestion.
NOTE
This element signifies a general note.
WARNING
This element indicates a warning or caution.
Using Code Examples
Supplemental material (code examples, exercises, etc.) is
available for download at https://github.com/Kyrand/dataviz-
with-python-and-js.
This book is here to help you get your job done. In general,
if example code is offered with this book, you may use it in
your programs and documentation. You do not need to
contact us for permission unless you’re reproducing a
significant portion of the code. For example, writing a
program that uses several chunks of code from this book
does not require permission. Selling or distributing a CD-
ROM of examples from O’Reilly books does require
permission. Answering a question by citing this book and
quoting example code does not require permission.
Incorporating a significant amount of example code from
this book into your product’s documentation does require
permission.
We appreciate, but do not require, attribution. An attribution
usually includes the title, author, publisher, and ISBN. For
example: “Data Visualization with Python and JavaScript by
Kyran Dale (O’Reilly). Copyright 2016 Kyran Dale, 978-1-
491-92051-0.”
If you feel your use of code examples falls outside fair use
or the permission given above, feel free to contact us at
[email protected].
O’Reilly Safari
NOTE
Safari (formerly Safari Books Online) is a membership-based
training and reference platform for enterprise, government,
educators, and individuals.
Members have access to thousands of books, training
videos, Learning Paths, interactive tutorials, and curated
playlists from over 250 publishers, including O’Reilly Media,
Harvard Business Review, Prentice Hall Professional,
Addison-Wesley Professional, Microsoft Press, Sams, Que,
Peachpit Press, Adobe, Focal Press, Cisco Press, John Wiley &
Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt,
Adobe Press, FT Press, Apress, Manning, New Riders,
McGraw-Hill, Jones & Bartlett, and Course Technology,
among others.
For more information, please visit http://oreilly.com/safari.
How to Contact Us
Please address comments and questions concerning this
book to the publisher:
O’Reilly Media, Inc.
Sebastopol, CA 95472
707-829-0104 (fax)
NOTE
If you’re reading this, I’d love to hear any feedback you have. Please
post it to [email protected]. Thanks a lot.
You’ll also find a working copy of the Nobel visualization the book
literally and figuratively builds toward at
http://kyrandale.com/static/pyjsdataviz/index.html.
62. See infra the two sections (II. and III.) immediately following.
Thus £2 per fee was taken in 1346 at the knighting of the Black
Prince. A Statute of Edward III.[116] at last extended to the Crown
the same measure of “reasonableness” as had been applied three-
quarters of a century earlier to mesne lords. The last instances of
the exaction of aids in England occur as late as the reign of James I.,
who, in 1609, demanded one for the knighting of the ill-fated Prince
Henry, and in 1613 another for the marriage of his daughter
Elizabeth to the Prince of Orange.
III. Suit and Service. This phrase expresses the essential
obligations inherent in the very nature of the feudal relation. It may
be expanded (as regards tenure in chivalry) into the duty of
attendance at the lord’s court, whether it met for administrative or
judicial purposes, or for reasons of mere display, and the further
duty of military service under that lord’s banner in the field. Suit, or
attendance at court, had ceased to be an urgent question before the
reign of John. Indeed, the barons, far from objecting to be present
there, were gradually approaching the modern conception, which
regards it as a privilege rather than a burden to attend the commune
concilium—the embryo Parliament—of the King. They urged, in
especial, that only in a full feudal court, at which each great Crown
tenant had a right to appear, could any one of their number be
judged in a plea involving loss of lands or of personal status.[117]
It was far otherwise with the duties of military service, which were
rendered every year more unwillingly, partly because of the
increased frequency of warlike expeditions, partly because of the
greater cost of campaigning in distant lands like Poitou, partly
because the English barons were completely out of sympathy with
John’s foreign policy and with him. We have seen that the want of
definition and looseness of practice in the reign of William the
Conqueror left to future ages a legacy fertile in disputes. William I.
and his barons lived in the present; and the present did not urgently
call for definition. Therefore, the exact duration of the military
service to be rendered, and the exact conditions (if any) on which
exemption could be claimed, were left originally quite vague. Such
carelessness is easily explained. Both Crown and barons hoped that
by leaving matters undefined, they would be able to alter them to
their own advantage. This policy was sure to lead to bitter quarrels
in the future, but circumstances delayed their outbreak. The
magnates at first readily followed William to the field wherever he
went, since their interests were identical with his, while warfare was
their normal occupation.
The exact amount of military service was gradually fixed by
custom, and both sides acquiesced in reckoning the return due
(servitium debitum) for each knight’s fee or scutum as the service of
one fully armed horseman during forty days. There were still,
however, innumerable minor points on which disputes might arise,
and these remained even in 1215. Indeed, although several chapters
of the Great Charter attempted to settle certain of these disputed
points, others were left as bones of contention to subsequent reigns:
for example, the exact equipment of a knight; the liability to serve
for more than forty days on receiving pay for the extra time; what
extent of exemption (if any) might be claimed by churchmen holding
baronies on the ground that they could not fight in person; how far
a tenant might compromise for actual service by tendering money;
whether attendance and money might not both be refused, if the
King did not lead his forces in person; and whether service was
equally due from all estates for foreign wars as for home ones.[118]
Such difficulties were increased, as time went on, rather than
removed. The Conqueror’s followers had possessed, like their lord,
estates on both sides of the Channel: his wars were theirs. Before
John’s reign, these simple relations had become complicated by two
considerations. By forfeitures and the division of inheritances
between sons of one father, holders of English fiefs and holders of
Norman fiefs had become distinct; the English barons had in 1213
nothing at stake in the Crown’s selfish schemes of aggrandisement
or defence. The England of John Lackland, like the England of
William of Orange, objected to be entangled in foreign wars in the
interests of foreign possessions of the King. On the other hand, the
gradual expansion of the dominions of the wearers of the English
Crown increased the number of their wars with the number of their
interests, and increased, too, the trouble and expense of each
expedition. The small wars with Wales and Scotland formed a
sufficient drain on the resources of English magnates without their
being summoned in intermediate years to fight in Maine or Gascony.
The greater number of campaigns might well be reckoned a breach
of the spirit of the original agreement.
Were the barons bound to follow John in a forlorn attempt, of
which they disapproved, to recover his lost fiefs from the French
Crown? Or were they bound to support him only in his legitimate
schemes as King of England? Or were they, by way of compromise,
liable for services in the identical possessions held by William the
Conqueror at the date when their ancestors first got their fiefs—that
is, for wars in England and Normandy alone? Tenderness for legal
subtleties or strict logic could hardly be expected from the
malcontents of the northern counties, smarting under a dumb sense
of wrong. Despising all nice definition, they declared roundly in 1213
that they owed no service whatsoever out of England.[119] This
extreme claim put them clearly in the wrong, since John had many
precedents to the contrary ready to lay before them. When the King,
on his return from his unfortunate expedition in 1214, demanded a
scutage from all who had not followed him to Poitou, the
malcontents declared that they had no obligation either to follow
him out of the kingdom, or to pay a scutage in lieu thereof.[120] Pope
Innocent was probably correct in condemning this contention as
founded neither on English law nor on feudal custom.[121] There is
some ground for believing that a compromise was mooted on the
basis that the barons should agree to serve in Normandy and
Brittany, as well as in England, on being exempted from fighting
elsewhere abroad.[122]
A definite understanding on this vital question was never arrived
at—not even on paper, since chapter 16 of Magna Carta contented
itself with the bald provision that existing services were not to be
increased (without defining what these were). This was merely to
shelve the difficulty: the dispute went on under varying forms and
led to a violent clashing of wills in the unseemly wrangle between
Edward I. and his Constable and Marshal, dramatized in a classic
passage by Walter of Hemingburgh.[123] Strangely enough, the
Confirmatio Cartarum of 1297, which was, in part, the outcome of
this later quarrel, omits (like Magna Carta itself)[124] all reference to
foreign service. The total omission from both charters of all mention
of the chief cause of dispute is noteworthy. It must be remembered,
however, that the question of liability to serve abroad had practically
resolved itself into that of liability to scutage, and that chapters 12
and 14 of the Charter of 1215 provided an adequate check on the
levy of all scutages; but this is a subject of crucial importance, which
requires separate and detailed treatment.
IV. Scutage. The Crown did not always insist on actual personal
service, but was frequently willing to accept a commutation in the
form of a money payment. This subject of scutage is one of the
most vexed of questions; all received opinions of yesterday having
to-day been thrown into the melting pot. Serious attempts
constructively to restate the whole subject have hardly been made;
and no conclusions have yet received general acceptance.
Three modifications, however, of the theories of Stubbs and
Freeman, once universally accepted, seem likely to be soon
established: (1) that “scutage” is an ambiguous term with a vague
general meaning as well as a narrow technical meaning; (2) that the
importance of the changes introduced by Henry II. in 1156 and 1159
has been much exaggerated; and (3) that at a later time, probably
during John’s reign, scutage changed its character. It ceased to be
normally a commutation of service, since it was not infrequently
exacted by the Crown in addition to military service actually
performed. Each of these propositions requires explanation.
“Scutagium,” or “shield-money,” often means, it is true, a specific
sum of so much per knight’s fee (normally twenty shillings) accepted
by the King in lieu of the personal service in his army due by his
tenants in capite. Thus it is, as Dr. Stubbs explains, “an honourable
commutation for personal service”;[125] but it is also loosely used[126]
to denote any exaction whatsoever assessed on a feudal basis (that
is, taken exclusively from holders of fiefs) irrespective of the
occasion of its levy. Thus, money taken in name of one of the three
feudal aids is sometimes described as a scutage; and other instances
might be cited.
Again, learned opinion tends towards the belief that Henry II.
made no radical or startling alteration. Professor Freeman, Dr.
Stubbs, and their adherents familiarized a bygone generation of
historians with the view that one of Henry’s most important reforms
was to allow his Crown tenants at their discretion to substitute
payments in money for the old obligation of personal service in the
field—this option being granted to ecclesiastics in 1156, and to lay
barons in 1159. Such a theory had a priori much to recommend it. A
measure of this nature, while giving volume and elasticity to the
resources of the Crown, was calculated subtly to undermine the
basis of the feudal tie; but Henry, farseeing statesman as he was,
could not discard the ideals of his own generation. No evidence that
he made any sweeping change is forthcoming. His grandfather,
Henry I., is shown by the evidence of extant charters to have
accepted money in place of the services of knights when it suited
him (notably from church fiefs in 1109),[127] and there is no evidence
(direct or indirect) to show that the grandson accepted such
commutation when it did not suit him. The conclusions formulated,
with his usual energy, by Mr. J. Horace Round, lie implicitly in the
examples from the Pipe Rolls stored in the great work of Madox.
From these it would appear that the procedure of the Exchequer of
the great Angevin and his two sons might be explained in some such
propositions as these:
(a) The option to convert service into scutage lay with the Crown,
and not with the tenants, either individually or as a body. When the
King summoned his feudal army no baron could (as Professor
Freeman would have us believe) simply stay away under obligation
of paying a small fixed sum to the Exchequer. On the contrary, Henry
and his sons jealously preserved the right to insist on personal
service whenever it suited them; even efficient substitutes were not
always accepted, much less money payments.
(b) If the individual wished to stay at home he required to make a
special bargain to pay such fine as the King agreed to accept—and
sometimes he had to send a substitute in addition. The Pipe Rolls
show many such payments by stay-at-homes ne transfretent or pro
remanendo ab exercitu. Thus, in the twelfth year of John’s reign a
Crown tenant paid a fine “that he might send two knights to serve
for him in the army of Ireland.”[128]
Sometimes, indeed, Henry II. might announce that payments at a
certain rate would be accepted generally in lieu of service, but this
was when it suited him, not when it suited his military tenants. In
this connection twenty shillings per fee became recognized as a
usual, though by no means a necessary, rate.
(c) In the ordinary case, if the tenant in chivalry neither went in
person nor obtained leave from the Crown to stay away, he was in
evil plight. Defaulters were “in mercy”; they sometimes forfeited
their entire estates to the Crown,[129] and might be glad to accept
such terms of pardon as a gracious King condescended to hold out
to them. Sometimes, it is true, quite small amercements were
inflicted; the Abbot of Pershore in 1196 escaped with an
amercement of 40s.[130] Such leniency, however, was exceptional,
and the result of special royal clemency.
The right to determine the amount of amercements to be taken
lay within the province of the Barons of the Exchequer, who also
judged whether or not lands had escheated by default.
Henry II. seems to have levied money in name of scutage only
when actually at war—on seven occasions in all during a reign of
thirty-five years; and only once at a rate exceeding 20s., if we may
trust Mr. Round,[131] and that when he was putting forth a special
effort against Toulouse. Richard I., with all his rapaciousness, levied,
apparently, only four scutages during ten years, and the rate of 20s.
was never exceeded even in the King’s hour of urgent need,—in
1194, when the arrears of his ransom had to be paid and
preparations simultaneously made for war in Normandy.
At John’s accession, then, three rules might be regarded as having
all the prescriptive force of a long unbroken tradition, namely, (1)
that scutage was a reserve for extraordinary emergencies, not a
normal yearly burden; (2) that the recognized maximum was 20s.
per knight’s fee, while a lower rate (13s.4d. and even 10s.) had
occasionally been accepted; and (3) that the payment of scutage to
the King at a rate previously fixed by him acted as a complete
discharge of all obligations due for that occasion.
If it can be proved that John, almost from his accession,
deliberately altered all three of these well-established rules, and that
too in the teeth of the keen opposition of a high-spirited baronage
whose members felt that their pride and prestige as well as their
money-bags were attacked, a distinct step is taken towards
understanding the crisis of 1215. Such knowledge would explain why
a storm, long brewing, burst in John’s reign, neither sooner nor
later; and even why some of the disreputable stories told by the
chroniclers and accepted by Blackstone and others, found inventors
and willing believers.
It is here maintained that John did make changes in all three
directions; and, further, that the incidence of this increase in feudal
burdens was rendered even more unendurable by two
considerations:—because at his accession there remained unpaid
(particularly from the fiefs of the northern knights) large arrears of
the scutages imposed in his brother’s reign,[132] and because in June,
1212, John drew the feudal chain tight by a drastic and galling
measure. In that month he instituted a strict inquest into the
amount of feudal service exigible from every estate in England, to
prevent any dues escaping his wide net, and to revive all services
and payments that had lapsed or were in danger of lapsing.
That he made the first two changes becomes a certainty from a
glance at the table of scutages actually extorted during his reign, as
these are here copied from a list compiled by a writer of authority
who has no special theory to support,[133] viz.:
First scutage of reign— 1198- 2 marks per knight’s fee.
9—
Second " " 1200- 2 " "
1
Third " " 1201- 2 " "
2
Fourth " " 1202- 2 " "
3
Fifth " " 1203- 2 " "
4
Sixth " " 1204- 2 " "
5
Seventh " " 1205- 20s. "
6
Eighth " " 1209- 2 marks "
10
Ninth " " 1210- 2 " "
11
Tenth " " 1210- 20s. "
11
Eleventh " " 1213- 3 marks "
14
It will be seen that, in the very first year of his reign, John took a
scutage, and that, too, at a rate above the established normal, at
two marks per scutum (only once equalled, thirty years before, and
then under special circumstances). Even one such exaction must
have made the already sulky Crown tenants look askance.
Next year John wisely allowed them breathing space; then without
a break in each of the third, fourth, fifth, sixth and seventh years of
his reign, scutages were extorted in quick succession at the high rate
of two marks. If John meant to establish this as a new normal rate,
he did so not without some show of reason, since that would exactly
pay the wages of a knight at 8d. per diem (the rate then current),
for a period of forty days (the exact term recognized by public
opinion as the maximum of compulsory feudal service).
Fines, in addition to this scutage of two marks, were apparently
exacted from those who had not made the necessary compromise
for personal service in due time.[134]
These scutages were collected with increasing difficulty, and
arrears gradually accumulated; but the spirit of opposition increased
even more rapidly. In 1206, apparently, the breaking point was
almost reached.[135] Accordingly, in that year, some slight relaxation
was allowed—the annual scutage was reduced from two marks to
20s. John’s needs, however, were as great as ever, and would
prevent all further concessions in future years, unless something
untoward happened. Something untoward did happen in the
summer of 1207, when John quarrelled with the Pope. This event
came in time, not as John thought to prevent, but, as the sequel
proved, merely to postpone, the crisis of the quarrel with the
baronage. John had, for the time being, the whole of the confiscated
property of the clergy in his clutches. The day of reckoning for this
luxury was still far distant, and the King could meanwhile enjoy a full
exchequer without goading his Crown tenants to rebellion. For three
years no scutage was imposed. In 1209, however, financial needs
again closed in on John, and a new scutage of two marks was
levied; followed in the next year actually by two scutages, the first of
two marks against Wales, and the second of 20s. against Scotland.
John never knew when to stop. These three levies, amounting to a
total of five-and-a-half marks per fee within two years, strained the
tension almost to breaking point.
During the two financial years immediately following (Michaelmas,
1211, to Michaelmas, 1213) no scutage was imposed. John,
however, although he thus a second time relaxed the tension, had
no intention to do so for long. On the contrary, he determined to
ascertain if scutages could not be made to yield more in the future.
By writs, dated 1st June, 1212, he instituted a great Inquest
throughout the land. Commissioners were appointed to take sworn
verdicts of local juries as to the amount of liability due by each
Crown vassal. Mr. Round[136] considers that previous writers have
unaccountably ignored the importance of this measure, “an Inquest
worthy to be named in future by historians in conjunction with those
of 1086 and 1166,”[137] and describes it as an effort “to revive rights
of the Crown alleged to have lapsed.” It is possible that John, by this
Inquest of 1212, sought also (unsuccessfully, as the sequel proved)
to do what Henry had done successfully in 1166—that is, to increase
the amount of knights’ fees on which each Crown tenant’s scutage
was assessed by adding to the previous total the number of knights
recently enfeoffed.
John clearly intended by this Inquest, the returns to which were
due on the 25th June, 1212, to prepare the necessary machinery for
wringing the uttermost penny out of the next scutage when occasion
for one again arose. That occasion came in 1214.
Up to this date, even John had not dared to exact a rate of more
than two marks per knight’s fee; but the weight of his constant
scutages had been increased by the fact that he sometimes exacted
personal services in addition, and that he inflicted crushing fines
upon those who neither went nor arranged beforehand terms of
composition with the King.[138]
Thus gradually and insidiously throughout the entire reign of John,
the stream of feudal obligations by many different channels steadily
rose until the barons feared that nothing of their property would be
saved from the torrent. The normal rate of scutage had been raised,
the frequency of its imposition had been increased, the conditions of
foreign service had become more burdensome, and the objects of
foreign expeditions more unpopular; while attempts were sometimes
made to exact both service and scutage in the same year. The limit
of the barons’ endurance was reached when, on 26th May, 1214,
John, already discredited by his unsuccessful expeditions in Poitou,
soon to be followed by the utter overthrow of his allies at Bouvines,
issued writs for a scutage at the unheard-of rate of three marks,
grounded doubtless on the inquest of 1212 and unusually far-
reaching in the subjects which it embraced.[139]
Then the final crash came; this writ was like a call to arms—a call
not to follow the King’s banner, but to fight against him.
73. See Littleton, II. ix. s. 159. With this may be compared the
definition given in chapter 37 of Magna Carta, where John speaks of
land thus held by a vassal as “quam tenet de nobis per servitium
reddendi nobis cultellos, vel sagittas vel hujusmodi.”
80. It has been well described by Pollock and Maitland (I. 294) as
“the great residuary tenure.” In Scotland the “residuary tenure” is
not socage but “feu” (resembling the English fee-farm). Holdings in
feu are still familiar to Scots lawyers. They are originated by a formal
charter, followed by registration (the modern equivalent of
infeftment or feudal investiture), thus preserving an unbroken
connection with the feudal conveyancing of the Middle Ages.
86. See infra, under c.2, for the steps in the gradual process
whereby this evil was redressed.
97. What these were may be read in the Pipe Rolls, e.g., in that of
14 Henry II., when the Bishopric of Lincoln was vacant.
104. p. 437.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com