Supported pandas APIs

The following tables show the pandas APIs that have been implemented (or not) in BigQuery DataFrames.

  • ‘Y’ means it implements all parameters.

  • ‘P’ means it implements only some parameters.

DataFrame

API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
P copy
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P name
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P name
Y
Y
Y
Y
Y
Y
Y
Y
Y
P fill_value, level
Y
Y
P args, axis, kwargs
P args, axis, kwargs
P broadcast_axis, copy, fill_axis, fill_value, level, limit, method
P kwargs, skipna
P kwargs, skipna
P by_row, engine, engine_kwargs, raw, result_type
P kwargs
Y
P copy
Y
Y
P Y axis, downcast, inplace, limit_area
Y
Y
Y
P deep
Y
P axis, drop, method
P axis
P ddof, min_periods
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P exclude, percentiles
P Y axis
P fill_value, level
P fill_value, level
Y Y
P errors, inplace
P ignore_index, inplace
Y
P thresh
Y
Y
Y
P level
Y Y
P inplace, kwargs
P Y axis, method
Y
P Y axis, downcast, inplace, limit_area
P axis, downcast, inplace, limit, method
Y
Y
P fill_value, level
Y
Y
P level
Y
P axis, group_keys, observed, sort
P level
Y Y
P ax, backend, column, data, figsize, grid, layout, legend, sharex, sharey, xlabelsize, xrot, ylabelsize, yrot
Y
P Y Y axis, numeric_only, skipna
P Y Y axis, numeric_only, skipna
Y
Y
Y Y
Y
P Y Y axis, downcast, inplace, kwargs, limit, limit_area, limit_direction
Y
Y
Y
Y
Y
P lsuffix, rsuffix, sort, validate
P axis, kwargs, skipna
P axis, kwargs, skipna
P level
Y
P level
P kwargs
P axis, inplace, level
P kwargs, skipna
P kwargs, skipna
P axis, kwargs, skipna
P Y col_level, ignore_index
P deep
P copy, indicator, left_index, right_index, validate
P kwargs, skipna
P fill_value, level
P fill_value, level
P fill_value, level
Y
P level
Y
Y
Y
Y
P axis, dropna
P Y fill_method, freq, kwargs, limit
Y
Y Y Y
P Y Y dropna, fill_value, margins, margins_name, observed, sort
Y
P fill_value, level
P kwargs, min_count, skipna
P kwargs, min_count, skipna
P axis, interpolation, method
P inplace, kwargs
P fill_value, level
P pct
P fill_value, level
P copy, fill_value, level, limit, method, tolerance
P Y copy, limit, method, tolerance
P axis, copy, errors, index, inplace, level, mapper
P axis, columns, copy, index, inplace
Y
P inplace, limit, method
P allow_duplicates, col_fill, col_level, inplace, level, names
P fill_value, level
P fill_value, level
P fill_value, level
P Y axis, center, closed, method, on, step, win_type
P fill_value, level
P fill_value, level
P fill_value, level
P Y axis, ignore_index, replace, weights
Y
P inplace, verify_integrity
Y
P Y axis, fill_value, freq, suffix
Y
P axis, kwargs, skipna
P Y axis, ignore_index, inplace, key, kind, level, sort_remaining
P axis, ignore_index, inplace, key
P dropna, future_stack, sort
P ddof, kwargs, skipna
P fill_value, level
P fill_value, level
P kwargs, min_count, skipna
Y
Y Y
P chunksize, columns, compression, date_format, decimal, doublequote, encoding, errors, escapechar, float_format, index_label, lineterminator, mode, na_rep, quotechar, quoting, storage_options
P index
P columns, engine, engine_kwargs, float_format, freeze_panes, header, index, index_label, inf_rep, merge_cells, na_rep, startcol, startrow, storage_options
P auth_local_webserver, chunksize, credentials, location, progress_bar, project_id, reauth, table_schema
Y
P compression, date_format, date_unit, default_handler, double_precision, force_ascii, indent, mode, storage_options
P bold_rows, caption, column_format, decimal, encoding, escape, float_format, formatters, index_names, label, longtable, multicolumn, multicolumn_format, multirow, na_rep, position, sparsify
P storage_options
Y
P engine, engine_kwargs, index
P engine, kwargs, partition_cols, storage_options
P compression, protocol, storage_options
Y
Y
P Y Y args, copy
P fill_value, level
P Y Y fill_value, sort
P errors
Y
Y
P ddof, kwargs, skipna
P axis, inplace, level
## DataFrameGroupBy
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P axis, exclusions, group_keys, grouper, keys, level, obj, observed, selection, sort
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P args, engine, engine_kwargs
P args, engine, engine_kwargs
P skipna
P skipna
Y
Y
P Y axis
P Y axis
P Y axis
P Y axis
P Y axis
P Y args, kwargs
Y Y
P engine, engine_kwargs, min_count
P engine, engine_kwargs
Y
P engine, engine_kwargs, min_count
P dropna
Y
P interpolation
P Y args, kwargs
P Y axis, fill_value, freq, suffix
Y
P axis, kwargs, skipna
P ddof, engine, engine_kwargs
P engine, engine_kwargs, min_count
P ddof, engine, engine_kwargs
## Index
API Implemented Requires index Requires ordering Missing parameters
Y
Y
P copy
Y
Y
Y
Y
Y
P other
Y
P other
Y
Y
P other
Y
Y
Y
P other
Y
P other
Y
P other
P copy, tupleize_cols
P other, self
Y
Y
Y
P other, self
Y
Y
Y
Y
Y
P args, kwargs
P args, kwargs
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P copy
P deep
P errors
Y
Y
Y
Y
P downcast
Y
Y
Y
Y
Y
P level
P args, axis, kwargs, skipna
P args, axis, kwargs, skipna
Y
Y
Y
Y
P dropna
P inplace
Y
Y
P key, return_indexer
P copy, na_value
Y
P args, kwargs
P bins
Y
## pandas module
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P copy, keys, levels, names, sort, verify_integrity
Y
P duplicates, include_lowest, ordered, precision, retbins, right
P sparse
Y
P copy, indicator, left_index, right_index, validate
Y
Y
Y
P precision, retbins
P cache_dates, chunksize, comment, compression, converters, date_format, date_parser, dayfirst, decimal, delim_whitespace, delimiter, dialect, doublequote, dtype_backend, encoding_errors, escapechar, false_values, float_precision, infer_datetime_format, iterator, keep_date_col, keep_default_na, lineterminator, low_memory, memory_map, na_filter, na_values, nrows, on_bad_lines, parse_dates, quotechar, quoting, skip_blank_lines, skipfooter, skipinitialspace, skiprows, storage_options, thousands, true_values, verbose
P auth_local_webserver, credentials, dialect, location, progress_bar_type, project_id, query, reauth, use_bqstorage_api
P chunksize, compression, convert_axes, convert_dates, date_unit, dtype_backend, encoding_errors, keep_default_dates, nrows, precise_float, storage_options, typ
P columns, dtype_backend, filesystem, filters, kwargs, storage_options, use_nullable_dtypes
Y
P cache, dayfirst, errors, exact, infer_datetime_format, origin, yearfirst
P errors
## Series
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
P copy
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P name
Y
P key
Y
Y
P copy, data, dtype, fastpath, index, name
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P axis, fill_value, level
Y Y
Y Y
P args, axis, kwargs
P args, axis, kwargs
P axis, bool_only, kwargs, skipna
P axis, bool_only, kwargs, skipna
P args, convert_dtype, kwargs
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P copy
Y
Y
Y
P Y axis, downcast, inplace, limit_area
Y
P axis, inplace, kwargs
P fill_value
Y
P deep
Y
Y
P ddof, min_periods
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
Y Y
P axis, fill_value, level
P axis, fill_value, level
P axis, fill_value, level
Y
P errors, inplace
P ignore_index, inplace
Y Y
Y
Y
Y
Y
Y
Y
P axis, fill_value, level
Y
P Y axis, method
Y
P Y axis, downcast, inplace, limit_area
P axis, downcast, inplace, limit, method
Y
P axis, fill_value, level
P axis, fill_value, level
Y
P group_keys, observed, sort
P axis, fill_value, level
Y
Y Y
P ax, backend, figsize, grid, legend, xlabelsize, xrot, ylabelsize, yrot
Y
P Y args, axis, kwargs, skipna
P Y args, axis, kwargs, skipna
Y
Y
P Y Y axis, downcast, inplace, kwargs, limit, limit_area, limit_direction
Y
Y
Y
Y
Y
P axis, kwargs, numeric_only, skipna
P axis, kwargs, numeric_only, skipna
P axis, fill_value, level
Y
Y
P axis, fill_value, level
Y
P axis, inplace, level
P axis, kwargs, numeric_only, skipna
P axis, kwargs, numeric_only, skipna
P axis, kwargs, numeric_only, skipna
P axis, kwargs, numeric_only, skipna
P axis, fill_value, level
P dropna
P axis, fill_value, level
P axis, fill_value, level
Y
Y
P axis, fill_value, level
Y
Y
Y
Y
P dropna
P Y axis, downcast, inplace
P Y fill_method, freq, kwargs, limit
Y
Y
P axis, fill_value, level
P axis, kwargs, min_count, numeric_only, skipna
P axis, kwargs, min_count, numeric_only, skipna
P interpolation
P axis, fill_value, level
P Y pct
P axis, fill_value, level
P axis, fill_value, level
P Y axis, copy, fill_value, level, limit, method, tolerance
P Y copy, limit, method, tolerance
P axis, copy, errors, inplace, level
P Y axis, copy, index, inplace
Y Y
P inplace, limit, method
P Y allow_duplicates, inplace, level
P axis, fill_value, level
P axis, fill_value, level
P axis, fill_value, level
P Y axis, center, closed, method, on, step, win_type
P args, kwargs
P axis, fill_value, level
P axis, fill_value, level
P axis, fill_value, level
P Y axis, ignore_index, replace, weights
Y
P Y axis, fill_value, freq, suffix
Y
P axis, kwargs, numeric_only, skipna
P Y ignore_index, inplace, key, kind, level, sort_remaining
P ignore_index, inplace, key
P axis, ddof, kwargs, numeric_only, skipna
Y
Y
P axis, fill_value, level
P axis, fill_value, level
P axis, kwargs, min_count, numeric_only, skipna
P Y copy
Y Y
P chunksize, columns, compression, date_format, decimal, doublequote, encoding, errors, escapechar, float_format, index_label, lineterminator, mode, na_rep, quotechar, quoting, storage_options
Y
P columns, engine, engine_kwargs, float_format, freeze_panes, header, index, index_label, inf_rep, merge_cells, na_rep, startcol, startrow, storage_options
Y
P compression, date_format, date_unit, default_handler, double_precision, force_ascii, indent, mode, storage_options
P bold_rows, caption, column_format, decimal, encoding, escape, float_format, formatters, index_names, label, longtable, multicolumn, multicolumn_format, multirow, na_rep, position, sparsify
Y
P storage_options
Y
P compression, protocol, storage_options
Y
Y
P Y args, kwargs
P axis, fill_value, level
Y
P Y fill_value, sort
Y
P bins
Y
P axis, ddof, kwargs, numeric_only, skipna
P axis, inplace, level
## Series.dt methods
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P orig
Y
Y
Y
Y
Y
P cls, data
Y
Y
Y
P key
Y
Y
Y
Y
Y
Y
Y
P args, kwargs
Y
Y
Y
P args, kwargs
Y
Y
P args, kwargs
Y
Y
Y
Y
## Series.str methods
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P key
Y
Y
Y
Y
Y
P na_rep, sep
Y
P na
P na
P expand
Y
P na
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P to_strip
P na
Y
Y
P n
Y
P to_strip
P step
P expand, n
P na
P to_strip
Y
Y
## SeriesGroupBy
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P axis, exclusions, group_keys, grouper, keys, level, obj, observed, selection, sort
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P args, engine, engine_kwargs
P args, engine, engine_kwargs
P skipna
P skipna
Y
Y
P Y axis
P Y axis
P Y axis
P Y axis
P Y axis
P Y args, kwargs
Y Y
P engine, engine_kwargs, min_count
P engine, engine_kwargs
Y
P engine, engine_kwargs, min_count
P dropna
Y
P interpolation
P Y args, kwargs
P Y axis, fill_value, freq, suffix
Y
P axis, kwargs, skipna
P ddof, engine, engine_kwargs
P engine, engine_kwargs, min_count
P ddof, engine, engine_kwargs
## Window
API Implemented Requires index Requires ordering Missing parameters
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P axis, center, closed, method, min_periods, obj, on, selection, step, win_type, window
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
P numeric_only
P args, engine, engine_kwargs, kwargs, numeric_only
P engine, engine_kwargs, numeric_only
P engine, engine_kwargs, numeric_only
P ddof, engine, engine_kwargs, numeric_only
P engine, engine_kwargs, numeric_only
P ddof, engine, engine_kwargs, numeric_only
Design a Mobile Site
View Site in Mobile | Classic
Share by: