24.07.2016 Views

www.allitebooks.com

Learning%20Data%20Mining%20with%20Python

Learning%20Data%20Mining%20with%20Python

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Preface<br />

Conventions<br />

In this book, you will find a number of text styles that distinguish between different<br />

kinds of information. Here are some examples of these styles and an explanation of<br />

their meaning.<br />

The most important is code. Code that you need to enter is displayed separate from<br />

the text, in a box like this one:<br />

if True:<br />

print("Wel<strong>com</strong>e to the book")<br />

Keep a careful eye on indentation. Python cares about how much lines are indented.<br />

In this book, I've used four spaces for indentation. You can use a different number<br />

(or tabs), but you need to be consistent. If you get a bit lost counting indentation<br />

levels, reference the code bundle that <strong>com</strong>es with the book.<br />

Where I refer to code in text, I'll use this format. You don't need to type this in<br />

your IPython Notebooks, unless the text specifically states otherwise.<br />

Any <strong>com</strong>mand-line input or output is written as follows:<br />

# cp file1.txt file2.txt<br />

New terms and important words are shown in bold. Words that you see on<br />

the screen, for example, in menus or dialog boxes, appear in the text like this:<br />

"Click on the Export link."<br />

Warnings or important notes appear in a box like this.<br />

Tips and tricks appear like this.<br />

[ xii ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!