Objectiv Documentation LogoObjectiv Documentation Logo
TrackingModelingTaxonomy
GitHubSlackTwitterObjectiv.io
  • Introduction
  • Get started in your notebook
  • Open model hub
    • Identity Resolution
    • Models
      • Helper functions
        • conversions_counter
        • conversions_in_time
        • is_conversion_event
        • is_first_session
        • is_new_user
        • pre_conversion_hit_number
      • Aggregation
      • Machine Learning
      • Funnels
    • API reference
    • Version check
  • Bach
  • Example notebooks
  • 🏠
  • Modeling
  • Open model hub
  • Models
  • Helper functions
  • is_first_session

modelhub.Map.is_first_session

is_first_session​

(data)

​[source]

Labels all hits in a session True if that session is the first session of that user in the data.

Parameters​

data (bach.dataframe.DataFrame) – bach.DataFrame to apply the method on.

Returns​

bach.SeriesBoolean with the same index as data.

Return type​

bach.series.series_boolean.SeriesBoolean

  • Suggest an edit
  • Get help on Slack
  • Request feature or report issue
Previous
is_conversion_event
Next
is_new_user
  • is_first_session
    • Parameters
    • Returns
    • Return type
  • Privacy Policy
  • Cookies
Copyright © 2022 Objectiv