🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "epoch"

Found 3 matching component(s)

  • function dt64_to_dt

    Converts a NumPy datetime64 object to a Python datetime.datetime object by calculating seconds since Unix epoch.

    File: /tf/active/vicechatdev/patches/util.py

    datetime numpy conversion datetime64 time-conversion
  • function dt_to_int

    Converts various datetime types (pandas, numpy, cftime, Python datetime) to an integer timestamp with a specified time unit.

    File: /tf/active/vicechatdev/patches/util.py

    datetime timestamp conversion time-series pandas
  • function cftime_to_timestamp

    Converts cftime datetime objects (or arrays) to timestamps since Unix epoch (1970-01-01 00:00:00) in specified time units, defaulting to microseconds.

    File: /tf/active/vicechatdev/patches/util.py

    datetime cftime timestamp calendar-conversion climate-data

Search Examples