The ravel() function

The ravel() function flattens out a series into a one-dimensional array. It is fundamentally similar to the numpy.ravel function. The ravel function cannot be applied on DataFrames:

In: sample_df["Wins"].ravel()
Out: array([62, 38, 26, 6, 5], dtype=int64)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset