Nov-23-2022, 12:15 AM
Hey, I am learning some numpy, matplotlib and pandas stuff.
And I wondered about some angle brackets in the output of this code (housing is a pandas dataframe):
Thanks a lot.
And I wondered about some angle brackets in the output of this code (housing is a pandas dataframe):
%matplotlib inline import matplotlib.pyplot as plt hist_diagram = housing.hist(bins=50, figsize=(20, 15)) print(hist_diagram)The output is:
Output:[[<AxesSubplot:title={'center':'longitude'}>
<AxesSubplot:title={'center':'latitude'}>
<AxesSubplot:title={'center':'housing_median_age'}>]
[<AxesSubplot:title={'center':'total_rooms'}>
<AxesSubplot:title={'center':'total_bedrooms'}>
<AxesSubplot:title={'center':'population'}>]
[<AxesSubplot:title={'center':'households'}>
<AxesSubplot:title={'center':'median_income'}>
<AxesSubplot:title={'center':'median_house_value'}>]]
Can you tell me, what that angle brackets mean?Thanks a lot.