[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [2.32.0 (latest)](/python/docs/reference/bigtable/latest/common_data_row)\n- [2.31.0](/python/docs/reference/bigtable/2.31.0/common_data_row)\n- [2.30.1](/python/docs/reference/bigtable/2.30.1/common_data_row)\n- [2.29.0](/python/docs/reference/bigtable/2.29.0/common_data_row)\n- [2.28.1](/python/docs/reference/bigtable/2.28.1/common_data_row)\n- [2.26.0](/python/docs/reference/bigtable/2.26.0/common_data_row)\n- [2.25.0](/python/docs/reference/bigtable/2.25.0/common_data_row)\n- [2.24.0](/python/docs/reference/bigtable/2.24.0/common_data_row)\n- [2.23.1](/python/docs/reference/bigtable/2.23.1/common_data_row)\n- [2.22.0](/python/docs/reference/bigtable/2.22.0/common_data_row)\n- [2.21.0](/python/docs/reference/bigtable/2.21.0/common_data_row)\n- [2.20.0](/python/docs/reference/bigtable/2.20.0/common_data_row)\n- [2.19.0](/python/docs/reference/bigtable/2.19.0/common_data_row)\n- [2.18.1](/python/docs/reference/bigtable/2.18.1/common_data_row)\n- [2.17.0](/python/docs/reference/bigtable/2.17.0/common_data_row)\n- [2.16.0](/python/docs/reference/bigtable/2.16.0/common_data_row)\n- [2.15.0](/python/docs/reference/bigtable/2.15.0/common_data_row)\n- [2.14.1](/python/docs/reference/bigtable/2.14.1/common_data_row)\n- [2.13.2](/python/docs/reference/bigtable/2.13.2/common_data_row)\n- [2.12.0](/python/docs/reference/bigtable/2.12.0/common_data_row)\n- [2.11.3](/python/docs/reference/bigtable/2.11.3/common_data_row)\n- [2.10.1](/python/docs/reference/bigtable/2.10.1/common_data_row)\n- [2.9.0](/python/docs/reference/bigtable/2.9.0/common_data_row)\n- [2.8.1](/python/docs/reference/bigtable/2.8.1/common_data_row)\n- [2.7.1](/python/docs/reference/bigtable/2.7.1/common_data_row)\n- [2.6.0](/python/docs/reference/bigtable/2.6.0/common_data_row)\n- [2.5.2](/python/docs/reference/bigtable/2.5.2/common_data_row)\n- [2.4.0](/python/docs/reference/bigtable/2.4.0/common_data_row)\n- [2.3.3](/python/docs/reference/bigtable/2.3.3/common_data_row)\n- [2.2.0](/python/docs/reference/bigtable/2.2.0/common_data_row)\n- [2.1.0](/python/docs/reference/bigtable/2.1.0/common_data_row)\n- [2.0.0](/python/docs/reference/bigtable/2.0.0/common_data_row)\n- [1.7.3](/python/docs/reference/bigtable/1.7.3/common_data_row)\n- [1.6.1](/python/docs/reference/bigtable/1.6.1/common_data_row)\n- [1.5.1](/python/docs/reference/bigtable/1.5.1/common_data_row)\n- [1.4.0](/python/docs/reference/bigtable/1.4.0/common_data_row)\n- [1.3.0](/python/docs/reference/bigtable/1.3.0/common_data_row)\n- [1.2.1](/python/docs/reference/bigtable/1.2.1/common_data_row)\n- [1.1.0](/python/docs/reference/bigtable/1.1.0/common_data_row)\n- [1.0.0](/python/docs/reference/bigtable/1.0.0/common_data_row)\n- [0.34.0](/python/docs/reference/bigtable/0.34.0/common_data_row) \n\nRows and Cells\n==============\n\n### *class* google.cloud.bigtable.data.row.Cell(value: [bytes](https://docs.python.org/3/library/stdtypes.html#bytes), row_key: [bytes](https://docs.python.org/3/library/stdtypes.html#bytes), family: [str](https://docs.python.org/3/library/stdtypes.html#str), qualifier: [bytes](https://docs.python.org/3/library/stdtypes.html#bytes) \\| [str](https://docs.python.org/3/library/stdtypes.html#str), timestamp_micros: [int](https://docs.python.org/3/library/functions.html#int), labels: [Optional](https://docs.python.org/3/library/typing.html#typing.Optional)\\[[list](https://docs.python.org/3/library/stdtypes.html#list)\\[[str](https://docs.python.org/3/library/stdtypes.html#str)\\]\\] = None)\n\nBases: [`object`](https://docs.python.org/3/library/functions.html#object)\n\nModel class for cell data\n\nDoes not represent all data contained in the cell, only data returned by a\nquery.\nExpected to be read-only to users, and written by backend\n\n- **Parameters**\n\n - **value** -- the byte string value of the cell\n\n - **row_key** -- the row key of the cell\n\n - **family** -- the family associated with the cell\n\n - **qualifier** -- the column qualifier associated with the cell\n\n - **timestamp_micros** -- the timestamp of the cell in microseconds\n\n - **labels** -- the list of labels associated with the cell\n\n#### _*eq_*(other)\n\nImplements == operator\n\n- **Parameters**\n\n **other** -- Cell to compare with\n- **Returns**\n\n True if cells are equal, False otherwise\n- **Return type**\n\n [bool](https://docs.python.org/3/library/functions.html#bool)\n\n#### _*hash_*()\n\nImplements hash() function to fingerprint cell\n\n- **Returns**\n\n hash value of the cell\n- **Return type**\n\n [int](https://docs.python.org/3/library/functions.html#int)\n\n#### _*int_*()\n\nAllows casting cell to int\nInterprets value as a 64-bit big-endian signed integer, as expected by\nReadModifyWrite increment rule\n\n- **Returns**\n\n Value of the cell as a 64-bit big-endian signed integer\n- **Return type**\n\n [int](https://docs.python.org/3/library/functions.html#int)\n\n#### _*lt_*(other)\n\nImplements \\\u003c operator\n\n- **Parameters**\n\n **other** -- Cell to compare with\n- **Returns**\n\n True if this cell is less than the other cell, False otherwise\n- **Return type**\n\n [bool](https://docs.python.org/3/library/functions.html#bool)\n- **Raises**\n\n [**NotImplementedError**](https://docs.python.org/3/library/exceptions.html#NotImplementedError) -- If other is not a Cell\n\n#### _*ne_*(other)\n\nImplements != operator\n\n- **Parameters**\n\n **other** -- Cell to compare with\n- **Returns**\n\n True if cells are not equal, False otherwise\n- **Return type**\n\n [bool](https://docs.python.org/3/library/functions.html#bool)\n\n#### _*repr_*()\n\nReturns a string representation of the cell\n\n- **Returns**\n\n String representation of the cell\n- **Return type**\n\n [str](https://docs.python.org/3/library/stdtypes.html#str)\n\n#### _*str_*()\n\nAllows casting cell to str\nPrints encoded byte string, same as printing value directly.\n\n- **Returns**\n\n Encoded byte string of the value\n- **Return type**\n\n [str](https://docs.python.org/3/library/stdtypes.html#str)\n\n### *class* google.cloud.bigtable.data.row.Row(key: [bytes](https://docs.python.org/3/library/stdtypes.html#bytes), cells: [list](https://docs.python.org/3/library/stdtypes.html#list)\\[google.cloud.bigtable.data.row.Cell\\])\n\nBases: [`object`](https://docs.python.org/3/library/functions.html#object)\n\nModel class for row data returned from server\n\nDoes not represent all data contained in the row, only data returned by a\nquery.\nExpected to be read-only to users, and written by backend\n\nCan be indexed by family and qualifier to get cells in the row: \n\n cells = row[\"family\", \"qualifier\"]\n\n- **Parameters**\n\n - **key** -- Row key\n\n - **cells** -- List of cells in the row\n\nRow objects are not intended to be created by users.\nThey are returned by the Bigtable backend.\n\n#### _*contains_*(item)\n\nImplements in operator\n\nWorks for both cells in the internal list, and family or\n(family, qualifier) pairs associated with the cells\n\n- **Parameters**\n\n **item** -- item to check for in the row\n- **Returns**\n\n True if item is in the row, False otherwise\n- **Return type**\n\n [bool](https://docs.python.org/3/library/functions.html#bool)\n\n#### _*eq_*(other)\n\nImplements == operator\n\n- **Returns**\n\n True if rows are equal, False otherwise\n- **Return type**\n\n [bool](https://docs.python.org/3/library/functions.html#bool)\n\n#### _*getitem_* (index: [str](https://docs.python.org/3/library/stdtypes.html#str) \\| [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\\[[str](https://docs.python.org/3/library/stdtypes.html#str), [bytes](https://docs.python.org/3/library/stdtypes.html#bytes) \\| [str](https://docs.python.org/3/library/stdtypes.html#str)\\])\n\n#### _*getitem_* (index: [int](https://docs.python.org/3/library/functions.html#int))\n\n#### _*getitem_* (index: [slice](https://docs.python.org/3/library/functions.html#slice))\n\nImplements \\[\\] indexing\n\nSupports indexing by family, (family, qualifier) pair,\nnumerical index, and index slicing\n\n#### _*iter_*()\n\nAllow iterating over all cells in the row\n\n- **Returns**\n\n Iterator over the cells in the row\n- **Return type**\n\n Iterator\n\n#### _*len_*()\n\nReturns the number of cells in the row\n\n- **Returns**\n\n Number of cells in the row\n- **Return type**\n\n [int](https://docs.python.org/3/library/functions.html#int)\n\n#### _*ne_*(other)\n\nImplements != operator\n\n- **Returns**\n\n True if rows are not equal, False otherwise\n- **Return type**\n\n [bool](https://docs.python.org/3/library/functions.html#bool)\n\n#### _*str_*()\n\nHuman-readable string representation: \n\n {\n (family='fam', qualifier=b'col'): [b'value', (+1 more),],\n (family='fam', qualifier=b'col2'): [b'other'],\n }\n\n- **Returns**\n\n Human-readable string representation of the row\n- **Return type**\n\n [str](https://docs.python.org/3/library/stdtypes.html#str)\n\n#### get_cells(family: [Optional](https://docs.python.org/3/library/typing.html#typing.Optional)\\[[str](https://docs.python.org/3/library/stdtypes.html#str)\\] = None, qualifier: [Optional](https://docs.python.org/3/library/typing.html#typing.Optional)\\[[Union](https://docs.python.org/3/library/typing.html#typing.Union)\\[[str](https://docs.python.org/3/library/stdtypes.html#str), [bytes](https://docs.python.org/3/library/stdtypes.html#bytes)\\]\\] = None)\n\nReturns cells sorted in Bigtable native order: \n\n * Family lexicographically ascending\n\n\n * Qualifier ascending\n\n\n * Timestamp in reverse chronological order\n\nIf family or qualifier not passed, will include all\n\nCan also be accessed through indexing:: \n\n cells = row[\"family\", \"qualifier\"]\n cells = row[\"family\"]\n\n- **Parameters**\n\n - **family** -- family to filter cells by\n\n - **qualifier** -- qualifier to filter cells by\n\n- **Returns**\n\n List of cells in the row matching the filter\n- **Return type**\n\n [list](https://docs.python.org/3/library/stdtypes.html#list)\\[Cell\\]\n- **Raises**\n\n [**ValueError**](https://docs.python.org/3/library/exceptions.html#ValueError) -- If family or qualifier is not found in the row"]]