| |
- Boost.Python.enum(builtins.int)
-
- column_type
- filter_action
- limit_type
- merge_type
- plot_type
- report_file_type
- row_type
- Boost.Python.instance(builtins.object)
-
- Capability
- MainDataset
- VariableSettings
class Capability(Boost.Python.instance) |
|
Contains six capability analysis for a variable |
|
- Method resolution order:
- Capability
- Boost.Python.instance
- builtins.object
Methods defined here:
- __init__(...)
- Raises an exception
This class cannot be instantiated from Python
- __reduce__ = (...)
Data descriptors defined here:
- CPL
- CPU
- Cp
- Cpk
- Cpm
- LSL
- PPL
- PPM_observed
- PPM_predicted_overall
- PPM_predicted_sample
- PPU
- Pp
- Ppk
- Ppm
- USL
- average_overall
- average_sample
- shapiro_wilk_p
- shapiro_wilk_w
- stddev_overall
- stddev_sample
- target
- variable_name
- The name of the variable.
Methods inherited from Boost.Python.instance:
- __new__(*args, **kwargs) from Boost.Python.class
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from Boost.Python.instance:
- __dict__
- __weakref__
|
class MainDataset(Boost.Python.instance) |
|
Represents the main dataset used by Easy Analytics |
|
- Method resolution order:
- MainDataset
- Boost.Python.instance
- builtins.object
Methods defined here:
- __init__(...)
- Raises an exception
This class cannot be instantiated from Python
- __reduce__ = (...)
- add_category_filter(...)
- add_category_filter( (MainDataset)self, (str)name, (filter_action)action, (list)categories [, (str)replace_with='']) -> None :
Add a category filter for the specified variable.
name --- The name of the variable.
action --- What action to take when the filter finds a match.
categories --- The categories that the filter applies to.
replace_with --- The value that will replace matching values.
This argument is ignored if action != filter_action.replace
- add_data(...)
- add_data( (MainDataset)arg1, (int)index [, (bool)down=True [, (merge_type)merge_type=umetrics.easy_analytics.merge_type.full_outer_merge [, (object)match_existing_on=1 [, (object)match_added_on=1 [, (int)align_ix=-1]]]]]) -> None :
Adds data to the main dataset.
index --- The index of the data, 0 for the first.
Note that a dataset can only be added once to the main dataset.
down --- Merge direction. If True, the new data will be added below the existing data
otherwise to the right of the existing data (ignored if this is the first dataset added).
merge_type --- What type of merge to use (ignored if this is the first dataset added).
match_existing_on --- Which row/column or list of rows/columns in the existing main dataset to use when merging with the new data.
If 'down' is True, this is a row index, if it is false it is a column index
A value of 0 means that the column/row numbers should be used.
This parameter is ignored if it is the first dataset added.
if merge_type is align_to_first or align_to_second and more than one column is supplied
it is the last column specified that is aligned, the other columns will be matched exactly
match_added_on --- Which row/column or list of rows/columns in the added data to use when merging with the existing data.
See match_existing_on for further information.
align_ix --- the index in match_added_on and match_existing_on for which column pair that should be used for align
-1 to not align and match all exactly.
- add_match_filter(...)
- add_match_filter( (MainDataset)self, (str)name, (filter_action)action, (str)match [, (bool)case_sensitive=True [, (bool)whole_word=True [, (bool)use_wild_cards=False [, (bool)use_regular_expression=False [, (bool)match_not_equal=False [, (str)replace_with='']]]]]]) -> None :
Add a match filter for the specified variable.
name --- The name of the variable, if empty the filter will apply to all variables
action --- What action to take when the filter finds a match.
match --- The string to search for, empty to match missing values.
case_sensitive --- case sensitive match
whole_word --- if TRUE, match the whole cell, else all sells containing the match will be found
use_wild_cards --- use wild cards like * in the match string, ignored if use_regular_expression is true
use_regular_expression --- use regular expressions in the match string
match_not_equal --- find the cells not matching the string
replace_with --- The value that will replace matching values.
This argument is ignored if action != filter_action.replace
- add_range_filter(...)
- add_range_filter( (MainDataset)self, (str)name, (filter_action)action [, (object)min=nan [, (object)max=nan [, (object)replace_with='']]]) -> None :
Adds a filter for the specified variable.
name --- The name of the variable.
action --- What action to take when the filter finds a match.
min --- The minimum value a variable can have. If the variable is date/time variable, it can be a datetime.datetime or datetime.date object or the number of seconds since 1970-01-01 in UTC time.
If there is no minimum value, use float('NaN')
max --- The maximum value a variable can have. If the variable is date/time variable, it can be a datetime.datetime or datetime.date object or the number of seconds since 1970-01-01 in UTC time.
If there is no maximum value, use float('NaN')
replace_with --- The value that should replace values outside the limits.
This argument is ignored if action != filter_action.replace
- clear(...)
- clear( (MainDataset)self) -> None :
Clears the main dataset.
- export_to_simca(...)
- export_to_simca( (MainDataset)self, (str)project_path) -> None :
Creates a new SIMCA project.
If the project file already exists it will be over written.
project_path --- The full path of the new project
- get_column_categories(...)
- get_column_categories( (MainDataset)self, (int)column) -> list :
Returns a list of strings containing the categories of a column.
Categories are all unique strings in the column.
- get_column_types(...)
- get_column_types( (MainDataset)self) -> list :
Returns a list of ColumnType containing the classification of each column.
- get_data(...)
- get_data( (MainDataset)self) -> ImportData :
Returns the data of the main dataset. If no data has been added, the method returns None.
Note that it returns a copy of the data. Changing the returned data will not change the main dataset.
- get_data_item_names(...)
- get_data_item_names( (MainDataset)self) -> list :
Returns the names of the data items that have been added to the dataset in the order they where added.
- get_row_types(...)
- get_row_types( (MainDataset)self) -> list :
Returns a list of RowType containing the classification of each row.
- remove_data(...)
- remove_data( (MainDataset)self, (int)index) -> None :
Removes a data item from the main dataset.
- set_column_type(...)
- set_column_type( (MainDataset)self, (int)column, (column_type)column_type [, (str)date_format='']) -> None :
Returns a list of ColumnType containing the classification of each column.column --- index of the column to change.
column_type --- the new column_type.
- set_row_type(...)
- set_row_type( (MainDataset)self, (int)row, (row_type)row_type) -> None :
Returns a list of RowType containing the classification of each row.
row --- index of the row to change.
row_type --- the new row_type.
Methods inherited from Boost.Python.instance:
- __new__(*args, **kwargs) from Boost.Python.class
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from Boost.Python.instance:
- __dict__
- __weakref__
|
class VariableSettings(Boost.Python.instance) |
|
Contains specific settings for a variable |
|
- Method resolution order:
- VariableSettings
- Boost.Python.instance
- builtins.object
Methods defined here:
- __init__(...)
- Raises an exception
This class cannot be instantiated from Python
- __reduce__ = (...)
- get_limit(...)
- get_limit( (VariableSettings)self, (limit_type)limit_type) -> object :
Get the limit value for a variable.
- get_name(...)
- get_name( (VariableSettings)self) -> str :
Returns the name of the variable.
- set_limit(...)
- set_limit( (VariableSettings)self, (limit_type)limit_type, (object)value) -> None :
Adds a limit for the variable.
limit_type --- The type of limit to add.
value --- The limit value
- set_scale(...)
- set_scale( (VariableSettings)self, (object)min, (object)max) -> None :
Set the axis scale to use with this variable.
Static methods defined here:
- get_global_settings_file_name(...)
- get_global_settings_file_name() -> str :
Returns the full path of the file that stores the global variable_settings.
- import_global_settings(...)
- import_global_settings( (str)file_name) -> None :
Reads variable settings and adds them to the global variable settings
- save_settings(...)
- save_settings( (str)file_name) -> None :
Saves the current variable settings to a file.
Data descriptors defined here:
- color
- Get or set the color used when plotting a variable.
The value is an ARGB (alpha, red, green and blue channels) value.
or None if the color is chosen automatically.
Each channel can have a value between 0 and 255.
To get the value of the individual channels you can use:
(color & 0xFF000000) >> 24 for the alpha channel.
(color & 0x00FF0000) >> 16 for the red channel.
(color & 0x0000FF00) >> 8 for the green channel.
color & 0x000000FF for the blue channel.
To set the color you can use a tuple containing the color channel values or an integer.
Example: The color misty rose has a red color value of 255 (hexadecimal FF), green 228 (hexadecimal E4)
and blue 225 (hexadecimal E1).
To set opaque misty rose you can either use:
color = (255, 228, 225, 255)
or:
color=0xFFFFE4E1
The last 255 in the tuple and the first FF in the hexadecimal value is the alpha channel value (opaque).
For opaque colors this can be omitted in the tuple so you can use:
color = (255, 228, 225)
- max
- Get or set the maximum axis scale for a variable
- min
- Get or set the minimum axis scale for a variable
- sd_limits
- Get or set the Std.dev limits for a variable.
A list containing the standard deviation limits to use.
- time_format
- Get or set the display date and time format for a variable.
A string with the date/time format to be used for display.
- we_average
- Get or set the custom average value for this variable used in western electrics analysis.
- we_stddev
- Get or set the custom value for 1 standard deviation of this variable used in and western electric rules (average + stddev = zone c.)
Methods inherited from Boost.Python.instance:
- __new__(*args, **kwargs) from Boost.Python.class
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from Boost.Python.instance:
- __dict__
- __weakref__
|
class column_type(Boost.Python.enum) |
|
The type of a column. |
|
- Method resolution order:
- column_type
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- batch_id = umetrics.easy_analytics.column_type.batch_id
- categorical = umetrics.easy_analytics.column_type.categorical
- date_time = umetrics.easy_analytics.column_type.date_time
- excluded = umetrics.easy_analytics.column_type.excluded
- names = {'batch_id': umetrics.easy_analytics.column_type.batch_id, 'categorical': umetrics.easy_analytics.column_type.categorical, 'date_time': umetrics.easy_analytics.column_type.date_time, 'excluded': umetrics.easy_analytics.column_type.excluded, 'numbers': umetrics.easy_analytics.column_type.numbers, 'phase_id': umetrics.easy_analytics.column_type.phase_id, 'row_id': umetrics.easy_analytics.column_type.row_id}
- numbers = umetrics.easy_analytics.column_type.numbers
- phase_id = umetrics.easy_analytics.column_type.phase_id
- row_id = umetrics.easy_analytics.column_type.row_id
- values = {1: umetrics.easy_analytics.column_type.row_id, 2: umetrics.easy_analytics.column_type.date_time, 3: umetrics.easy_analytics.column_type.categorical, 4: umetrics.easy_analytics.column_type.numbers, 5: umetrics.easy_analytics.column_type.excluded, 6: umetrics.easy_analytics.column_type.batch_id, 7: umetrics.easy_analytics.column_type.phase_id}
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
|
class filter_action(Boost.Python.enum) |
|
The action to be taken when a main dataset filter finds a matching value.
replace --- Replace the value with another value.
last_good_value --- Replace the value with the last good value.
delete_row --- Delete the row from the dataset. |
|
- Method resolution order:
- filter_action
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- delete_row = umetrics.easy_analytics.filter_action.delete_row
- last_good_value = umetrics.easy_analytics.filter_action.last_good_value
- names = {'delete_row': umetrics.easy_analytics.filter_action.delete_row, 'last_good_value': umetrics.easy_analytics.filter_action.last_good_value, 'replace': umetrics.easy_analytics.filter_action.replace}
- replace = umetrics.easy_analytics.filter_action.replace
- values = {0: umetrics.easy_analytics.filter_action.replace, 1: umetrics.easy_analytics.filter_action.last_good_value, 2: umetrics.easy_analytics.filter_action.delete_row}
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
|
class limit_type(Boost.Python.enum) |
|
Different limits that can be set on a variable the limits are used in plots containing the variable.
upper_limit
target
lower_limit |
|
- Method resolution order:
- limit_type
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- lower_limit = umetrics.easy_analytics.limit_type.lower_limit
- names = {'lower_limit': umetrics.easy_analytics.limit_type.lower_limit, 'target': umetrics.easy_analytics.limit_type.target, 'upper_limit': umetrics.easy_analytics.limit_type.upper_limit}
- target = umetrics.easy_analytics.limit_type.target
- upper_limit = umetrics.easy_analytics.limit_type.upper_limit
- values = {0: umetrics.easy_analytics.limit_type.upper_limit, 1: umetrics.easy_analytics.limit_type.target, 2: umetrics.easy_analytics.limit_type.lower_limit}
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
|
class merge_type(Boost.Python.enum) |
|
Different types of merge between two datasets.
full_outer_merge --- All rows from both datasets that have matching criteria are merged
and rows from the two datasets that doesn't match are also added with
with the part from the other dataset missing.
intersection --- All rows from both datasets that have matching criteria are merged.
Rows that doesn't match the other dataset are dropped.
left_outer_merge --- All rows from the first dataset are kept and rows from the second
dataset that matches the first are merged into the new dataset.
The rest of the second dataset is dropped.
right_outer_merge --- All rows from the second dataset are kept and rows from the first
dataset that matches the second are merged into the new dataset.
The rest of the first dataset is dropped. |
|
- Method resolution order:
- merge_type
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- full_outer_merge = umetrics.easy_analytics.merge_type.full_outer_merge
- intersection = umetrics.easy_analytics.merge_type.intersection
- left_outer_merge = umetrics.easy_analytics.merge_type.left_outer_merge
- names = {'full_outer_merge': umetrics.easy_analytics.merge_type.full_outer_merge, 'intersection': umetrics.easy_analytics.merge_type.intersection, 'left_outer_merge': umetrics.easy_analytics.merge_type.left_outer_merge, 'right_outer_merge': umetrics.easy_analytics.merge_type.right_outer_merge}
- right_outer_merge = umetrics.easy_analytics.merge_type.right_outer_merge
- values = {1: umetrics.easy_analytics.merge_type.intersection, 2: umetrics.easy_analytics.merge_type.full_outer_merge, 3: umetrics.easy_analytics.merge_type.left_outer_merge, 4: umetrics.easy_analytics.merge_type.right_outer_merge}
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
|
class plot_type(Boost.Python.enum) |
|
Different plot types.
One of line, column, histogram, scatter, deviation_analysis, western_electric_rules or capability_analysis. |
|
- Method resolution order:
- plot_type
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- capability_analysis = umetrics.easy_analytics.plot_type.capability_analysis
- column = umetrics.easy_analytics.plot_type.column
- deviation_analysis = umetrics.easy_analytics.plot_type.deviation_analysis
- histogram = umetrics.easy_analytics.plot_type.histogram
- line = umetrics.easy_analytics.plot_type.line
- names = {'capability_analysis': umetrics.easy_analytics.plot_type.capability_analysis, 'column': umetrics.easy_analytics.plot_type.column, 'deviation_analysis': umetrics.easy_analytics.plot_type.deviation_analysis, 'histogram': umetrics.easy_analytics.plot_type.histogram, 'line': umetrics.easy_analytics.plot_type.line, 'scatter': umetrics.easy_analytics.plot_type.scatter, 'western_electric_rules': umetrics.easy_analytics.plot_type.western_electric_rules}
- scatter = umetrics.easy_analytics.plot_type.scatter
- values = {1: umetrics.easy_analytics.plot_type.line, 2: umetrics.easy_analytics.plot_type.column, 3: umetrics.easy_analytics.plot_type.histogram, 4: umetrics.easy_analytics.plot_type.scatter, 5: umetrics.easy_analytics.plot_type.deviation_analysis, 6: umetrics.easy_analytics.plot_type.western_electric_rules, 7: umetrics.easy_analytics.plot_type.capability_analysis}
- western_electric_rules = umetrics.easy_analytics.plot_type.western_electric_rules
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
|
class report_file_type(Boost.Python.enum) |
|
Supported file types when saving a report.
HTML - A normal html file. Images will be saved in a separate sub directory.
MHT - A html file with images embedded in the file.
This file type is only supported by Internet Explorer and Microsoft Edge.
PDF - An Acrobat Reader document. |
|
- Method resolution order:
- report_file_type
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- HTML = umetrics.easy_analytics.report_file_type.HTML
- MHT = umetrics.easy_analytics.report_file_type.MHT
- PDF = umetrics.easy_analytics.report_file_type.PDF
- names = {'HTML': umetrics.easy_analytics.report_file_type.HTML, 'MHT': umetrics.easy_analytics.report_file_type.MHT, 'PDF': umetrics.easy_analytics.report_file_type.PDF}
- values = {0: umetrics.easy_analytics.report_file_type.HTML, 1: umetrics.easy_analytics.report_file_type.MHT, 2: umetrics.easy_analytics.report_file_type.PDF}
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
|
class row_type(Boost.Python.enum) |
|
The type of a row. |
|
- Method resolution order:
- row_type
- Boost.Python.enum
- builtins.int
- builtins.object
Data and other attributes defined here:
- column_id = umetrics.easy_analytics.row_type.column_id
- data = umetrics.easy_analytics.row_type.data
- excluded = umetrics.easy_analytics.row_type.excluded
- names = {'column_id': umetrics.easy_analytics.row_type.column_id, 'data': umetrics.easy_analytics.row_type.data, 'excluded': umetrics.easy_analytics.row_type.excluded}
- values = {0: umetrics.easy_analytics.row_type.excluded, 1: umetrics.easy_analytics.row_type.data, 2: umetrics.easy_analytics.row_type.column_id}
Methods inherited from Boost.Python.enum:
- __repr__(self, /)
- Return repr(self).
- __str__(self, /)
- Return str(self).
Data descriptors inherited from Boost.Python.enum:
- name
Methods inherited from builtins.int:
- __abs__(self, /)
- abs(self)
- __add__(self, value, /)
- Return self+value.
- __and__(self, value, /)
- Return self&value.
- __bool__(self, /)
- self != 0
- __ceil__(...)
- Ceiling of an Integral returns itself.
- __divmod__(self, value, /)
- Return divmod(self, value).
- __eq__(self, value, /)
- Return self==value.
- __float__(self, /)
- float(self)
- __floor__(...)
- Flooring an Integral returns itself.
- __floordiv__(self, value, /)
- Return self//value.
- __format__(...)
- default object formatter
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getnewargs__(...)
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __index__(self, /)
- Return self converted to an integer, if self is suitable for use as an index into a list.
- __int__(self, /)
- int(self)
- __invert__(self, /)
- ~self
- __le__(self, value, /)
- Return self<=value.
- __lshift__(self, value, /)
- Return self<<value.
- __lt__(self, value, /)
- Return self<value.
- __mod__(self, value, /)
- Return self%value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __neg__(self, /)
- -self
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __or__(self, value, /)
- Return self|value.
- __pos__(self, /)
- +self
- __pow__(self, value, mod=None, /)
- Return pow(self, value, mod).
- __radd__(self, value, /)
- Return value+self.
- __rand__(self, value, /)
- Return value&self.
- __rdivmod__(self, value, /)
- Return divmod(value, self).
- __rfloordiv__(self, value, /)
- Return value//self.
- __rlshift__(self, value, /)
- Return value<<self.
- __rmod__(self, value, /)
- Return value%self.
- __rmul__(self, value, /)
- Return value*self.
- __ror__(self, value, /)
- Return value|self.
- __round__(...)
- Rounding an Integral returns itself.
Rounding with an ndigits argument also returns an integer.
- __rpow__(self, value, mod=None, /)
- Return pow(value, self, mod).
- __rrshift__(self, value, /)
- Return value>>self.
- __rshift__(self, value, /)
- Return self>>value.
- __rsub__(self, value, /)
- Return value-self.
- __rtruediv__(self, value, /)
- Return value/self.
- __rxor__(self, value, /)
- Return value^self.
- __sizeof__(...)
- Returns size in memory, in bytes
- __sub__(self, value, /)
- Return self-value.
- __truediv__(self, value, /)
- Return self/value.
- __trunc__(...)
- Truncating an Integral returns itself.
- __xor__(self, value, /)
- Return self^value.
- bit_length(...)
- int.bit_length() -> int
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
- conjugate(...)
- Returns self, the complex conjugate of any int.
- from_bytes(...) from builtins.type
- int.from_bytes(bytes, byteorder, *, signed=False) -> int
Return the integer represented by the given array of bytes.
The bytes argument must be a bytes-like object (e.g. bytes or bytearray).
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument indicates whether two's complement is
used to represent the integer.
- to_bytes(...)
- int.to_bytes(length, byteorder, *, signed=False) -> bytes
Return an array of bytes representing an integer.
The integer is represented using length bytes. An OverflowError is
raised if the integer is not representable with the given number of
bytes.
The byteorder argument determines the byte order used to represent the
integer. If byteorder is 'big', the most significant byte is at the
beginning of the byte array. If byteorder is 'little', the most
significant byte is at the end of the byte array. To request the native
byte order of the host system, use `sys.byteorder' as the byte order value.
The signed keyword-only argument determines whether two's complement is
used to represent the integer. If signed is False and a negative integer
is given, an OverflowError is raised.
Data descriptors inherited from builtins.int:
- denominator
- the denominator of a rational number in lowest terms
- imag
- the imaginary part of a complex number
- numerator
- the numerator of a rational number in lowest terms
- real
- the real part of a complex number
| |