Skip to content
Prev Previous commit
Removing stray comment
  • Loading branch information
Neeratyoy committed Mar 6, 2020
commit dc8d8aa1f0ffd772b48745008ca7ac93b3de62aa
8 changes: 2 additions & 6 deletions examples/30_extended/create_upload_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,13 +283,9 @@


############################################################################
# Dataset is a pandas sparse dataframe
# ====================================
# Dataset is a pandas dataframe with sparse columns
# =================================================

# sparse_data = coo_matrix((
# [0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
# ([0, 1, 1, 2, 2, 3, 3], [0, 1, 2, 0, 2, 0, 1])
# ))
sparse_data = coo_matrix((
[1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0],
([0, 1, 1, 2, 2, 3, 3], [0, 1, 2, 0, 2, 0, 1])
Expand Down