Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DataFrame.h File Reference

Minimal tabular container with column-wise storage and CSV I/O. More...

#include <unordered_map>
#include <string>
#include <vector>
#include <memory>
#include <stdexcept>
#include <fstream>
#include <array>
#include "Series.h"
#include "CSVOptions.h"
#include "DataFrame.tpp"
Include dependency graph for DataFrame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DataFrame
 Simple column-oriented data structure with basic analysis utilities. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const std::vector< std::string > &vec)
 Stream output helper for a vector of strings.
 
std::ostream & operator<< (std::ostream &os, const std::array< int, 2 > &vec)
 Stream output helper for a fixed-size array of 2 integers.
 

Detailed Description

Minimal tabular container with column-wise storage and CSV I/O.

This header provides a lightweight DataFrame type inspired by common data-analysis libraries. It stores columns as Series<T>, indexed by column name, and supports:

  • row/column access,
  • simple statistics and summary,
  • CSV export,
  • optional labeled index.

Definition in file DataFrame.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  os,
const std::array< int, 2 > &  vec 
)

Stream output helper for a fixed-size array of 2 integers.

Prints an array as: [a, b].

Definition at line 15 of file DataFrame.cpp.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  os,
const std::vector< std::string > &  vec 
)

Stream output helper for a vector of strings.

Prints a vector as: [elem1, elem2, ...].

Definition at line 4 of file DataFrame.cpp.