Preparing, manipulating and visualizing data – NumPy, pandas and matplotlib tutorials
Most of the data comes in a very unpractical form for applying machine-learning algorithms. As we have seen in the example (in the preceding paragraph), the data can have missing values or non-numeric columns, which are not ready to be fed into any machine-learning technique. Therefore, a machine-learning professional usually spends a large amount of time cleaning and preparing the data to transform it into a form suitable for further analysis or visualization. This section will teach how to use numpy
and pandas
to create, prepare, and manipulate data in Python while the matplotlib
paragraph will provide the basis of plotting a graph in Python. The Python shell ...
Get Machine Learning for the Web now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.