A Python analytical prototype for ranking payment methods by reliability, scale, user coverage and recent performance.
The notebook processes more than 2.2 million transaction records and creates separate rankings for deposits and withdrawals by license, country and payment method.
When several payment methods are available for the same market, which provider should be prioritized?
A simple success-rate ranking can be misleading when sample sizes differ significantly. This project therefore combines conversion/success metrics with transaction volume, amount, user coverage and recent performance.
- Combines multiple transaction datasets into one analytical layer.
- Cleans and standardizes payment-provider data.
- Separates deposit and withdrawal behavior.
- Calculates success ratios, transaction counts, amounts and unique-user coverage.
- Aggregates performance by
License × Country × Paymethod. - Builds a 15-day rolling performance view alongside historical performance.
- Normalizes volume metrics with
MinMaxScaler. - Applies configurable business weights to create provider scores.
- Combines historical and recent scores, with greater weight on current performance.
- Produces ranked payment-method candidates for each market.
The model intentionally avoids optimizing on a single KPI.
Provider quality is treated as a multi-factor decision:
success rate + transaction volume + successful transactions + transaction amount + unique users + market share
Historical performance is combined with a rolling window so that a provider with strong long-term results can still be downgraded when recent performance deteriorates.
The notebook loads 2,238,596 rows before cleaning and works with more than 2 million transactions after preprocessing.
Python · pandas · NumPy · scikit-learn · MinMaxScaler · Matplotlib · Seaborn
The source Excel datasets are not included. This repository is a historical portfolio example of the ranking logic and analytical workflow.