Skip to Content
Practical Time Series Analysis
book

Practical Time Series Analysis

by PKS Prakash, Avishek Pal
September 2017
Beginner
244 pages
5h 20m
English
Packt Publishing
Content preview from Practical Time Series Analysis

Strings

Strings are iterables of 8-bit characters in Python 2.x and Unicode characters in Python 3.x. Strings can be declared in multiple ways, some of which are shown in the following code snippet:

#string declarationsmystring = 'Practical Time Series'print(mystring)mystring = "Practical Time Series"print(mystring)mystring = """Practical Time Series"""print(mystring)mystring = '''Practical Time Series'''print(mystring)

All four of the preceding declarations result in the same string and the print function in each case gives the same output:

Practical Time Series

Strings are objects of type class, str, and support several functions that make string handling easy. We have shown a few examples in the Jupyter Notebook, code/Getting_started.ipynb ...

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

Practical Time Series Analysis

Practical Time Series Analysis

Aileen Nielsen

Publisher Resources

ISBN: 9781788290227Supplemental Content