GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 16-16 lines in 2 locations

practice/dash_resumable_upload.py 1 location

@@ 134-149 (lines=16) @@
131
#list1, list2 = list(dict1['df_1'].items())
132
#list1, list2 = list(dict1.get('df_'+str(1)))
133
134
def data_frame(dict_cycle, n):
135
    """Reads the dictionary of dataframes and returns dataframes for each cycle
136
137
    Parameters
138
    __________
139
    dict_cycle: Dictionary of dataframes
140
    n: cycle number
141
142
    Returns:
143
    _______
144
    Dataframe correcponding to the cycle number 
145
    """
146
    list1, list2 = (list(dict_cycle.get('cycle_'+str(n)).items()))
147
    zippedList = list(zip(list1[1], list2[1]))
148
    data  = pd.DataFrame(zippedList, columns = ['Potential' , 'Current'])
149
    return data
150
151
152
def plot_fig(dict_cycle, n):

practice/core.py 1 location

@@ 134-149 (lines=16) @@
131
#list1, list2 = list(dict1['df_1'].items())
132
#list1, list2 = list(dict1.get('df_'+str(1)))
133
134
def data_frame(dict_cycle, n):
135
    """Reads the dictionary of dataframes and returns dataframes for each cycle
136
137
    Parameters
138
    __________
139
    dict_cycle: Dictionary of dataframes
140
    n: cycle number
141
142
    Returns:
143
    _______
144
    Dataframe correcponding to the cycle number 
145
    """
146
    list1, list2 = (list(dict_cycle.get('cycle_'+str(n)).items()))
147
    zippedList = list(zip(list1[1], list2[1]))
148
    data  = pd.DataFrame(zippedList, columns = ['Potential' , 'Current'])
149
    return data
150
151
152
def plot_fig(dict_cycle, n):