Data Visualization Guide: Clear Introduction to Data Mining, Analysis, and Visualization by Campbell Alex

Data Visualization Guide: Clear Introduction to Data Mining, Analysis, and Visualization by Campbell Alex

Author:Campbell, Alex [Campbell, Alex]
Language: eng
Format: epub
Published: 2021-01-23T16:00:00+00:00


NumPy

#Using the sections below, we can check the library version to determine we are not using an old version

import numpy as np

np.__version__

'1.12.1'

#The following statements create a list with numbers from 0 to 9

L = list(range(10))

#The next few lines of code convert integers to strings. This process is called list comprehension. This process is one of the best ways to handle list manipulations.

[str(c) for c in L]

['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']

[type(item) for item in L]

[int, int, int, int, int, int, int, int, int, int]

Create Arrays



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.