Comment on page

Data Preparation

This document will show how to import Python libraries and read data files with Visual Python.

To import packages/libraries

Before starting, we need to import essential Python libraries.
  1. 1.
    Click on the Import app from the menu
  2. 2.
    Select libraries you need
  3. 3.
    Click Run button to generate code.
Numpy, Pandas, Matplotlib are the most primarily used libraries for data analysis. You can also add other libraries with + Module / + Function buttons.

To read data from a file

Now, we need a dataset to analyze.
  1. 1.
    Click on the File app, to read data files.
  2. 2.
    Identify the data type: CSV, Excel, JSON, Pickle are supported
  3. 3.
    Click on the folder icon to open the file explorer.
  4. 4.
    Use additional options if necessary.
  5. 5.
    Click Run !