-
Install Required Packages:
- Install pandas, numpy, matplotlib, and scipy using pip.
- Create a virtual environment and install the packages there.
-
Create a Virtual Environment:
- Use
python -m venv venv - Activate
venvto create a virtual environment namedsurge
- Use
-
Install Dependencies:
- Install the packages inside the virtual environment:
pip install pandas numpy matplotlib scipy
- Install the packages inside the virtual environment:
-
Run the Installation Command:
- Open a terminal and run:
python -m pip install pandas numpy matplotlib scipy
- Open a terminal and run:
-
Run the First Code Example:
- Create a sample DataFrame:
import pandas as pd data = {'name': ['John', 'Jane', 'Bob'], 'age': [28, 25, 35], 'gender': ['Male', 'Female', 'Male']} df = pd.DataFrame(data) print(df)
- Create a sample DataFrame:
-
Process the Data with surge:
After processing the data with surge, visualize the results using matplotlib.
-
Interpret the Results:
Understand what the visualizations represent and how the data has been processed.
By following these steps, you'll gain hands-on experience with surge and its data processing capabilities.









