Skip to main content

Australian weather data used to learn and practice data analysis skills.

Project description

Australian Weather Data Analysis


This project loads daily Australian weather data over 10 years and stores it in a pandas DataFrame. It's likely that this project will expand to perform more advanced data analysis.

Dataset

  • Title: Australia Weather Data
  • Source: Kaggle

Usage

Run main.py to read and display weather data to the console.

Technologies

  • Python 3.10
  • pandas

Installation

Make sure you have:

  • Python 3.10 or higher installed
  • Build installed: pip install build

To install the required dependencies, run the following command:

pip install Ctack14-practice-data-sets

To Install as a developer:

pip install Ctack14-practice-data-sets[dev]

Steps

For module 3, I restructured the project to use OOP principles while still maintaining the ability to be packaged and uploaded to PyPI.

  • DataLoader class to handle loading and preprocessing the weather data.
  • DataProcessor class to perform analysis on the loaded data. Description now returns basic statistics rather than displaying them. They can be displayed in the application logic.
  • app.py to serve as the main entry point for running the application and composes the objects.

The init file for the package was updated to reflect the new structure.

OOP Principles Applied

  • Encapsulated data and behavior inside of classes.
  • Used methods to operate on the data within the classes.
  • Separated concerns by creating distinct classes for loading and processing data.
  • Created an application class to manage the workflow. This replaces the old main.py script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctack14_practice_data_sets-0.1.21.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ctack14_practice_data_sets-0.1.21-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file ctack14_practice_data_sets-0.1.21.tar.gz.

File metadata

File hashes

Hashes for ctack14_practice_data_sets-0.1.21.tar.gz
Algorithm Hash digest
SHA256 f13c80783ec9f5f2347ecf732022129b5c643e9bbe18d988d3e7ba483fdf0fc5
MD5 d8bbf1581df885f04e25fff5abf7637c
BLAKE2b-256 28e3a4705d7a09e0e42f19b7bcd6ce32d586641fbb6f14db5753880ca1c1e349

See more details on using hashes here.

File details

Details for the file ctack14_practice_data_sets-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for ctack14_practice_data_sets-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 1d2852f275fec5078e361a5421f245933cf2208a5f26b114b5dc5c163fd229e2
MD5 c5fd5d436c9eb3a9495eee589d92c9b7
BLAKE2b-256 2ca23973ab0fdf41c35116cab0a1a9793a31e806251084c1062e9332ed5af13b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page