code
stringlengths
3
6.57k
self.__proxy__.mean()
std(self)
sqrt(self.var()
var(self)
cython_context()
self.__proxy__.var()
num_missing(self)
missing (i.e. None)
cython_context()
int(self.__proxy__.num_undefined()
num_unique(self)
cython_context()
int(self.__proxy__.num_unique()
frequent_items(self)
cython_context()
self.__proxy__.frequent_items()
quantile(self, quantile_val)
cython_context()
self.__proxy__.get_quantile(quantile_val)
frequency_count(self, element)
cython_context()
int(self.__proxy__.frequency_count(element)
sketch_ready(self)
False (default)
cython_context()
self.__proxy__.sketch_ready()
num_elements_processed(self)
False (default)
cython_context()
self.__proxy__.num_elements_processed()
element_length_summary(self)
turicreate.SArray([[j for j in range(i)
range(1,1000)
sa.summary()
element_length_summary()
cython_context()
Sketch(_proxy = self.__proxy__.element_length_summary()
dict_key_summary(self)
turicreate.SArray([{'I':1, 'love': 2}, {'nature':3, 'beauty':4}])
sa.summary()
dict_key_summary()
cython_context()
Sketch(_proxy = self.__proxy__.dict_key_summary()
dict_value_summary(self)
turicreate.SArray([{'I':1, 'love': 2}, {'nature':3, 'beauty':4}])
sa.summary()
dict_value_summary()
cython_context()
Sketch(_proxy = self.__proxy__.dict_value_summary()
element_summary(self)
vector(array)
turicreate.SArray([[1,2,3], [4,5]])
sa.summary()
element_summary()
cython_context()
Sketch(_proxy = self.__proxy__.element_summary()
element_sub_sketch(self, keys = None)
summary()
key(index)
key(index)
turicreate.SArray([{'a':1, 'b':2}, {'a':4, 'd':1}])
sa.summary(sub_sketch_keys=['a','b'])
s.element_sub_sketch(['a'])
isinstance(keys, list)
set([type(i)
if (len(value_types)
ValueError("All keys should have the same type.")
cython_context()
self.__proxy__.element_sub_sketch(keys)
KeyError("Cannot retrieve element sub sketch for key '" + str(key)
Sketch(_proxy = ret_sketches[key])
cancel(self)
sa.summary(array, background=True)
s.cancel()
cython_context()
self.__proxy__.cancel()
urljoin('file:', pathname2url(abspath('old.yaml')
urljoin('file:', pathname2url(abspath('new.yaml')
print('Calling the post endpoint with the old client: Succeeded')
old_client.endpoint.post_endpoint(body=object_to_send)
print('Calling the post endpoint with the old client: Failed')
new_client.endpoint.post_endpoint(body=object_to_send)
RuntimeError('An error was expected')
hondana.Client(username="my username", password="my password")
main()
client.view_manga("...")
upload_session.upload_images(files)
upload_session.commit()
alternative_main()
upload_session._check_for_session()
upload_session.upload_images(images)
upload_session.commit()
other_alternative_main()
asyncio.run(main()
waterOverflow(self, K, R, C)
table.append([0]*(i+2)
range(i+1)
int(table[R-1][C-1])
int(table[R-1][C-1])
round(table[R-1][C-1], 6)