June 16, 2023, 9:51 a.m. | Reuven Lerner

Reuven Lerner www.youtube.com

Why does Pandas change the dtype when you set something to NaN? What's pd.NA, and how is it different from the traditional np.NaN? And how can we enforce dtypes, rather than have them change automatically/

In this video, I explain what happens in NumPy, how Pandas is different, and how Pandas is changing to use nullable integer and string types. You'll also see how you can take advantage of these new types in your own data projects.

The Jupyter notebook …

change nan numpy pandas set types understanding video

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne