Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
The profile information for a double type field.
Instance Attribute Summary collapse
-
#average ⇒ Float
Average of non-null values in the scanned data.
-
#max ⇒ Float
Maximum of non-null values in the scanned data.
-
#min ⇒ Float
Minimum of non-null values in the scanned data.
-
#quartiles ⇒ Array<Float>
A quartile divides the number of data points into four parts, or quarters, of more-or-less equal size.
-
#standard_deviation ⇒ Float
Standard deviation of non-null values in the scanned data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
constructor
A new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo.
1783 1784 1785 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#average ⇒ Float
Average of non-null values in the scanned data. NaN, if the field has a NaN.
Corresponds to the JSON property average
1751 1752 1753 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1751 def average @average end |
#max ⇒ Float
Maximum of non-null values in the scanned data. NaN, if the field has a NaN.
Corresponds to the JSON property max
1756 1757 1758 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1756 def max @max end |
#min ⇒ Float
Minimum of non-null values in the scanned data. NaN, if the field has a NaN.
Corresponds to the JSON property min
1761 1762 1763 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1761 def min @min end |
#quartiles ⇒ Array<Float>
A quartile divides the number of data points into four parts, or quarters, of
more-or-less equal size. Three main quartiles used are: The first quartile (Q1)
splits off the lowest 25% of data from the highest 75%. It is also known as
the lower or 25th empirical quartile, as 25% of the data is below this point.
The second quartile (Q2) is the median of a data set. So, 50% of the data lies
below this point. The third quartile (Q3) splits off the highest 25% of data
from the lowest 75%. It is known as the upper or 75th empirical quartile, as
75% of the data lies below this point. Here, the quartiles is provided as an
ordered list of quartile values for the scanned data, occurring in order Q1,
median, Q3.
Corresponds to the JSON property quartiles
1775 1776 1777 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1775 def quartiles @quartiles end |
#standard_deviation ⇒ Float
Standard deviation of non-null values in the scanned data. NaN, if the field
has a NaN.
Corresponds to the JSON property standardDeviation
1781 1782 1783 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1781 def standard_deviation @standard_deviation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1788 1789 1790 1791 1792 1793 1794 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1788 def update!(**args) @average = args[:average] if args.key?(:average) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @quartiles = args[:quartiles] if args.key?(:quartiles) @standard_deviation = args[:standard_deviation] if args.key?(:standard_deviation) end |