Treasury Analytics Core
  • Home
  • API Reference
  • Examples
  • Credentials
  • Global Settings
  1. API Reference
  2. Core Components
  3. analyzer
  • Overview
    • Treasury Analytics Core
  • Credential Management
    • Secure Credential Management
    • Global Settings
  • Examples
    • Example Projects
  • API Reference
    • Function reference
    • Core Components
      • FinanceDataEngine
      • engine_factory
      • engine
      • database
      • cache
      • processor
      • analyzer
    • Configuration
      • settings
      • settings_factory
      • global_settings_manager
    • Utilities
      • credentials
      • dataframe_utils
      • setup_logging
      • env_checker
      • query_timer
      • setup_helper
      • logging
      • constants
      • types
    • Scripts
      • configure_db
      • create_project
      • manage_settings

On this page

  • analyzer
    • Classes
      • PerformanceAnalyzer

Other Formats

  • Github (GFM)
  1. API Reference
  2. Core Components
  3. analyzer

analyzer

core.analyzer

Performance and data analysis module.

Classes

Name Description
PerformanceAnalyzer TEP processing performance analyzer.

PerformanceAnalyzer

core.analyzer.PerformanceAnalyzer(self, output_dir, console=None)

TEP processing performance analyzer.

Methods

Name Description
compare_files Compare current data with previous version.
generate_report Generate a formatted performance report.
profile_data Profile data and print summary.
compare_files
core.analyzer.PerformanceAnalyzer.compare_files(
    current_df,
    name_pattern,
    output_dir,
)

Compare current data with previous version.

Parameters
Name Type Description Default
current_df pd.DataFrame Current DataFrame required
name_pattern str Base file name pattern to search for required
output_dir Path Directory to search for files required
generate_report
core.analyzer.PerformanceAnalyzer.generate_report(metrics)

Generate a formatted performance report.

Parameters
Name Type Description Default
metrics Dict Dictionary containing performance metrics required
profile_data
core.analyzer.PerformanceAnalyzer.profile_data(df)

Profile data and print summary.

Parameters
Name Type Description Default
df pd.DataFrame DataFrame to profile required
processor
settings
 
 
  • Built with [Quarto](https://quarto.org/) and [quartodoc](https://machow.github.io/quartodoc/)