Skip to content

Commit 7b6e793

Browse files
authored
Resolve conflict with iterator variables
1 parent 85a2af7 commit 7b6e793

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/frame.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -6609,10 +6609,10 @@ def get_dtype(dataframe, column):
66096609
if isinstance(result, Series):
66106610
results = np.append(results, result.values)
66116611
else:
6612-
for i in range(result.shape[0], results.shape[0]):
6613-
result.loc[i, :] = np.nan
6614-
for i in range(results.shape[0], result.shape[0]):
6615-
results.loc[i, :] = np.nan
6612+
for k in range(result.shape[0], results.shape[0]):
6613+
result.loc[k, :] = np.nan
6614+
for k in range(results.shape[0], result.shape[0]):
6615+
results.loc[k, :] = np.nan
66166616
results = pandas.concat([results, result], axis=1)
66176617

66186618
if isinstance(result, Series):

0 commit comments

Comments
 (0)