pandasIntro.md
· 202 B · Markdown
原始檔案
Pandas intro
Append is deprecated.
Use
```python
# temp_df = movies_df.append(movies_df)
dfcopy = movies_df.copy()
temp_df = pd.concat([movies_df, dfcopy], ignore_index=True)
temp_df.shape
```
Pandas intro
Append is deprecated.
Use
# temp_df = movies_df.append(movies_df)
dfcopy = movies_df.copy()
temp_df = pd.concat([movies_df, dfcopy], ignore_index=True)
temp_df.shape