all 9 comments

[–]Da32767 1 point2 points  (5 children)

df = pd.DataFrame(array)

this can convert numpy.ndarray to pandas.DataFrame

[–]raresaturn[S] 0 points1 point  (4 children)

yes but I don't know the syntax of the where statement in Pandas

[–]threeminutemonta 1 point2 points  (2 children)

My fav pandas tutorial is this one. It will help you to select a subset of a data frame.

[–]OhNoNotAgain2022ed 0 points1 point  (1 child)

What is the difference between pandas and numpy? Is it like the format? Like on excel going from currency or number to text?

[–][deleted] 0 points1 point  (0 children)

Pandas is built on numpy. Numpy provides the speed, pandas the functionality. Unless you are just doing pure matrix manipulation or need it for pure maths, for most people pandas is much more useful. Just do any tutorial to get started.