BUG: Pandas does not recognize NaN values on M1 macbook pro
- [Y] I have checked that this issue has not already been reported.

- [Y] I have confirmed this bug exists on the latest version of pandas.


---

**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.

#### Code Sample, a copy-pastable example

```python
# Your code here
import pandas as pd

data = [['tom', 20], ['mike', 30], ['julie', float('nan')]]
df = pd.DataFrame(data, columns = ['Name', 'Age'])

print(df) # can see that there is a NaN value in the dataframe

print(df.info())     # says that there are 3 non-null counts for column 'Age' instead of 2
print(df.isnull())   # says that the age value in the third row is not null 

# below does the same process but with np.nan instead of float('nan'), and the same result is produced
import numpy as np
data = [['tom', 20], ['mike', 30], ['julie', np.nan]]
df = pd.DataFrame(data, columns = ['Name', 'Age'])

print(df) # can see that there is a NaN value in the dataframe

print(df.info())     # says that there are 3 non-null counts for column 'Age' instead of 2
print(df.isnull())   # says that the age value in the third row is not null 
```

#### Problem description

df.info() should output 2 non-null count for column 'Age' since a NaN value has been deliberately placed for one of the elements however it outputs 3 non-null count for column 'Age'.
Furthermore, df.isnull() method should output "True" for the third element in column 'Age' however it outputs "False". 

#### Expected Output

df.info():

Data columns (total 2 columns):
   Column  Non-Null Count  Dtype  
 0   Name    3 non-null      object 
 1   Age        **2** non-null      float64
dtypes: float64(1), object(1)

AND

df.isnull():
    Name    Age
0  False  False
1  False  False
2  False  **TRUE**


#### Output of ``pd.show_versions()``

<details>

>>> pd.show_versions()

INSTALLED VERSIONS
------------------
commit           : 2cb96529396d93b46abab7bbc73a208e708c642e
python           : 3.8.10.final.0
python-bits      : 64
OS               : Darwin
OS-release       : 20.4.0
Version          : Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41 PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101
machine          : arm64
processor        : arm
byteorder        : little
LC_ALL           : None
LANG             : en_US.UTF-8
LOCALE           : en_US.UTF-8

pandas           : 1.2.4
numpy            : 1.18.5
pytz             : 2021.1
dateutil         : 2.8.1
pip              : 20.2.4
setuptools       : 57.0.0
Cython           : None
pytest           : None
hypothesis       : None
sphinx           : None
blosc            : None
feather          : None
xlsxwriter       : None
lxml.etree       : None
html5lib         : None
pymysql          : None
psycopg2         : None
jinja2           : 3.0.1
IPython          : 7.24.1
pandas_datareader: None
bs4              : None
bottleneck       : None
fsspec           : None
fastparquet      : None
gcsfs            : None
matplotlib       : 3.4.2
numexpr          : None
odfpy            : None
openpyxl         : None
pandas_gbq       : None
pyarrow          : None
pyxlsb           : None
s3fs             : None
scipy            : 1.6.3
sqlalchemy       : None
tables           : None
tabulate         : None
xarray           : None
xlrd             : None
xlwt             : None
numba            : None

</details>
