Skip to content

Commit 424ec07

Browse files
committed
lint
1 parent 779a7c9 commit 424ec07

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

_unittests/ut_df/test_dataframe_io_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# pylint: disable=E1101
23
"""
34
@brief test log(time=4s)
45
"""

pandas_streaming/df/connex_split.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ def do_connex_components(dfrows, local_groups, kb, sib):
328328
grsum = dfids[[name, one]].groupby(name, as_index=False).sum()
329329
if fLOG:
330330
for g in groups:
331-
fLOG(f"[train_test_connex_split] #nb in '{g}': {len(set(dfids[g]))}")
331+
fLOG(
332+
f"[train_test_connex_split] #nb in '{g}': {len(set(dfids[g]))}")
332333
fLOG(
333334
f"[train_test_connex_split] #connex {grsum.shape[0]}/{dfids.shape[0]}")
334335
if grsum.shape[0] <= 1:
@@ -354,7 +355,8 @@ def do_connex_components(dfrows, local_groups, kb, sib):
354355
"={2}/{3}".format(k, v, cum, len(elements)))
355356

356357
# Most important component
357-
fLOG(f'[train_test_connex_split] first row of the biggest component {maxc}')
358+
fLOG(
359+
f'[train_test_connex_split] first row of the biggest component {maxc}')
358360
tdf = dfids[dfids[name] == maxc[0]]
359361
fLOG(f'[train_test_connex_split] \n{tdf.head(n=10)}')
360362

pandas_streaming/df/dataframe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# pylint: disable=W0102
23
"""
34
@file
45
@brief Defines a streaming dataframe.

0 commit comments

Comments
 (0)