DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
set an index to a dataframe from another dataframe
df2 = pd.DataFrame(index=df1.index)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#set
#index
#dataframe
#dataframe
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit