Created
January 7, 2019 13:15
-
-
Save rimever/be770a800c2fe9162ab6b5657dd441c1 to your computer and use it in GitHub Desktop.
辞書型をDataFrameの行に追加
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key_value = {} | |
key_value['course'] = course | |
key_value['number'] = grid | |
key_value['year'] = year | |
series = pd.Series(list(key_value.values()), index=key_value.keys()) | |
df = df.append(series, ignore_index = True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment