Now, let's perform some data manipulation steps:
- First, we will read the data in HousePrices.csv from our current working directory and create our first DataFrame for manipulation. We name the DataFrame housepricesdata, as follows:
housepricesdata = pd.read_csv("HousePrices.csv")
- Let's now take a look at our DataFrame and see how it looks:
# See first five observations from tophousepricesdata.head(5)
You might not be able to see all the rows; Jupyter will truncate some of the variables. In order to view all of the rows and columns for any output in Jupyter, execute the following commands:
# Setting options to display all rows and columns pd.options.display.max_rows = None pd.options.display.max_columns = None
- We can ...