Pandas DataFrame Using Numpy Arrays #shorts #pythonforbeginners #pythontutorial

preview_player
Показать описание
With Pandas you can make data frames from Numpy arrays. All you have to do is make sure the arrays are in the correct arrangement.

In this video we'll go through a quick example of making a Pandas DataFrame from two Numpy arrays. We'll stack the two arrays side by side so that each one is a column within the new data frame.

We'll also take a quick look at filtering our data frames and filling NaNs with a replacement value.
Рекомендации по теме
Комментарии
Автор

Do you like Python shorts? What kinds of topics would you like to see more of?

make_that_work