Вы находитесь на странице: 1из 4

Programming for Engineers | Main / Data Analysis with Python http://apmonitor.com/che263/index.php/Main/PythonDataAnalysis?act...

From Programming for Engineers

Main: Data Analysis with Python


A common task for scientists and engineers is to analyze data from an external source that may be in a
text or comma separated value (CSV) format. By importing the data into Python, data analysis such as
statistics, trending, or calculations can be made to synthesize the information into relevant and actionable
information. Tutorials below demonstrate how to import data (including online data), perform a basic
analysis, trend the results, and export the results to another text file. Two examples are provided with
Numpy and Pandas. Script files of the Python source code with sample data are below.

Import Data and Analyze with Numpy

Python Data Analysis Example Source Code (Numpy)

Downloads cx_Oracle-… winrar-x64-… python_dat… goog.csv continuumi… 100% Clear

1 of 4 12/30/2019, 9:46 PM
Programming for Engineers | Main / Data Analysis with Python http://apmonitor.com/che263/index.php/Main/PythonDataAnalysis?act...

Import Data and Analyze with Pandas

Data File with Headers

Python Data Analysis Example Source Code (Pandas)

Import Online Data and Analyze

Below is an example of pulling data from an Internet source, such as financial information about a stock.
The example shows how to request, parse, and display the financial data.

Google Stock Data File


Downloads cx_Oracle-… winrar-x64-… python_dat… goog.csv continuumi… 100% Clear

2 of 4 12/30/2019, 9:46 PM
Programming for Engineers | Main / Data Analysis with Python http://apmonitor.com/che263/index.php/Main/PythonDataAnalysis?act...

Once the data is imported, it can be analyzed with many different tools such as machine learning
algorithms. Below is an example of using the data for analysis of correlation between open and close
price of Google publicly traded shares.

This tutorial can also be completed with Excel and Matlab. Click on the appropriate link for additional
information.

Downloads cx_Oracle-… winrar-x64-… python_dat… goog.csv continuumi… 100% Clear

3 of 4 12/30/2019, 9:46 PM
Programming for Engineers | Main / Data Analysis with Python http://apmonitor.com/che263/index.php/Main/PythonDataAnalysis?act...

0 Comments APMonitor Modeling Language 1 Login

Recommend Tweet Share Sort by Best

Start the discussion…

LOG IN WITH OR SIGN UP WITH DISQUS ?

APMONITOR MODELING LANGUAGE

Programming for Engineers Main/Data Programming for Engineers Main/Python


Regression with Python Functions
• •
— Multiple input vectors are — I love your course so far!
not a problem. You just need to augment your
equation to include the additional factors such

Bryson-Denham Problem Programming for Engineers Main/Data


• Regression with MATLAB
— OK. Thank you very much! •

Retrieved from http://apmonitor.com/che263/index.php/Main/PythonDataAnalysis


Page last modified on August 15, 2019, at 02:38 AM

Downloads cx_Oracle-… winrar-x64-… python_dat… goog.csv continuumi… 100% Clear

4 of 4 12/30/2019, 9:46 PM

Вам также может понравиться