You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say we have a 1D numpy array of shape (4,). We initialize SparseFrame and pd.DataFrame with it. Both will have shape (4,1). Underlying numpy array of pandas data frame will also have shape (4,1), but sparsity's toarray() method will give a 1D array of shape (4,).
Say we have a 1D numpy array of shape
(4,)
. We initialize SparseFrame and pd.DataFrame with it. Both will have shape(4,1)
. Underlying numpy array of pandas data frame will also have shape(4,1)
, but sparsity'stoarray()
method will give a 1D array of shape(4,)
.This leads to problems when multiplying a SparseFrame by another one-column SparseFrame.
The text was updated successfully, but these errors were encountered: