Objectiv Documentation LogoObjectiv Documentation Logo
TrackingModelingTaxonomy
GitHubSlackTwitterObjectiv.io
  • Introduction
  • Get started in your notebook
  • Open model hub
  • Bach
    • Core Concepts
    • Usage
    • Supported Data Stores
    • API reference
      • DataFrame
        • agg
        • aggregate
        • all_series
        • append
        • astype
        • bfill
        • columns
        • copy
        • count
        • create_variable
        • cube
        • data
        • data_columns
        • database_create_table
        • describe
        • drop
        • drop_duplicates
        • dropna
        • dtypes
        • expanding
        • ffill
        • fillna
        • from_model
        • from_pandas
        • from_table
        • get_all_variable_usage
        • get_dummies
        • get_sample
        • get_unsampled
        • group_by
        • groupby
        • head
        • index
        • index_columns
        • index_dtypes
        • is_materialized
        • loc
        • materialize
        • max
        • DataFrame
        • mean
        • median
        • merge
        • min
        • minmax_scale
        • mode
        • nunique
        • order_by
        • plot
        • quantile
        • rename
        • reset_index
        • rolling
        • rollup
        • round
        • savepoints
        • scale
        • sem
        • set_index
        • set_savepoint
        • set_variable
        • sort_index
        • sort_values
        • stack
        • std
        • std_pop
        • sum
        • to_numpy
        • to_pandas
        • unstack
        • value_counts
        • var
        • variables
        • view_sql
        • window
      • Series
  • Example notebooks
  • 🏠
  • Modeling
  • Bach
  • API reference
  • DataFrame
  • to_pandas

bach.DataFrame.to_pandas

to_pandas​

(limit=None)

​[source]

Run a SQL query representing the current state of this DataFrame against the database and return the resulting data as a Pandas DataFrame.

Parameters​

limit (Optional[Union[int, slice]]) – the limit to apply, either as a max amount of rows or a slice of the data.

Returns​

a pandas DataFrame.

Return type​

pandas.core.frame.DataFrame

note

This function queries the database.

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