Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
No copy
  • Loading branch information
HyukjinKwon committed Jun 22, 2017
commit 6702ad131fe0c982b38ae5a0d55e38a9bd604353
2 changes: 1 addition & 1 deletion python/pyspark/sql/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ def toPandas(self):
pdf = pd.DataFrame.from_records(self.collect(), columns=self.columns)

for f, t in dtype.items():
pdf[f] = pdf[f].astype(t)
pdf[f] = pdf[f].astype(t, copy=False)
return pdf

##########################################################################################
Expand Down