From ce9e684be710f5f3ab3b804faaec0dcb9b750e62 Mon Sep 17 00:00:00 2001 From: LTLA Date: Sat, 11 Nov 2023 21:04:54 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20BiocPy/B?= =?UTF-8?q?iocFrame@cf752ccc5dee8e92c7e3c1f7b9c0170c06927b5d=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .buildinfo | 2 +- _modules/biocframe/BiocFrame.html | 2005 +++++++++++++----------- _modules/biocframe/Factor.html | 732 --------- _modules/biocframe/io/from_pandas.html | 20 +- _modules/index.html | 9 +- _sources/api/biocframe.rst.txt | 24 - _sources/index.md.txt | 11 - _static/documentation_options.js | 2 +- api/biocframe.html | 1306 +++++---------- api/biocframe.io.html | 19 +- api/modules.html | 66 +- authors.html | 8 +- changelog.html | 26 +- contributing.html | 8 +- genindex.html | 169 +- index.html | 34 +- license.html | 8 +- objects.inv | Bin 786 -> 695 bytes py-modindex.html | 26 +- readme.html | 406 +++-- search.html | 8 +- searchindex.js | 2 +- 22 files changed, 1888 insertions(+), 3003 deletions(-) delete mode 100644 _modules/biocframe/Factor.html diff --git a/.buildinfo b/.buildinfo index 6c63f7e..b5761ed 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: b53936228f1af9acd45a89c0634e3741 +config: d947c8425d53aaddc0e1df344d696ba8 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_modules/biocframe/BiocFrame.html b/_modules/biocframe/BiocFrame.html index d18a8e2..cfcd2b0 100644 --- a/_modules/biocframe/BiocFrame.html +++ b/_modules/biocframe/BiocFrame.html @@ -5,7 +5,7 @@ - biocframe.BiocFrame - BiocFrame 0.4.1 documentation + biocframe.BiocFrame - BiocFrame 0.5.0 documentation @@ -122,7 +122,7 @@
-
BiocFrame 0.4.1 documentation
+
BiocFrame 0.5.0 documentation
@@ -145,7 +145,7 @@ @@ -1725,7 +1910,7 @@

Source code for biocframe.BiocFrame

       
     
   
-
+
diff --git a/_modules/biocframe/Factor.html b/_modules/biocframe/Factor.html deleted file mode 100644 index 6f7ca35..0000000 --- a/_modules/biocframe/Factor.html +++ /dev/null @@ -1,732 +0,0 @@ - - - - - - - - biocframe.Factor - BiocFrame 0.4.1 documentation - - - - - - - - - - - - - - - - Contents - - - - - - Menu - - - - - - - - Expand - - - - - - Light mode - - - - - - - - - - - - - - Dark mode - - - - - - - Auto light/dark mode - - - - - - - - - - - - - - - - - - - -
-
-
- -
- -
-
- -
- -
-
- -
-
-
- - - - - Back to top - -
-
- -
- -
-
-

Source code for biocframe.Factor

-from copy import deepcopy
-from typing import List, Sequence, Union
-from warnings import warn
-
-import biocutils as ut
-from biocgenerics.combine import combine
-
-
-
-[docs] -class Factor: - """Factor class, equivalent to R's ``factor``. - - This is a vector of integer codes, each of which is an index into a list of unique strings. The aim is to encode a - list of strings as integers for easier numerical analysis. - """ - - def __init__( - self, - codes: Sequence[int], - levels: Sequence[str], - ordered: bool = False, - validate: bool = True, - ): - """Initialize a Factor object. - - Args: - codes: - List of codes. Each value should be a non-negative - integer that is less than the length of ``levels``. - Entries may also be None. - - levels: - List of levels containing unique strings. - - ordered: - Whether the levels are ordered. - - validate: - Whether to validate the arguments. Internal use only. - """ - if not isinstance(codes, list): - codes = list(codes) - self._codes = codes # could be more efficient with NumPy... but who cares. - - if not isinstance(levels, list): - levels = list(levels) - self._levels = levels - - self._ordered = ordered - - if validate: - if not ut.is_list_of_type(self._codes, int, ignore_none=True): - raise TypeError("all entries of 'codes' should be integers or None") - if not ut.is_list_of_type(self._levels, str): - raise TypeError("all entries of 'levels' should be non-missing strings") - - for x in codes: - if x is None: - continue - if x < 0 or x >= len(self._levels): - raise ValueError( - "all entries of 'codes' should refer to an entry of 'levels'" - ) - - if len(set(self._levels)) < len(self._levels): - raise ValueError("all entries of 'levels' should be unique") - -
-[docs] - def get_codes(self) -> List[int]: - """Get list of codes. - - Returns: - List of codes, used as indices into the levels from - :py:attr:`~get_levels`. Values may also be None. - """ - return self._codes
- - - @property - def codes(self) -> List[int]: - """List of codes, used as indices into the levels from :py:attr:`~get_levels`. Values may also be None (read- - only property). - - Returns: - List[int]: List of codes. - """ - return self.get_codes() - -
-[docs] - def get_levels(self) -> List[str]: - """Get unique factor levels. - - Returns: - List[str]: List of factor levels. - """ - return self._levels
- - - @property - def levels(self) -> List[str]: - """Get list of unique factor levels.""" - return self.get_levels() - - @levels.setter - def levels(self, levels: Union[str, List[str]]): - """Modify levels in the list (in-place operation). - - Args: - levels (Union[str, List[str]]): A list of replacement levels. These should be unique strings - with no missing values. - - Alternatively a single string containing an existing level in - this object. The new levels are defined as a permutation of the - existing levels where the provided string is now the first - level. The order of all other levels is preserved. - """ - warn( - "Setting property 'levels'is an in-place operation, use 'set_levels' instead", - UserWarning, - ) - self.set_levels(levels, in_place=True) - -
-[docs] - def get_ordered(self) -> bool: - """Get whether the levels are ordered. - - Returns: - bool: True if ordered, otherwise False. - """ - return self._ordered
- - - @property - def ordered(self) -> bool: - """Get whether the levels are ordered (read-only). - - Returns: - bool: True if ordered, otherwise False. - """ - return self.get_ordered() - -
-[docs] - def __len__(self) -> int: - """Get length. - - Returns: - Length of the factor in terms of the number of codes. - """ - return len(self._codes)
- - -
-[docs] - def __repr__(self) -> str: - tmp = ( - "Factor(codes=" - + ut.print_truncated_list(self._codes) - + ", levels=" - + ut.print_truncated_list(self._levels) - ) - if self._ordered: - tmp += ", ordered=True" - tmp += ")" - return tmp
- - - def __str__(self) -> str: - message = ( - "Factor of length " - + str(len(self._codes)) - + " with " - + str(len(self._levels)) - + " level" - ) - if len(self._levels) != 0: - message += "s" - message += "\n" - - message += ( - "values: " - + ut.print_truncated_list(self._codes, transform=lambda i: self._levels[i]) - + "\n" - ) - message += ( - "levels: " - + ut.print_truncated_list(self._levels, transform=lambda x: x) - + "\n" - ) - message += "ordered: " + str(self._ordered) - return message - -
-[docs] - def __getitem__(self, args: Union[int, Sequence[int]]) -> Union[str, "Factor"]: - """Subset the ``Factor`` list. - - Args: - args: - Sequence of integers specifying the elements of interest. - Alternatively an integer specifying a single element. - - Returns: - If ``args`` is a sequence, returns same type as caller (a new ``Factor``) containing - only the elements of interest from ``args``. - - If ``args`` is an integer, a string is returned containing the - level corresponding to the code at position ``args``. - """ - args, scalar = ut.normalize_subscript(args, len(self), None) - if scalar: - x = self._codes[args[0]] - if x is not None: - return self._levels[x] - else: - return x - - new_codes = [] - for i in args: - new_codes.append(self._codes[i]) - - current_class_const = type(self) - return current_class_const( - new_codes, self._levels, self._ordered, validate=False - )
- - -
-[docs] - def __setitem__(self, args: Sequence[int], value: "Factor"): - """Modify the ``Factor`` list. - - Args: - args: Sequence of integers specifying the elements to be replaced. - - value: A ``Factor`` containing the replacement values. - - Returns: - The ``args`` elements in the current object are replaced with the - corresponding values in ``value``. This is performed by finding the - level for each entry of the replacement ``value``, matching it to a - level in the current object, and replacing the entry of ``codes`` - with the code of the matched level. If there is no matching level, - None is inserted instead. - """ - if isinstance(args, slice): - args = range(*args.indices(len(self._codes))) - - if self._levels == value._levels: - for i, x in enumerate(args): - self._codes[x] = value._codes[i] - else: - lmapping = {} - for i, x in enumerate(self._levels): - lmapping[x] = i - mapping = [] - for x in value._levels: - if x in lmapping: - mapping.append(lmapping[x]) - else: - mapping.append(None) - for i, x in enumerate(args): - self._codes[x] = mapping[value._codes[i]]
- - -
-[docs] - def drop_unused_levels(self, in_place: bool = False) -> "Factor": - """Drop unused levels. - - Args: - in_place: Whether to perform this modification in-place. - - Returns: - If ``in_place = False``, returns same type as caller (a new ``Factor`` object) - where all unused levels have been removed. - - If ``in_place = True``, unused levels are removed from the - current object; a reference to the current object is returned. - """ - if in_place: - new_codes = self._codes - else: - new_codes = [None] * len(self._codes) - - in_use = [False] * len(self._levels) - for x in self._codes: - if x is not None: - in_use[x] = True - - new_levels = [] - reindex = [] - for i, x in enumerate(in_use): - if x: - reindex.append(len(new_levels)) - new_levels.append(self._levels[i]) - else: - reindex.append(None) - - for i, x in enumerate(self._codes): - new_codes[i] = reindex[x] - - if in_place: - self._levels = new_levels - return self - else: - current_class_const = type(self) - return current_class_const( - new_codes, new_levels, self._ordered, validate=False - )
- - -
-[docs] - def set_levels( - self, levels: Union[str, List[str]], in_place: bool = False - ) -> "Factor": - """Set or replace levels. - - Args: - levels: - A list of replacement levels. These should be unique strings - with no missing values. - - Alternatively a single string containing an existing level in - this object. The new levels are defined as a permutation of the - existing levels where the provided string is now the first - level. The order of all other levels is preserved. - - in_place: - Whether to perform this modification in-place. - - Returns: - If ``in_place = False``, returns same type as caller (a new ``Factor`` object) where - the levels have been replaced. This will automatically adjust the - codes so that they still refer to the same level in the new - ``levels``. If a code refers to a level that is not present in the - new ``levels``, it is replaced with None. - - If ``in_place = True``, the levels are replaced in the current - object, and a reference to the current object is returned. - """ - lmapping = {} - if isinstance(levels, str): - new_levels = [levels] - for x in self._levels: - if x == levels: - lmapping[x] = 0 - else: - lmapping[x] = len(new_levels) - new_levels.append(x) - if levels not in lmapping: - raise ValueError( - "string 'levels' should already be present among object levels" - ) - else: - if not ut.is_list_of_type(levels, str): - raise TypeError("all entries of 'levels' should be non-missing strings") - new_levels = levels - for i, x in enumerate(levels): - if x in lmapping: - raise ValueError("levels should be unique") - lmapping[x] = i - - mapping = [None] * len(self._levels) - for i, x in enumerate(self._levels): - if x in lmapping: - mapping[i] = lmapping[x] - - new_codes = [None] * len(self._codes) - for i, x in enumerate(self._codes): - new_codes[i] = mapping[x] - - if in_place: - self._codes = new_codes - self._levels = new_levels - return self - else: - current_class_const = type(self) - return current_class_const( - new_codes, new_levels, self._ordered, validate=False - )
- - -
-[docs] - def __copy__(self) -> "Factor": - """ - Returns: - A shallow copy of the ``Factor`` object. - """ - current_class_const = type(self) - return current_class_const( - self._codes, self._levels, self._ordered, validate=False - )
- - -
-[docs] - def __deepcopy__(self, memo) -> "Factor": - """ - Returns: - A deep copy of the ``Factor`` object. - """ - current_class_const = type(self) - return current_class_const( - deepcopy(self._codes, memo), - deepcopy(self._levels, memo), - self._ordered, - validate=False, - )
- - -
-[docs] - def to_pandas(self): - """Coerce to :py:class:`~pandas.Categorical` object. - - Returns: - Categorical: A :py:class:`~pandas.Categorical` object. - """ - from pandas import Categorical - - return Categorical( - values=[self._levels[c] for c in self._codes], - ordered=self._ordered, - )
- - -
-[docs] - @staticmethod - def from_list(values: Sequence[str]) -> "Factor": - """Represent a categorical vector as a Factor. - - Args: - values (Sequence[str]): List of strings - - Raises: - ValueError: If values is not a list. - - Returns: - Factor: A Factor object. - """ - levels, indices = ut.factor(values) - return Factor(indices, levels=levels)
-
- - - -@combine.register(Factor) -def _combine_factors(*x: Factor): - if not ut.is_list_of_type(x, Factor): - raise ValueError("all elements to `combine` must be `Factor` objects") - - first = x[0] - all_same = True - for f in x[1:]: - if f._levels != first._levels or f._ordered != first._ordered: - all_same = False - break - - if all_same: - all_codes = [] - for f in x: - all_codes.append(f._codes) - new_codes = combine(*all_codes) - new_levels = first._levels - new_ordered = first._ordered - else: - all_levels_map = {} - new_levels = [] - new_codes = [] - for f in x: - mapping = [] - for i, y in enumerate(f._levels): - if y not in all_levels_map: - all_levels_map[y] = len(new_levels) - new_levels.append(y) - mapping.append(all_levels_map[y]) - for j in f._codes: - if j is None: - new_codes.append(None) - else: - new_codes.append(mapping[j]) - new_ordered = False - - return Factor(new_codes, new_levels, new_ordered, validate=False) -
-
-
-
- - -
-
- - Made with Sphinx and @pradyunsg's - - Furo - -
-
- -
-
- -
-
- -
-
- - - - - \ No newline at end of file diff --git a/_modules/biocframe/io/from_pandas.html b/_modules/biocframe/io/from_pandas.html index 2b8ed36..ebc90a4 100644 --- a/_modules/biocframe/io/from_pandas.html +++ b/_modules/biocframe/io/from_pandas.html @@ -5,7 +5,7 @@ - biocframe.io.from_pandas - BiocFrame 0.4.1 documentation + biocframe.io.from_pandas - BiocFrame 0.5.0 documentation @@ -122,7 +122,7 @@
-
BiocFrame 0.4.1 documentation
+
BiocFrame 0.5.0 documentation
@@ -145,7 +145,7 @@
@@ -145,7 +145,7 @@ -
+
diff --git a/_sources/api/biocframe.rst.txt b/_sources/api/biocframe.rst.txt index 73ed1fd..eef8159 100644 --- a/_sources/api/biocframe.rst.txt +++ b/_sources/api/biocframe.rst.txt @@ -20,30 +20,6 @@ biocframe.BiocFrame module :undoc-members: :show-inheritance: -biocframe.Factor module ------------------------ - -.. automodule:: biocframe.Factor - :members: - :undoc-members: - :show-inheritance: - -biocframe.types module ----------------------- - -.. automodule:: biocframe.types - :members: - :undoc-members: - :show-inheritance: - -biocframe.utils module ----------------------- - -.. automodule:: biocframe.utils - :members: - :undoc-members: - :show-inheritance: - Module contents --------------- diff --git a/_sources/index.md.txt b/_sources/index.md.txt index c725dae..e88d088 100644 --- a/_sources/index.md.txt +++ b/_sources/index.md.txt @@ -1,16 +1,5 @@ # BiocFrame -This package provides a data-frame representation similar to a pandas `DataFrame`, with -support for nested column types. - -## Install - -Package is published to [PyPI](https://pypi.org/project/biocframe/) - -```shell -pip install biocframe -``` - ## Contents ```{toctree} diff --git a/_static/documentation_options.js b/_static/documentation_options.js index 0145a7a..240446d 100644 --- a/_static/documentation_options.js +++ b/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '0.4.1', + VERSION: '0.5.0', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/api/biocframe.html b/api/biocframe.html index 8869f38..72fd896 100644 --- a/api/biocframe.html +++ b/api/biocframe.html @@ -6,7 +6,7 @@ - biocframe package - BiocFrame 0.4.1 documentation + biocframe package - BiocFrame 0.5.0 documentation @@ -123,7 +123,7 @@
@@ -146,7 +146,7 @@ diff --git a/api/biocframe.io.html b/api/biocframe.io.html index fb93032..0fac53d 100644 --- a/api/biocframe.io.html +++ b/api/biocframe.io.html @@ -6,7 +6,7 @@ - biocframe.io package - BiocFrame 0.4.1 documentation + biocframe.io package - BiocFrame 0.5.0 documentation @@ -123,7 +123,7 @@
@@ -146,7 +146,7 @@ +
Bioconductor-like data frames
@@ -352,7 +332,7 @@

biocframe +

diff --git a/authors.html b/authors.html index b8a74b3..868bbd1 100644 --- a/authors.html +++ b/authors.html @@ -6,7 +6,7 @@ - Contributors - BiocFrame 0.4.1 documentation + Contributors - BiocFrame 0.5.0 documentation @@ -123,7 +123,7 @@
@@ -146,7 +146,7 @@ diff --git a/contributing.html b/contributing.html index 75758c8..2b4b1f7 100644 --- a/contributing.html +++ b/contributing.html @@ -6,7 +6,7 @@ - Contributing - BiocFrame 0.4.1 documentation + Contributing - BiocFrame 0.5.0 documentation @@ -123,7 +123,7 @@
@@ -146,7 +146,7 @@ -
+
diff --git a/genindex.html b/genindex.html index a2d735b..ed503f0 100644 --- a/genindex.html +++ b/genindex.html @@ -4,7 +4,7 @@ - Index - BiocFrame 0.4.1 documentation + Index - BiocFrame 0.5.0 documentation @@ -121,7 +121,7 @@
@@ -144,7 +144,7 @@ -
+
diff --git a/readme.html b/readme.html index 1f14a20..aa74a26 100644 --- a/readme.html +++ b/readme.html @@ -6,7 +6,7 @@ - BiocFrame - BiocFrame 0.4.1 documentation + Bioconductor-like data frames - BiocFrame 0.5.0 documentation @@ -123,7 +123,7 @@
@@ -146,7 +146,7 @@ diff --git a/searchindex.js b/searchindex.js index ceeca45..3f67834 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["api/biocframe", "api/biocframe.io", "api/modules", "authors", "changelog", "contributing", "index", "license", "readme"], "filenames": ["api/biocframe.rst", "api/biocframe.io.rst", "api/modules.rst", "authors.md", "changelog.md", "contributing.md", "index.md", "license.md", "readme.md"], "titles": ["biocframe package", "biocframe.io package", "biocframe", "Contributors", "Changelog", "Contributing", "BiocFrame", "License", "BiocFrame"], "terms": {"io": [0, 2, 8], "from_panda": [0, 2], "class": [0, 4, 5, 8], "data": [0, 1, 2, 6, 8], "none": 0, "number_of_row": [0, 2], "row_nam": [0, 2, 8], "column_nam": [0, 2, 8], "mcol": [0, 2], "metadata": [0, 2], "sourc": [0, 1, 5], "base": [0, 4, 5], "object": [0, 1, 4, 8], "i": [0, 1, 4, 5, 6, 7, 8], "an": [0, 7, 8], "altern": [0, 8], "datafram": [0, 1, 4, 6, 8], "support": [0, 6, 8], "nest": [0, 6, 8], "flexibl": 0, "column": [0, 2, 6, 8], "similar": [0, 5, 6], "r": [0, 5, 8], "": [0, 4, 5, 8], "ar": [0, 4, 5, 8], "requir": [0, 5, 8], "implement": [0, 4, 8], "length": [0, 8], "__len__": [0, 2, 8], "slice": [0, 2, 4, 8], "__getitem__": [0, 2, 4, 8], "dunder": [0, 4, 8], "method": [0, 4, 5, 8], "thi": [0, 4, 5, 6, 7, 8], "allow": [0, 8], "accept": [0, 8], "ani": [0, 5, 7, 8], "typic": 0, "usag": [0, 8], "exampl": [0, 5, 8], "To": [0, 8], "creat": 0, "simpli": [0, 8], "provid": [0, 5, 6, 7, 8], "dictionari": [0, 8], "made": [0, 5], "up": [0, 5, 8], "ensembl": [0, 8], "id": 0, "obj": [0, 8], "ens00001": [0, 8], "ens00002": [0, 8], "ens00003": [0, 8], "symbol": [0, 8], "map1a": [0, 8], "bin1": [0, 8], "esr1": [0, 8], "bframe": [0, 8], "you": [0, 5, 8], "can": [0, 4, 5, 8], "specifi": [0, 8], "chromosom": 0, "locat": 0, "rang": [0, 8], "chr": [0, 8], "chr1": [0, 8], "chr2": [0, 8], "chr3": [0, 8], "start": [0, 5, 8], "1000": [0, 8], "1100": [0, 8], "5000": [0, 8], "end": [0, 8], "4000": [0, 8], "5500": [0, 8], "avail": [0, 5], "1": [0, 5, 6, 8], "2": [0, 5, 6, 8], "true": [0, 5, 8], "fals": [0, 8], "addition": 0, "oper": [0, 5, 8], "differ": [0, 5, 8], "input": [0, 1, 8], "either": [0, 5, 8], "boolean": [0, 8], "vector": [0, 8], "list": [0, 5, 8], "indic": [0, 8], "row": [0, 2, 8], "name": [0, 5, 8], "subset": 0, "access": [0, 8], "particular": [0, 7], "row2": [0, 8], "ensembl_col": 0, "us": [0, 4, 5, 7, 8], "combin": [0, 2], "gener": [0, 5, 8], "concaten": 0, "multipl": [0, 8], "bframe1": [0, 8], "odd": [0, 8], "3": [0, 5, 6, 8], "5": [0, 8], "7": [0, 5, 8], "9": [0, 8], "even": [0, 5, 8], "0": [0, 5, 6, 8], "4": [0, 8], "6": [0, 8], "8": [0, 8], "bframe2": [0, 8], "11": [0, 8], "33": [0, 8], "55": [0, 8], "77": [0, 8], "99": [0, 8], "22": [0, 8], "44": [0, 8], "66": [0, 8], "88": [0, 8], "from": [0, 1, 4, 5, 7, 8], "biocgener": [0, 8], "import": [0, 5, 8], "function": [0, 4, 5], "kei": 0, "valu": [0, 8], "dict": 0, "str": 0, "option": [0, 5], "number": 0, "int": 0, "about": [0, 5], "addit": [0, 4, 5], "rais": [0, 1], "valueerror": 0, "If": [0, 1, 5, 8], "mismatch": 0, "__array_ufunc__": [0, 2], "func": 0, "kwarg": 0, "interfac": [0, 5], "numpi": 0, "arrai": 0, "note": [0, 6], "veri": [0, 5], "primit": 0, "need": [0, 5], "test": [0, 4, 5], "np": 0, "sqrt": 0, "typeerror": [0, 1], "return": [0, 1, 5, 8], "same": [0, 5], "caller": 0, "__copy__": [0, 2, 4], "make": [0, 5, 8], "shallow": 0, "copi": [0, 2, 5, 7], "modif": [0, 4], "mai": [0, 4, 5], "also": [0, 4, 5, 8], "affect": 0, "origin": [0, 5], "The": [0, 5, 7, 8], "__deepcopy__": [0, 2], "memo": 0, "_nil": 0, "deep": 0, "except": 0, "cannot": 0, "__delitem__": [0, 2], "remov": [0, 5], "place": 0, "delet": 0, "paramet": [0, 1, 4], "valid": [0, 5], "arg": 0, "frame": [0, 6], "new": [0, 5, 8], "specif": [0, 5], "wai": [0, 5], "slicerargtyp": 0, "A": [0, 1, 4, 7, 8], "tupl": 0, "slicer": 0, "argument": 0, "element": 0, "keep": 0, "must": 0, "integ": [0, 8], "posit": 0, "along": 0, "index": [0, 2, 5, 6], "For": [0, 5, 8], "contain": 0, "uniqu": 0, "singl": 0, "might": [0, 5, 8], "want": [0, 5, 8], "string": [0, 8], "label": [0, 5, 8], "too": [0, 5], "mani": 0, "expect": [0, 5], "all": [0, 4, 5, 7], "other": [0, 5, 7], "scenario": 0, "union": 0, "__iter__": [0, 2], "iter": 0, "over": 0, "biocframeit": [0, 2], "__repr__": [0, 2], "repr": 0, "self": 0, "__setitem__": [0, 2], "add": [0, 5, 8], "re": [0, 5], "assign": 0, "gene_a": 0, "gene_b": 0, "gene_c": 0, "set": [0, 8], "doe": 0, "match": 0, "properti": 0, "colnam": [0, 2], "alia": 0, "index_or_nam": 0, "get_column": [0, 2], "which": [0, 5], "greater": 0, "than": 0, "neither": 0, "nor": 0, "its": [0, 5], "preserv": 0, "fill": 0, "miss": [0, 5], "read": [0, 1], "onli": 0, "dim": [0, 2], "shape": [0, 2, 8], "m": [0, 5], "n": [0, 5], "where": 0, "get_column_nam": [0, 2, 8], "get_mcol": [0, 2], "annot": 0, "get_metadata": [0, 2], "get_row": [0, 2], "get_row_nam": [0, 2], "otherwis": [0, 7, 8], "has_column": [0, 2], "check": [0, 5, 8], "whether": [0, 7], "exist": 0, "bool": 0, "remove_column": [0, 2], "in_plac": [0, 8], "modifi": [0, 5, 7], "default": 0, "refer": [0, 4, 5, 6, 8], "rownam": [0, 2], "set_column": [0, 2], "sequenc": 0, "set_column_nam": [0, 2, 8], "set_mcol": [0, 2], "inform": [0, 5, 8], "set_metadata": [0, 2], "set_row_nam": [0, 2], "dimension": [0, 8], "row_indices_or_nam": 0, "column_indices_or_nam": 0, "slicertyp": 0, "to_panda": [0, 2], "convert": [0, 8], "__next__": [0, 2], "code": [0, 2, 4, 6], "level": [0, 2, 8], "order": [0, 2, 5, 8], "equival": [0, 8], "each": [0, 8], "aim": [0, 8], "encod": [0, 8], "easier": [0, 8], "numer": [0, 8], "analysi": [0, 8], "interest": [0, 5], "correspond": 0, "get": [0, 5, 8], "term": [0, 5], "replac": [0, 5, 8], "current": [0, 5], "perform": 0, "find": [0, 5], "entri": 0, "insert": 0, "instead": [0, 4, 5], "get_level": [0, 2], "drop_unused_level": [0, 2], "drop": [0, 5], "unus": 0, "have": [0, 5], "been": [0, 4, 5, 8], "static": 0, "from_list": [0, 2, 8], "repres": 0, "categor": 0, "get_cod": [0, 2], "get_ord": [0, 2], "set_level": [0, 2], "These": [0, 8], "should": [0, 5, 8], "defin": 0, "permut": 0, "now": [0, 4], "first": [0, 5], "automat": [0, 5], "adjust": 0, "so": [0, 7], "thei": [0, 5], "still": [0, 5], "present": 0, "coerc": 0, "type": [1, 2, 4, 6, 8], "packag": [2, 4, 5, 6, 8], "subpackag": 2, "submodul": 2, "modul": [2, 5, 6], "content": [2, 5], "factor": [2, 5, 6], "util": 2, "jayaram": 3, "kancherla": 3, "gmail": 3, "com": [3, 5, 8], "aaron": 3, "lun": 3, "infinit": 3, "monkei": 3, "keyboard": 3, "releas": 4, "migrat": 4, "more": [4, 5, 8], "palat": 4, "googl": 4, "python": [4, 5], "style": [4, 5], "guid": [4, 5], "major": [4, 5], "case": [4, 5], "camelcas": 4, "snake_cas": 4, "In": [4, 5], "docstr": [4, 5], "document": [4, 6, 7], "ha": [4, 8], "updat": [4, 5, 8], "sphinx": [4, 5], "featur": [4, 5], "link": [4, 5], "privat": [4, 5], "special": 4, "e": [4, 5, 8], "g": [4, 5, 8], "etc": 4, "intersphinx": 4, "depend": [4, 5], "configur": [4, 5], "flake8": [4, 5], "ruff": 4, "black": [4, 5], "ad": [4, 5], "pyproject": 4, "toml": 4, "setup": [4, 5], "cfg": [4, 5], "less": 4, "annoi": 4, "pyscaffold": [4, 5, 8], "myst": [4, 5], "parser": 4, "markdown": 4, "compil": [4, 5], "recommonmark": 4, "As": 4, "part": [4, 5], "one": [4, 5], "pre": [4, 5], "commit": [4, 5], "run": [4, 5], "some": 4, "routin": 4, "task": [4, 6], "lint": 4, "format": 4, "befor": [4, 5], "everi": 4, "while": [4, 5], "sometim": [4, 5], "ignor": 4, "verifi": 4, "bring": 4, "consist": 4, "refactor": 4, "biocfram": [4, 5], "initi": 4, "creation": 4, "github": [4, 5, 8], "action": [4, 7], "suppos": 5, "TO": [5, 7], "BE": [5, 7], "IT": 5, "accord": 5, "assum": 5, "servic": 5, "promot": 5, "model": 5, "fork": 5, "pull": 5, "request": 5, "workflow": 5, "like": 5, "gitlab": 5, "bitbucket": 5, "when": 5, "gerrit": 5, "notic": [5, 7], "url": [5, 8], "text": 5, "terminologi": 5, "merg": [5, 7], "pleas": [5, 8], "sure": 5, "assumpt": [5, 8], "mind": 5, "thing": 5, "accordingli": [5, 8], "correct": 5, "bottom": 5, "look": 5, "contributor": 5, "especi": 5, "project": [5, 8], "open": 5, "templat": 5, "few": 5, "extra": 5, "decid": 5, "includ": [5, 7], "mention": 5, "tracker": 5, "autom": 5, "welcom": 5, "focus": 5, "potenti": 5, "familiar": 5, "develop": [5, 6], "process": 5, "kind": [5, 7], "appreci": 5, "git": 5, "never": 5, "collabor": 5, "previous": 5, "org": [5, 8], "resourc": 5, "excel": 5, "freecodecamp": 5, "user": 5, "consider": 5, "reason": 5, "respect": 5, "doubt": 5, "softwar": [5, 7], "foundat": 5, "conduct": 5, "good": 5, "behavior": 5, "guidelin": 5, "experi": 5, "bug": 5, "don": 5, "t": 5, "see": [5, 8], "anyth": 5, "feel": 5, "free": [5, 7], "fire": 5, "forget": 5, "close": 5, "search": [5, 6], "solut": 5, "wa": 5, "alreadi": 5, "problem": 5, "consid": 5, "solv": 5, "program": 5, "system": 5, "version": [5, 6, 8], "step": 5, "reproduc": 5, "try": 5, "simplifi": 5, "reproduct": 5, "minim": 5, "illustr": 5, "face": 5, "By": 5, "help": [5, 6], "u": 5, "identifi": 5, "root": 5, "caus": 5, "doc": [5, 8], "them": 5, "readabl": 5, "coher": 5, "mistak": 5, "main": [5, 8], "mean": 5, "kept": 5, "done": 5, "markup": 5, "languag": 5, "restructuredtext": 5, "commonmark": 5, "extens": 5, "host": 5, "follow": [5, 7], "tip": 5, "web": 5, "quick": 5, "propos": 5, "file": [5, 7], "mechan": 5, "tricki": 5, "normal": 5, "work": [5, 8], "perfectli": 5, "fine": 5, "quit": 5, "handi": 5, "out": [5, 7, 8], "navig": 5, "folder": 5, "would": 5, "click": 5, "littl": 5, "pencil": 5, "icon": 5, "top": 5, "editor": 5, "onc": 5, "finish": 5, "edit": 5, "write": 5, "messag": 5, "form": 5, "page": [5, 6], "describ": 5, "what": 5, "motiv": 5, "behind": 5, "local": 5, "machin": 5, "tox": 5, "built": [5, 8], "server": [5, 8], "preview": 5, "browser": 5, "http": [5, 8], "localhost": 5, "8000": 5, "python3": 5, "directori": 5, "_build": 5, "html": 5, "explan": 5, "intern": 5, "architectur": 5, "descript": 5, "design": 5, "principl": 5, "least": 5, "summari": 5, "concept": 5, "easi": 5, "quickli": 5, "non": 5, "trivial": 5, "best": 5, "discuss": 5, "subject": [5, 7], "often": 5, "avoid": 5, "unnecessari": 5, "we": [5, 8], "recommend": 5, "isol": 5, "virtual": 5, "instal": [5, 8], "easili": 5, "via": 5, "virtualenv": 5, "path": 5, "venv": 5, "bin": 5, "activ": 5, "miniconda": 5, "conda": [5, 8], "six": 5, "pytest": 5, "cov": 5, "account": 5, "do": [5, 7], "button": 5, "under": 5, "disk": 5, "yourlogin": 5, "cd": 5, "pip": [5, 6, 8], "setuptool": 5, "abl": 5, "repl": 5, "item": 5, "come": 5, "lot": 5, "hook": 5, "being": 5, "written": 5, "branch": [5, 8], "hold": 5, "checkout": 5, "b": [5, 8], "my": 5, "public": 5, "api": [5, 8], "yourself": 5, "author": [5, 6, 7], "rst": 5, "record": 5, "fix": 5, "eventu": 5, "compat": 5, "unit": 5, "just": 5, "bugfix": 5, "moreov": 5, "highli": 5, "histori": 5, "log": 5, "graph": 5, "decor": 5, "pretti": 5, "onelin": 5, "abbrev": 5, "recur": 5, "commun": 5, "pattern": 5, "break": 5, "after": 5, "pipx": 5, "sever": 5, "av": 5, "everyth": 5, "push": 5, "remot": 5, "go": 5, "send": 5, "review": 5, "uncom": 5, "paragraph": 5, "detail": [5, 8], "pr": 5, "draft": 5, "mark": 5, "readi": 5, "feedback": 5, "continu": 5, "integr": 5, "ci": [5, 8], "build": 5, "fetch": 5, "tag": 5, "upstream": 5, "command": 5, "script": 5, "egg": 5, "complet": 5, "well": 5, "info": 5, "src": 5, "txt": 5, "recreat": 5, "flag": 5, "reliabl": 5, "OR": [5, 7, 8], "troubl": 5, "weird": 5, "error": 5, "upon": 5, "dedic": 5, "binari": 5, "freshli": 5, "interact": 5, "session": 5, "occur": 5, "pass": 5, "pdb": 5, "k": 5, "OF": [5, 7], "THE": [5, 7], "fall": 5, "breakpoint": 5, "manual": 5, "section": 5, "pypi": [5, 6, 8], "publicli": 5, "instruct": 5, "group": 5, "permiss": [5, 7], "success": 5, "v1": 5, "clean": 5, "dist": 5, "rm": 5, "rf": 5, "confus": 5, "old": 5, "dirti": 5, "hash": 5, "size": 5, "distribut": [5, 7], "big": 5, "500kb": 5, "unwant": 5, "clutter": 5, "accident": 5, "publish": [5, 6, 7], "upload": 5, "correctli": 5, "definit": 5, "though": 5, "focu": 5, "idea": 5, "collect": 5, "appli": 5, "sort": 5, "compani": 5, "proprietari": 5, "represent": [6, 8], "panda": [6, 8], "overview": 6, "contribut": 6, "issu": 6, "report": 6, "improv": 6, "maintain": 6, "licens": 6, "changelog": 6, "mit": 7, "copyright": 7, "c": 7, "2022": 7, "genentech": 7, "inc": 7, "herebi": 7, "grant": 7, "charg": 7, "person": 7, "obtain": 7, "associ": 7, "deal": 7, "without": 7, "restrict": 7, "limit": 7, "right": 7, "sublicens": 7, "sell": 7, "permit": 7, "whom": 7, "furnish": 7, "condit": 7, "abov": 7, "shall": 7, "substanti": 7, "portion": 7, "AS": 7, "warranti": 7, "express": 7, "impli": 7, "BUT": 7, "NOT": 7, "merchant": 7, "fit": 7, "FOR": 7, "purpos": 7, "AND": 7, "noninfring": 7, "IN": 7, "NO": 7, "event": 7, "holder": 7, "liabl": 7, "claim": 7, "damag": 7, "liabil": 7, "contract": 7, "tort": 7, "aris": 7, "connect": 7, "WITH": 7, "badg": 8, "your": 8, "readm": 8, "statu": 8, "cirru": 8, "svg": 8, "readthedoc": 8, "latest": 8, "en": 8, "stabl": 8, "coveral": 8, "img": 8, "shield": 8, "v": 8, "forg": 8, "vn": 8, "anaconda": 8, "monthli": 8, "download": 8, "pepi": 8, "tech": 8, "month": 8, "twitter": 8, "social": 8, "minimum": 8, "construct": 8, "random": 8, "print": 8, "output": 8, "complex": 8, "row1": 8, "row3": 8, "directli": 8, "dimens": 8, "variou": 8, "column1": 8, "column2": 8, "score": 8, "approach": 8, "mutat": 8, "instanc": 8, "orient": 8, "10": 8, "f1": 8, "behav": 8, "most": 8, "here": 8}, "objects": {"": [[0, 0, 0, "-", "biocframe"]], "biocframe": [[0, 0, 0, "-", "BiocFrame"], [0, 0, 0, "-", "Factor"], [1, 0, 0, "-", "io"], [0, 0, 0, "-", "types"], [0, 0, 0, "-", "utils"]], "biocframe.BiocFrame": [[0, 1, 1, "", "BiocFrame"], [0, 1, 1, "", "BiocFrameIter"]], "biocframe.BiocFrame.BiocFrame": [[0, 2, 1, "", "__array_ufunc__"], [0, 2, 1, "", "__copy__"], [0, 2, 1, "", "__deepcopy__"], [0, 2, 1, "", "__delitem__"], [0, 2, 1, "", "__getitem__"], [0, 2, 1, "", "__iter__"], [0, 2, 1, "", "__len__"], [0, 2, 1, "", "__repr__"], [0, 2, 1, "", "__setitem__"], [0, 3, 1, "", "colnames"], [0, 2, 1, "", "column"], [0, 3, 1, "id0", "column_names"], [0, 3, 1, "", "columns"], [0, 2, 1, "", "combine"], [0, 2, 1, "", "copy"], [0, 3, 1, "id3", "data"], [0, 3, 1, "", "dims"], [0, 2, 1, "", "get_column"], [0, 2, 1, "", "get_column_names"], [0, 2, 1, "", "get_mcols"], [0, 2, 1, "", "get_metadata"], [0, 2, 1, "", "get_row"], [0, 2, 1, "", "get_row_names"], [0, 2, 1, "", "has_column"], [0, 3, 1, "", "index"], [0, 3, 1, "id4", "mcols"], [0, 3, 1, "id5", "metadata"], [0, 4, 1, "", "number_of_rows"], [0, 2, 1, "", "remove_column"], [0, 2, 1, "", "row"], [0, 3, 1, "id6", "row_names"], [0, 3, 1, "", "rownames"], [0, 2, 1, "", "set_column"], [0, 2, 1, "", "set_column_names"], [0, 2, 1, "", "set_mcols"], [0, 2, 1, "", "set_metadata"], [0, 2, 1, "", "set_row_names"], [0, 3, 1, "", "shape"], [0, 2, 1, "", "slice"], [0, 2, 1, "", "to_pandas"]], "biocframe.BiocFrame.BiocFrameIter": [[0, 2, 1, "", "__iter__"], [0, 2, 1, "", "__next__"]], "biocframe.Factor": [[0, 1, 1, "", "Factor"]], "biocframe.Factor.Factor": [[0, 2, 1, "", "__copy__"], [0, 2, 1, "", "__deepcopy__"], [0, 2, 1, "", "__getitem__"], [0, 2, 1, "", "__len__"], [0, 2, 1, "", "__repr__"], [0, 2, 1, "", "__setitem__"], [0, 3, 1, "", "codes"], [0, 2, 1, "", "drop_unused_levels"], [0, 2, 1, "", "from_list"], [0, 2, 1, "", "get_codes"], [0, 2, 1, "", "get_levels"], [0, 2, 1, "", "get_ordered"], [0, 3, 1, "", "levels"], [0, 3, 1, "", "ordered"], [0, 2, 1, "", "set_levels"], [0, 2, 1, "", "to_pandas"]], "biocframe.io": [[1, 0, 0, "-", "from_pandas"]], "biocframe.io.from_pandas": [[1, 5, 1, "", "from_pandas"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:property", "4": "py:attribute", "5": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "function", "Python function"]}, "titleterms": {"biocfram": [0, 1, 2, 6, 8], "packag": [0, 1], "subpackag": 0, "submodul": [0, 1], "modul": [0, 1], "factor": [0, 8], "type": 0, "util": 0, "content": [0, 1, 6], "io": 1, "from_panda": 1, "contributor": 3, "changelog": 4, "version": 4, "0": 4, "3": 4, "develop": 4, "2": 4, "1": 4, "todo": 5, "contribut": 5, "issu": 5, "report": 5, "document": 5, "improv": 5, "code": 5, "submit": 5, "an": 5, "creat": 5, "environ": 5, "clone": 5, "repositori": 5, "implement": 5, "your": 5, "chang": 5, "troubleshoot": 5, "maintain": 5, "task": 5, "releas": 5, "instal": 6, "indic": 6, "tabl": 6, "licens": 7, "properti": 8, "setter": 8, "function": 8, "style": 8, "subset": 8, "combin": 8, "note": 8}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"biocframe package": [[0, "biocframe-package"]], "Subpackages": [[0, "subpackages"]], "Submodules": [[0, "submodules"], [1, "submodules"]], "biocframe.BiocFrame module": [[0, "module-biocframe.BiocFrame"]], "biocframe.Factor module": [[0, "module-biocframe.Factor"]], "biocframe.types module": [[0, "module-biocframe.types"]], "biocframe.utils module": [[0, "module-biocframe.utils"]], "Module contents": [[0, "module-biocframe"], [1, "module-biocframe.io"]], "biocframe.io package": [[1, "biocframe-io-package"]], "biocframe.io.from_pandas module": [[1, "module-biocframe.io.from_pandas"]], "biocframe": [[2, "biocframe"]], "Contributors": [[3, "contributors"]], "Changelog": [[4, "changelog"]], "Version 0.3 (development)": [[4, "version-0-3-development"]], "Version 0.2": [[4, "version-0-2"]], "Version 0.1": [[4, "version-0-1"]], "Todo": [[5, "id1"], [5, "id2"], [5, "id3"], [5, "id5"], [5, "id6"], [5, "id7"], [5, "id8"], [5, "id9"], [5, "id10"], [5, "id11"], [5, "id12"]], "Contributing": [[5, "contributing"]], "Issue Reports": [[5, "issue-reports"]], "Documentation Improvements": [[5, "documentation-improvements"]], "Code Contributions": [[5, "code-contributions"]], "Submit an issue": [[5, "submit-an-issue"]], "Create an environment": [[5, "create-an-environment"]], "Clone the repository": [[5, "clone-the-repository"]], "Implement your changes": [[5, "implement-your-changes"]], "Submit your contribution": [[5, "submit-your-contribution"]], "Troubleshooting": [[5, "troubleshooting"]], "Maintainer tasks": [[5, "maintainer-tasks"]], "Releases": [[5, "releases"]], "BiocFrame": [[6, "biocframe"], [8, "biocframe"], [8, "id1"]], "Install": [[6, "install"]], "Contents": [[6, "contents"]], "Indices and tables": [[6, "indices-and-tables"]], "License": [[7, "license"]], "Properties": [[8, "properties"]], "Setters": [[8, "setters"]], "Functional style": [[8, "functional-style"]], "Subset BiocFrame": [[8, "subset-biocframe"]], "Combine": [[8, "combine"]], "Factor": [[8, "factor"]], "Note": [[8, "note"]]}, "indexentries": {"biocframe (class in biocframe.biocframe)": [[0, "biocframe.BiocFrame.BiocFrame"]], "biocframeiter (class in biocframe.biocframe)": [[0, "biocframe.BiocFrame.BiocFrameIter"]], "factor (class in biocframe.factor)": [[0, "biocframe.Factor.Factor"]], "__array_ufunc__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__array_ufunc__"]], "__copy__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__copy__"]], "__copy__() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.__copy__"]], "__deepcopy__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__deepcopy__"]], "__deepcopy__() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.__deepcopy__"]], "__delitem__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__delitem__"]], "__getitem__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__getitem__"]], "__getitem__() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.__getitem__"]], "__iter__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__iter__"]], "__iter__() (biocframe.biocframe.biocframeiter method)": [[0, "biocframe.BiocFrame.BiocFrameIter.__iter__"]], "__len__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__len__"]], "__len__() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.__len__"]], "__next__() (biocframe.biocframe.biocframeiter method)": [[0, "biocframe.BiocFrame.BiocFrameIter.__next__"]], "__repr__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__repr__"]], "__repr__() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.__repr__"]], "__setitem__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__setitem__"]], "__setitem__() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.__setitem__"]], "biocframe": [[0, "module-biocframe"]], "biocframe.biocframe": [[0, "module-biocframe.BiocFrame"]], "biocframe.factor": [[0, "module-biocframe.Factor"]], "biocframe.types": [[0, "module-biocframe.types"]], "biocframe.utils": [[0, "module-biocframe.utils"]], "codes (biocframe.factor.factor property)": [[0, "biocframe.Factor.Factor.codes"]], "colnames (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.colnames"]], "column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.column"]], "column_names (biocframe.biocframe.biocframe attribute)": [[0, "biocframe.BiocFrame.BiocFrame.column_names"]], "column_names (biocframe.biocframe.biocframe property)": [[0, "id0"]], "columns (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.columns"]], "combine() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.combine"]], "copy() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.copy"]], "data (biocframe.biocframe.biocframe attribute)": [[0, "biocframe.BiocFrame.BiocFrame.data"]], "data (biocframe.biocframe.biocframe property)": [[0, "id3"]], "dims (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.dims"]], "drop_unused_levels() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.drop_unused_levels"]], "from_list() (biocframe.factor.factor static method)": [[0, "biocframe.Factor.Factor.from_list"]], "get_codes() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.get_codes"]], "get_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_column"]], "get_column_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_column_names"]], "get_levels() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.get_levels"]], "get_mcols() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_mcols"]], "get_metadata() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_metadata"]], "get_ordered() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.get_ordered"]], "get_row() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_row"]], "get_row_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_row_names"]], "has_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.has_column"]], "index (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.index"]], "levels (biocframe.factor.factor property)": [[0, "biocframe.Factor.Factor.levels"]], "mcols (biocframe.biocframe.biocframe attribute)": [[0, "biocframe.BiocFrame.BiocFrame.mcols"]], "mcols (biocframe.biocframe.biocframe property)": [[0, "id4"]], "metadata (biocframe.biocframe.biocframe attribute)": [[0, "biocframe.BiocFrame.BiocFrame.metadata"]], "metadata (biocframe.biocframe.biocframe property)": [[0, "id5"]], "module": [[0, "module-biocframe"], [0, "module-biocframe.BiocFrame"], [0, "module-biocframe.Factor"], [0, "module-biocframe.types"], [0, "module-biocframe.utils"], [1, "module-biocframe.io"], [1, "module-biocframe.io.from_pandas"]], "number_of_rows (biocframe.biocframe.biocframe attribute)": [[0, "biocframe.BiocFrame.BiocFrame.number_of_rows"]], "ordered (biocframe.factor.factor property)": [[0, "biocframe.Factor.Factor.ordered"]], "remove_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.remove_column"]], "row() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.row"]], "row_names (biocframe.biocframe.biocframe attribute)": [[0, "biocframe.BiocFrame.BiocFrame.row_names"]], "row_names (biocframe.biocframe.biocframe property)": [[0, "id6"]], "rownames (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.rownames"]], "set_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_column"]], "set_column_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_column_names"]], "set_levels() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.set_levels"]], "set_mcols() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_mcols"]], "set_metadata() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_metadata"]], "set_row_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_row_names"]], "shape (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.shape"]], "slice() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.slice"]], "to_pandas() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.to_pandas"]], "to_pandas() (biocframe.factor.factor method)": [[0, "biocframe.Factor.Factor.to_pandas"]], "biocframe.io": [[1, "module-biocframe.io"]], "biocframe.io.from_pandas": [[1, "module-biocframe.io.from_pandas"]], "from_pandas() (in module biocframe.io.from_pandas)": [[1, "biocframe.io.from_pandas.from_pandas"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["api/biocframe", "api/biocframe.io", "api/modules", "authors", "changelog", "contributing", "index", "license", "readme"], "filenames": ["api/biocframe.rst", "api/biocframe.io.rst", "api/modules.rst", "authors.md", "changelog.md", "contributing.md", "index.md", "license.md", "readme.md"], "titles": ["biocframe package", "biocframe.io package", "biocframe", "Contributors", "Changelog", "Contributing", "BiocFrame", "License", "Bioconductor-like data frames"], "terms": {"io": [0, 2, 8], "from_panda": [0, 2], "class": [0, 4, 5, 8], "data": [0, 1, 2, 6], "none": [0, 8], "number_of_row": 0, "row_nam": [0, 2, 8], "column_nam": [0, 2, 8], "column_data": [0, 2, 8], "metadata": [0, 2, 8], "valid": [0, 5], "true": [0, 5, 8], "sourc": [0, 1, 5], "base": [0, 4, 5, 8], "object": [0, 1, 4, 6], "i": [0, 4, 5, 7, 8], "an": [0, 7, 8], "altern": [0, 8], "datafram": [0, 1, 4, 8], "support": [0, 8], "nest": [0, 8], "flexibl": [0, 4], "column": [0, 2, 4, 8], "type": [0, 1, 4, 8], "inspir": 0, "dframe": [0, 8], "from": [0, 1, 4, 5, 7, 8], "bioconductor": 0, "": [0, 4, 5, 8], "s4vector": [0, 8], "ani": [0, 5, 7], "mai": [0, 4, 5], "us": [0, 4, 5, 7, 8], "provid": [0, 4, 5, 7, 8], "ha": [0, 4, 8], "some": [0, 4, 8], "concept": [0, 5, 8], "height": 0, "defin": 0, "get_height": 0, "biocutil": [0, 4, 8], "thi": [0, 4, 5, 7, 8], "default": [0, 8], "length": [0, 8], "__len__": [0, 2, 8], "The": [0, 5, 7], "abil": 0, "slice": [0, 2, 4, 8], "integ": 0, "indic": [0, 8], "implement": [0, 4, 8], "subset": [0, 8], "call": [0, 8], "__getitem__": [0, 2, 4, 8], "combin": [0, 2, 4, 6], "other": [0, 5, 7], "perform": 0, "assign": [0, 8], "allow": [0, 4, 8], "accept": [0, 8], "arbitrarili": [0, 8], "complex": [0, 8], "instanc": [0, 8], "__array_ufunc__": [0, 2], "func": 0, "method": [0, 4, 5, 8], "input": [0, 1], "kwarg": 0, "interfac": [0, 5], "numpi": 0, "arrai": 0, "note": 0, "veri": [0, 5], "primit": 0, "need": [0, 5], "test": [0, 4, 5], "differ": [0, 5, 8], "return": [0, 1, 5], "same": [0, 5, 8], "caller": 0, "__copy__": [0, 2, 4], "A": [0, 1, 4, 7, 8], "shallow": [0, 8], "copi": [0, 2, 5, 7, 8], "current": [0, 5], "__deepcopy__": [0, 2], "memo": 0, "_nil": 0, "deep": 0, "__delitem__": [0, 2], "name": [0, 4, 5, 8], "alia": 0, "remove_column": [0, 2], "in_plac": [0, 8], "As": [0, 4], "mutat": [0, 8], "origin": [0, 5, 8], "warn": 0, "rais": 0, "arg": 0, "wrapper": 0, "around": 0, "get_column": [0, 2, 8], "get_slic": [0, 2], "obtain": [0, 7], "its": [0, 5], "paramet": [0, 1, 4], "union": 0, "int": 0, "str": 0, "sequenc": [0, 8], "tupl": 0, "scalar": 0, "string": 0, "specifi": [0, 8], "retain": 0, "1": [0, 5, 6, 8], "first": [0, 5], "entri": 0, "row": [0, 2, 8], "2": [0, 5, 6, 8], "while": [0, 4, 5], "second": 0, "If": [0, 5, 8], "achiev": 0, "intern": [0, 4, 5], "new": [0, 5, 8], "contain": 0, "onli": [0, 8], "just": [0, 5, 8], "argument": [0, 4, 8], "__init__": [0, 2], "initi": [0, 4], "option": [0, 5], "dict": 0, "dictionari": [0, 8], "kei": 0, "valu": 0, "all": [0, 4, 5, 7], "must": 0, "have": [0, 5, 8], "empti": 0, "number": [0, 8], "infer": 0, "ar": [0, 4, 5, 8], "present": 0, "list": [0, 5, 8], "should": [0, 5], "miss": [0, 5], "order": [0, 5], "than": 0, "about": [0, 5], "addit": [0, 4, 5], "bool": 0, "__iter__": [0, 2], "iter": 0, "over": 0, "biocframeit": [0, 2], "__repr__": [0, 2], "represent": 0, "__setitem__": [0, 2], "set_column": [0, 2, 8], "set_slic": [0, 2], "modifi": [0, 5, 7, 8], "place": [0, 8], "assum": [0, 5, 8], "expect": [0, 4, 5], "pass": [0, 4, 5], "onto": 0, "replac": [0, 5, 8], "These": [0, 8], "properti": [0, 8], "colnam": [0, 2], "stringlist": 0, "get_column_nam": [0, 2, 8], "back": 0, "compat": [0, 5], "get_column_data": [0, 2], "panda": [0, 1, 8], "relaxed_combine_row": [0, 2, 4, 8], "get_data": [0, 2], "dim": [0, 2], "shape": [0, 2, 8], "which": [0, 5, 8], "exist": [0, 8], "index": [0, 2, 4, 5, 6], "interest": [0, 5], "annot": 0, "each": 0, "where": 0, "correspond": [0, 8], "get_metadata": [0, 2], "get_row": [0, 2, 8], "access": [0, 8], "avail": [0, 5], "see": [0, 5, 8], "get_row_nam": [0, 2], "suppli": 0, "instead": [0, 4, 5, 8], "occurr": 0, "along": [0, 8], "extract": [0, 6], "boolean": [0, 8], "thereof": 0, "normalize_subscript": 0, "treat": 0, "has_column": [0, 2], "whether": [0, 7], "fals": [0, 8], "remov": [0, 4, 5], "conveni": 0, "posit": [0, 4], "either": [0, 5, 8], "refer": [0, 4, 5, 6, 8], "rownam": [0, 2], "add": [0, 4, 5, 8], "set_column_data": [0, 2, 8], "numbero": 0, "equal": [0, 8], "set_column_nam": [0, 2, 8], "uniqu": 0, "set": [0, 4, 6], "set_metadata": [0, 2, 8], "set_row_nam": [0, 2, 8], "given": 0, "mixtur": 0, "so": [0, 7, 8], "ignor": [0, 4], "to_panda": [0, 2], "convert": 0, "obj": [0, 8], "__next__": [0, 2], "merg": [0, 2, 4, 5, 7, 8], "x": [0, 8], "join": [0, 8], "left": 0, "rename_duplicate_column": 0, "multipl": [0, 4], "togeth": 0, "common": 0, "yield": 0, "across": [0, 8], "ident": [0, 8], "locat": 0, "liter": 0, "inner": 0, "right": [0, 7], "outer": [0, 8], "strategi": 0, "For": [0, 5, 8], "we": [0, 5, 8], "consid": [0, 5], "last": 0, "respect": [0, 5], "duplic": 0, "non": [0, 5], "automat": [0, 5], "renam": 0, "error": [0, 5], "store": 0, "0": [0, 5, 6, 8], "otherwis": [0, 7, 8], "thei": [0, 5, 8], "relaxed_combine_column": [0, 2], "relax": 0, "version": [0, 5, 6, 8], "combine_row": [0, 8], "wherea": 0, "absent": 0, "fill": 0, "appropri": 0, "placehold": 0, "befor": [0, 4, 5], "One": 0, "more": [0, 4, 5, 8], "possibli": 0, "consist": [0, 4], "mask": 0, "creat": [1, 8], "packag": [2, 4, 5, 6, 8], "subpackag": 2, "submodul": 2, "modul": [2, 5, 6], "content": [2, 5], "jayaram": [3, 8], "kancherla": [3, 8], "gmail": 3, "com": [3, 5, 8], "aaron": 3, "lun": 3, "infinit": 3, "monkei": 3, "keyboard": 3, "bugfix": [4, 5], "avoid": [4, 5, 8], "effect": 4, "when": [4, 5], "function": [4, 5, 8], "style": [4, 5, 8], "onc": [4, 5], "reduc": 4, "varieti": 4, "simplifi": [4, 5], "user": [4, 5], "refactor": 4, "gener": [4, 5, 8], "releas": 4, "migrat": 4, "palat": 4, "googl": 4, "python": [4, 5], "guid": [4, 5], "major": [4, 5], "modif": [4, 8], "case": [4, 5, 8], "camelcas": 4, "now": 4, "snake_cas": 4, "In": [4, 5], "docstr": [4, 5], "document": [4, 6, 7, 8], "been": [4, 5], "updat": [4, 5, 8], "sphinx": [4, 5], "featur": [4, 5], "link": [4, 5], "also": [4, 5, 8], "privat": [4, 5], "special": 4, "dunder": 4, "e": [4, 5, 8], "g": [4, 5, 8], "etc": 4, "intersphinx": 4, "depend": [4, 5], "configur": [4, 5], "flake8": [4, 5], "ruff": 4, "black": [4, 5], "ad": [4, 5], "pyproject": 4, "toml": 4, "setup": [4, 5], "cfg": [4, 5], "less": 4, "annoi": 4, "pyscaffold": [4, 5], "myst": [4, 5], "parser": 4, "markdown": 4, "compil": [4, 5], "recommonmark": 4, "part": [4, 5, 8], "one": [4, 5], "pre": [4, 5], "commit": [4, 5], "run": [4, 5], "routin": 4, "task": [4, 6], "lint": 4, "format": 4, "everi": 4, "sometim": [4, 5], "can": [4, 5, 8], "verifi": 4, "bring": 4, "code": [4, 6], "biocfram": [4, 5, 8], "creation": 4, "github": [4, 5, 8], "action": [4, 7], "suppos": 5, "TO": [5, 7], "BE": [5, 7], "exampl": [5, 8], "IT": 5, "accord": 5, "you": [5, 8], "servic": 5, "promot": 5, "model": 5, "similar": 5, "fork": 5, "pull": 5, "request": 5, "workflow": 5, "like": 5, "gitlab": 5, "bitbucket": 5, "might": [5, 8], "gerrit": 5, "notic": [5, 7], "url": [5, 8], "text": 5, "specif": 5, "terminologi": 5, "pleas": [5, 8], "make": [5, 8], "sure": 5, "check": [5, 8], "assumpt": [5, 8], "mind": 5, "thing": 5, "accordingli": [5, 8], "correct": 5, "bottom": 5, "want": [5, 8], "look": 5, "contributor": 5, "especi": 5, "project": [5, 8], "open": 5, "templat": 5, "few": 5, "extra": 5, "decid": 5, "includ": [5, 7], "mention": 5, "label": [5, 8], "tracker": 5, "autom": 5, "welcom": 5, "focus": 5, "get": [5, 8], "potenti": 5, "familiar": 5, "develop": 5, "process": 5, "kind": [5, 7], "appreci": 5, "git": 5, "never": 5, "collabor": 5, "previous": 5, "org": [5, 8], "resourc": 5, "excel": 5, "freecodecamp": 5, "consider": 5, "reason": 5, "doubt": 5, "softwar": [5, 7], "foundat": 5, "conduct": 5, "good": 5, "term": 5, "behavior": 5, "guidelin": 5, "experi": 5, "bug": 5, "don": 5, "t": 5, "anyth": 5, "feel": 5, "free": [5, 7], "fire": 5, "forget": 5, "close": 5, "search": [5, 6], "solut": 5, "wa": [5, 8], "alreadi": 5, "problem": 5, "solv": 5, "inform": 5, "program": [5, 8], "oper": [5, 8], "system": 5, "step": 5, "reproduc": 5, "try": 5, "reproduct": 5, "minim": 5, "still": 5, "illustr": 5, "face": 5, "By": [5, 8], "factor": 5, "help": [5, 6], "u": [5, 8], "identifi": 5, "root": 5, "caus": 5, "doc": 5, "them": 5, "readabl": 5, "coher": 5, "mistak": 5, "main": [5, 8], "mean": 5, "kept": 5, "done": 5, "wai": 5, "markup": 5, "languag": 5, "restructuredtext": 5, "commonmark": 5, "extens": 5, "host": 5, "follow": [5, 7], "tip": 5, "web": 5, "quick": 5, "propos": 5, "file": [5, 7], "mechan": 5, "tricki": 5, "normal": 5, "work": 5, "perfectli": 5, "fine": 5, "quit": 5, "handi": 5, "out": [5, 7, 8], "navig": 5, "folder": 5, "find": 5, "would": 5, "click": 5, "littl": 5, "pencil": 5, "icon": 5, "top": 5, "editor": 5, "finish": 5, "edit": 5, "write": 5, "messag": 5, "form": 5, "page": [5, 6], "describ": 5, "made": 5, "what": 5, "motiv": 5, "behind": 5, "local": 5, "machin": 5, "tox": 5, "built": [5, 8], "server": [5, 8], "preview": 5, "browser": 5, "http": [5, 8], "localhost": 5, "8000": 5, "python3": 5, "m": 5, "directori": 5, "_build": 5, "html": 5, "explan": 5, "architectur": 5, "descript": 5, "design": 5, "principl": 5, "least": 5, "summari": 5, "easi": 5, "start": [5, 8], "quickli": 5, "trivial": 5, "best": [5, 8], "discuss": 5, "subject": [5, 7], "often": [5, 8], "unnecessari": 5, "recommend": 5, "isol": 5, "virtual": 5, "instal": [5, 8], "easili": 5, "via": [5, 8], "virtualenv": 5, "path": 5, "venv": 5, "bin": 5, "activ": 5, "miniconda": 5, "conda": [5, 8], "n": 5, "3": [5, 6, 8], "six": 5, "pytest": 5, "cov": 5, "account": 5, "do": [5, 7, 8], "button": 5, "under": 5, "disk": 5, "yourlogin": 5, "cd": 5, "pip": [5, 8], "setuptool": 5, "abl": 5, "import": [5, 8], "repl": 5, "item": 5, "come": 5, "lot": 5, "hook": 5, "being": [5, 8], "written": 5, "branch": [5, 8], "hold": 5, "checkout": 5, "b": [5, 8], "my": 5, "public": 5, "api": [5, 8], "yourself": 5, "author": [5, 6, 7, 8], "rst": 5, "re": 5, "record": 5, "fix": 5, "eventu": 5, "unit": 5, "moreov": 5, "highli": 5, "histori": 5, "log": 5, "graph": 5, "decor": 5, "pretti": 5, "onelin": 5, "abbrev": 5, "recur": 5, "commun": 5, "pattern": 5, "break": 5, "after": 5, "pipx": 5, "sever": 5, "av": 5, "everyth": 5, "push": 5, "remot": 5, "go": 5, "send": 5, "review": 5, "uncom": 5, "paragraph": 5, "detail": [5, 8], "pr": 5, "draft": 5, "mark": 5, "readi": 5, "feedback": 5, "continu": 5, "integr": 5, "ci": [5, 8], "requir": 5, "build": 5, "fetch": [5, 8], "tag": 5, "upstream": 5, "command": 5, "script": 5, "egg": 5, "complet": 5, "well": 5, "info": 5, "src": 5, "txt": 5, "recreat": 5, "r": [5, 8], "flag": 5, "reliabl": 5, "7": [5, 8], "OR": [5, 7], "troubl": 5, "weird": 5, "upon": 5, "dedic": 5, "binari": 5, "freshli": 5, "drop": 5, "interact": 5, "session": 5, "occur": 5, "pdb": 5, "k": 5, "OF": [5, 7], "THE": [5, 7], "fall": 5, "breakpoint": 5, "manual": 5, "section": 5, "pypi": [5, 8], "publicli": 5, "instruct": 5, "group": 5, "permiss": [5, 7], "success": 5, "v1": 5, "clean": 5, "up": 5, "dist": 5, "rm": 5, "rf": 5, "confus": 5, "old": 5, "dirti": 5, "hash": 5, "size": 5, "distribut": [5, 7], "too": 5, "big": 5, "500kb": 5, "unwant": 5, "clutter": 5, "accident": 5, "publish": [5, 7], "upload": 5, "correctli": 5, "definit": 5, "even": [5, 8], "though": 5, "focu": 5, "idea": 5, "collect": 5, "appli": 5, "sort": 5, "compani": 5, "proprietari": 5, "overview": 6, "construct": 6, "further": 6, "read": 6, "contribut": 6, "issu": 6, "report": 6, "improv": 6, "maintain": 6, "licens": 6, "changelog": 6, "5": [6, 8], "mit": 7, "copyright": 7, "c": [7, 8], "2022": 7, "genentech": 7, "inc": 7, "herebi": 7, "grant": 7, "charg": 7, "person": 7, "associ": 7, "deal": 7, "without": 7, "restrict": 7, "limit": 7, "sublicens": 7, "sell": 7, "permit": 7, "whom": 7, "furnish": 7, "condit": 7, "abov": [7, 8], "shall": 7, "substanti": 7, "portion": 7, "AS": 7, "warranti": 7, "express": 7, "impli": 7, "BUT": 7, "NOT": 7, "merchant": 7, "fit": 7, "FOR": 7, "particular": 7, "purpos": 7, "AND": 7, "noninfring": 7, "IN": 7, "NO": 7, "event": 7, "holder": 7, "liabl": 7, "claim": 7, "damag": 7, "liabil": 7, "contract": 7, "tort": 7, "aris": 7, "connect": 7, "WITH": 7, "badg": 8, "your": 8, "readm": 8, "statu": 8, "cirru": 8, "svg": 8, "readthedoc": 8, "latest": 8, "en": 8, "stabl": 8, "coveral": 8, "img": 8, "shield": 8, "v": 8, "forg": 8, "vn": 8, "anaconda": 8, "monthli": 8, "download": 8, "pepi": 8, "tech": 8, "month": 8, "twitter": 8, "social": 8, "friendli": 8, "advantag": 8, "long": 8, "insid": 8, "To": 8, "simpli": 8, "ensembl": 8, "ens00001": 8, "ens00002": 8, "ens00003": 8, "symbol": 8, "map1a": 8, "bin1": 8, "esr1": 8, "bframe": 8, "print": 8, "anoth": 8, "rang": 8, "chr": 8, "chr1": 8, "chr2": 8, "chr3": 8, "1000": 8, "1100": 8, "5000": 8, "end": 8, "4000": 8, "5500": 8, "bframe2": 8, "row1": 8, "row2": 8, "row3": 8, "directli": 8, "individu": 8, "And": 8, "vector": 8, "column1": 8, "short": 8, "hand": 8, "singl": 8, "encourag": 8, "inadvert": 8, "larger": 8, "structur": 8, "column2": 8, "unchang": 8, "new_col_nam": 8, "4": 8, "chang": 8, "foo": 8, "bar": 8, "alpha": 8, "bravo": 8, "charli": 8, "entir": 8, "column_sourc": 8, "hgnc": 8, "direct": 8, "silent": 8, "nonetheless": 8, "testfram": 8, "6": 8, "similarli": 8, "could": 8, "y": 8, "f": 8, "set_": 8, "It": 8, "anywher": 8, "els": 8, "safer": 8, "variou": 8, "bframe1": 8, "odd": 8, "9": 8, "8": 8, "11": 8, "33": 8, "55": 8, "77": 8, "99": 8, "22": 8, "44": 8, "66": 8, "88": 8, "10": 8, "bframe3": 8, "d": 8, "combine_column": 8, "both": 8, "modified2": 8, "modified1": 8, "modified3": 8}, "objects": {"": [[0, 0, 0, "-", "biocframe"]], "biocframe": [[0, 0, 0, "-", "BiocFrame"], [1, 0, 0, "-", "io"]], "biocframe.BiocFrame": [[0, 1, 1, "", "BiocFrame"], [0, 1, 1, "", "BiocFrameIter"], [0, 4, 1, "", "merge"], [0, 4, 1, "", "relaxed_combine_columns"], [0, 4, 1, "", "relaxed_combine_rows"]], "biocframe.BiocFrame.BiocFrame": [[0, 2, 1, "", "__array_ufunc__"], [0, 2, 1, "", "__copy__"], [0, 2, 1, "", "__deepcopy__"], [0, 2, 1, "", "__delitem__"], [0, 2, 1, "", "__getitem__"], [0, 2, 1, "", "__init__"], [0, 2, 1, "", "__iter__"], [0, 2, 1, "", "__len__"], [0, 2, 1, "", "__repr__"], [0, 2, 1, "", "__setitem__"], [0, 3, 1, "", "colnames"], [0, 2, 1, "", "column"], [0, 3, 1, "", "column_data"], [0, 3, 1, "", "column_names"], [0, 3, 1, "", "columns"], [0, 2, 1, "", "combine"], [0, 2, 1, "", "copy"], [0, 3, 1, "", "data"], [0, 3, 1, "", "dims"], [0, 2, 1, "", "get_column"], [0, 2, 1, "", "get_column_data"], [0, 2, 1, "", "get_column_names"], [0, 2, 1, "", "get_data"], [0, 2, 1, "", "get_metadata"], [0, 2, 1, "", "get_row"], [0, 2, 1, "", "get_row_names"], [0, 2, 1, "", "get_slice"], [0, 2, 1, "", "has_column"], [0, 3, 1, "", "index"], [0, 3, 1, "", "metadata"], [0, 2, 1, "", "remove_column"], [0, 2, 1, "", "remove_columns"], [0, 2, 1, "", "row"], [0, 3, 1, "", "row_names"], [0, 3, 1, "", "rownames"], [0, 2, 1, "", "set_column"], [0, 2, 1, "", "set_column_data"], [0, 2, 1, "", "set_column_names"], [0, 2, 1, "", "set_columns"], [0, 2, 1, "", "set_metadata"], [0, 2, 1, "", "set_row_names"], [0, 2, 1, "", "set_slice"], [0, 3, 1, "", "shape"], [0, 2, 1, "", "slice"], [0, 2, 1, "", "to_pandas"]], "biocframe.BiocFrame.BiocFrameIter": [[0, 2, 1, "", "__init__"], [0, 2, 1, "", "__iter__"], [0, 2, 1, "", "__next__"]], "biocframe.io": [[1, 0, 0, "-", "from_pandas"]], "biocframe.io.from_pandas": [[1, 4, 1, "", "from_pandas"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:property", "4": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"], "4": ["py", "function", "Python function"]}, "titleterms": {"biocfram": [0, 1, 2, 6], "packag": [0, 1], "subpackag": 0, "submodul": [0, 1], "modul": [0, 1], "content": [0, 1, 6], "io": 1, "from_panda": 1, "contributor": 3, "changelog": 4, "version": 4, "0": 4, "5": 4, "3": 4, "2": 4, "1": 4, "todo": 5, "contribut": 5, "issu": 5, "report": 5, "document": 5, "improv": 5, "code": 5, "submit": 5, "an": 5, "creat": 5, "environ": 5, "clone": 5, "repositori": 5, "implement": 5, "your": 5, "chang": 5, "troubleshoot": 5, "maintain": 5, "task": 5, "releas": 5, "indic": 6, "tabl": 6, "licens": 7, "bioconductor": 8, "like": 8, "data": 8, "frame": 8, "overview": 8, "construct": 8, "extract": 8, "set": 8, "prefer": 8, "approach": 8, "The": 8, "other": 8, "wai": 8, "combin": 8, "object": 8, "further": 8, "read": 8}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"biocframe package": [[0, "biocframe-package"]], "Subpackages": [[0, "subpackages"]], "Submodules": [[0, "submodules"], [1, "submodules"]], "biocframe.BiocFrame module": [[0, "module-biocframe.BiocFrame"]], "Module contents": [[0, "module-biocframe"], [1, "module-biocframe.io"]], "biocframe.io package": [[1, "biocframe-io-package"]], "biocframe.io.from_pandas module": [[1, "module-biocframe.io.from_pandas"]], "biocframe": [[2, "biocframe"]], "Contributors": [[3, "contributors"]], "Changelog": [[4, "changelog"]], "Version 0.5": [[4, "version-0-5"]], "Version 0.3": [[4, "version-0-3"]], "Version 0.2": [[4, "version-0-2"]], "Version 0.1": [[4, "version-0-1"]], "Todo": [[5, "id1"], [5, "id2"], [5, "id3"], [5, "id5"], [5, "id6"], [5, "id7"], [5, "id8"], [5, "id9"], [5, "id10"], [5, "id11"], [5, "id12"]], "Contributing": [[5, "contributing"]], "Issue Reports": [[5, "issue-reports"]], "Documentation Improvements": [[5, "documentation-improvements"]], "Code Contributions": [[5, "code-contributions"]], "Submit an issue": [[5, "submit-an-issue"]], "Create an environment": [[5, "create-an-environment"]], "Clone the repository": [[5, "clone-the-repository"]], "Implement your changes": [[5, "implement-your-changes"]], "Submit your contribution": [[5, "submit-your-contribution"]], "Troubleshooting": [[5, "troubleshooting"]], "Maintainer tasks": [[5, "maintainer-tasks"]], "Releases": [[5, "releases"]], "BiocFrame": [[6, "biocframe"]], "Contents": [[6, "contents"]], "Indices and tables": [[6, "indices-and-tables"]], "License": [[7, "license"]], "Bioconductor-like data frames": [[8, "bioconductor-like-data-frames"]], "Overview": [[8, "overview"]], "Construction": [[8, "construction"]], "Extracting data": [[8, "extracting-data"]], "Setting data": [[8, "setting-data"]], "Preferred approach": [[8, "preferred-approach"]], "The other way": [[8, "the-other-way"]], "Combining objects": [[8, "combining-objects"]], "Further reading": [[8, "further-reading"]]}, "indexentries": {"biocframe (class in biocframe.biocframe)": [[0, "biocframe.BiocFrame.BiocFrame"]], "biocframeiter (class in biocframe.biocframe)": [[0, "biocframe.BiocFrame.BiocFrameIter"]], "__array_ufunc__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__array_ufunc__"]], "__copy__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__copy__"]], "__deepcopy__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__deepcopy__"]], "__delitem__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__delitem__"]], "__getitem__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__getitem__"]], "__init__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__init__"]], "__init__() (biocframe.biocframe.biocframeiter method)": [[0, "biocframe.BiocFrame.BiocFrameIter.__init__"]], "__iter__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__iter__"]], "__iter__() (biocframe.biocframe.biocframeiter method)": [[0, "biocframe.BiocFrame.BiocFrameIter.__iter__"]], "__len__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__len__"]], "__next__() (biocframe.biocframe.biocframeiter method)": [[0, "biocframe.BiocFrame.BiocFrameIter.__next__"]], "__repr__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__repr__"]], "__setitem__() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.__setitem__"]], "biocframe": [[0, "module-biocframe"]], "biocframe.biocframe": [[0, "module-biocframe.BiocFrame"]], "colnames (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.colnames"]], "column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.column"]], "column_data (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.column_data"]], "column_names (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.column_names"]], "columns (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.columns"]], "combine() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.combine"]], "copy() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.copy"]], "data (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.data"]], "dims (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.dims"]], "get_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_column"]], "get_column_data() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_column_data"]], "get_column_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_column_names"]], "get_data() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_data"]], "get_metadata() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_metadata"]], "get_row() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_row"]], "get_row_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_row_names"]], "get_slice() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.get_slice"]], "has_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.has_column"]], "index (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.index"]], "merge() (in module biocframe.biocframe)": [[0, "biocframe.BiocFrame.merge"]], "metadata (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.metadata"]], "module": [[0, "module-biocframe"], [0, "module-biocframe.BiocFrame"], [1, "module-biocframe.io"], [1, "module-biocframe.io.from_pandas"]], "relaxed_combine_columns() (in module biocframe.biocframe)": [[0, "biocframe.BiocFrame.relaxed_combine_columns"]], "relaxed_combine_rows() (in module biocframe.biocframe)": [[0, "biocframe.BiocFrame.relaxed_combine_rows"]], "remove_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.remove_column"]], "remove_columns() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.remove_columns"]], "row() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.row"]], "row_names (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.row_names"]], "rownames (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.rownames"]], "set_column() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_column"]], "set_column_data() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_column_data"]], "set_column_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_column_names"]], "set_columns() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_columns"]], "set_metadata() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_metadata"]], "set_row_names() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_row_names"]], "set_slice() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.set_slice"]], "shape (biocframe.biocframe.biocframe property)": [[0, "biocframe.BiocFrame.BiocFrame.shape"]], "slice() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.slice"]], "to_pandas() (biocframe.biocframe.biocframe method)": [[0, "biocframe.BiocFrame.BiocFrame.to_pandas"]], "biocframe.io": [[1, "module-biocframe.io"]], "biocframe.io.from_pandas": [[1, "module-biocframe.io.from_pandas"]], "from_pandas() (in module biocframe.io.from_pandas)": [[1, "biocframe.io.from_pandas.from_pandas"]]}}) \ No newline at end of file