MCPcopy
hub / github.com/CalculatedContent/WeightWatcher / add_column

Method add_column

weightwatcher/weightwatcher.py:175–178  ·  view source on GitHub ↗

Add column to the details dataframe

(self, name, value)

Source from the content-addressed store, hash-verified

173 self.make_weights()
174
175 def add_column(self, name, value):
176 """Add column to the details dataframe"""
177 self.columns.append(name)
178 self.__dict__[name] = value
179
180 def get_value(self, name):
181 """Get value of a column"""

Callers 9

ww_slice_iter_Method · 0.80
ww_intralayer_iter_Method · 0.80
apply_esdMethod · 0.80
apply_random_esdMethod · 0.80
apply_fit_powerlawMethod · 0.80
describeMethod · 0.80
apply_norm_metricsMethod · 0.80
apply_mp_fitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected