code stringlengths 3 6.57k |
|---|
ax1._shared_y_axes.joined(ax1, ax2) |
ax2._shared_y_axes.joined(ax1, ax2) |
test_axis_share_y(self) |
df.hist(column="height", by=df.gender, sharey=True) |
ax1._shared_y_axes.joined(ax1, ax2) |
ax2._shared_y_axes.joined(ax1, ax2) |
ax1._shared_x_axes.joined(ax1, ax2) |
ax2._shared_x_axes.joined(ax1, ax2) |
test_axis_share_xy(self) |
df.hist(column="height", by=df.gender, sharex=True, sharey=True) |
ax1._shared_x_axes.joined(ax1, ax2) |
ax2._shared_x_axes.joined(ax1, ax2) |
ax1._shared_y_axes.joined(ax1, ax2) |
ax2._shared_y_axes.joined(ax1, ax2) |
test_histtype_argument(self, histtype, expected) |
DataFrame(np.random.randint(1, 10, size=(100, 2) |
df.hist(by="a", histtype=histtype) |
self._check_patches_all_filled(ax, filled=expected) |
BillDingBizOrderSum(object) |
__init__(self) |
biz_date(self) |
biz_date(self, value) |
expenses(self) |
expenses(self, value) |
income(self) |
income(self, value) |
to_alipay_dict(self) |
dict() |
hasattr(self.biz_date, 'to_alipay_dict') |
self.biz_date.to_alipay_dict() |
hasattr(self.expenses, 'to_alipay_dict') |
self.expenses.to_alipay_dict() |
hasattr(self.income, 'to_alipay_dict') |
self.income.to_alipay_dict() |
from_alipay_dict(d) |
BillDingBizOrderSum() |
__init__(self) |
add(self, a, b) |
divide(self, a, b) |
root(a) |
math.sqrt() |
greetings(name) |
print('Hello ' + name + '!') |
goodbye() |
print('Goodbye!') |
myCalculator.subtract() |
execfile('console.py') |
exec('console.py') |
Foundation (ASF) |
logging.getLogger(__name__) |
pathlib.Path(os.path.dirname(__file__) |
os.path.getcwd() |
not (API_SERVER_DIR / MODEL_LIBRARY_FORMAT_RELPATH) |
exists() |
open(BOARDS) |
json.load(boards) |
FileNotFoundError(f"Board file {{{BOARDS}}} does not exist.") |
check_call(cmd_args, *args, **kwargs) |
_LOG.info("run%s: %s", cwd_str, " ".join(shlex.quote(a) |
subprocess.check_call(cmd_args, *args, **kwargs) |
re.compile(r"(?P<name>[^:]+) |
in ("1", "ON", "YES", "TRUE", "Y") |
in ("0", "OFF", "NO", "FALSE", "N", "IGNORE", "NOTFOUND", "") |
CMakeCache(collections.abc.Mapping) |
__init__(self, path) |
__iter__(self) |
iter(self._dict) |
__getitem__(self, key) |
self._read_cmake_cache() |
__len__(self) |
len(self._dict) |
_read_cmake_cache(self) |
collections.OrderedDict() |
open(self._path, encoding="utf-8") |
CACHE_ENTRY_RE.match(line.rstrip("\n") |
m.group("type") |
m.group("value") |
upper() |
m.group("value") |
m.group("name") |
CMakeCache(BUILD_DIR / "CMakeCache.txt") |
BoardError(Exception) |
opened (i.e. missing /dev nodes, etc) |
BoardAutodetectFailed(Exception) |
_get_flash_runner() |
CMAKE_CACHE.get("ZEPHYR_BOARD_FLASH_RUNNER") |
open(CMAKE_CACHE["ZEPHYR_RUNNERS_YAML"]) |
yaml.load(f, Loader=yaml.FullLoader) |
_get_device_args(options) |
_get_flash_runner() |
_get_nrf_device_args(options) |
_get_openocd_device_args(options) |
openocd_serial(options) |
usb.core.find(find_all=True, **find_kw) |
serials.append(b.serial_number) |
len(serials) |
BoardAutodetectFailed(f"No attached USB devices matching: {find_kw!r}") |
serials.sort() |
_LOG.debug("zephyr openocd driver: autodetected serial %s", serials[0]) |
_get_openocd_device_args(options) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.