code: def test_dates_homogeneous_na():
      recs = {
          "d": [neo4j.time.Date(2020, 10, 20), None],
          "dt": [neo4j.time.DateTime(2020, 10, 20, 3, 4, 5), None],
          "t": [neo4j.time.Time(10, 20, 30), None],
          "dur": [neo4j.time.Duration(1, 3, 2), None],
      }
      df = pd.DataFrame(recs)
      df2 = neo_df_to_pd_df(df)
      assert df2.dtypes.to_dict() == {
          "d": "datetime64[ns]",
          "dt": "datetime64[ns]",
          "t": "timedelta64[ns]",
          "dur": "object",
      }
      d = df2.to_dict(orient="records")[0]
      assert d == {
          "d": dt.datetime(2020, 10, 20),
          "dt": dt.datetime(2020, 10, 20, 3, 4, 5),
          "t": pd.to_timedelta("10:20:30"),
          "dur": "P1Y3M14D",
      }
      assert df2.to_dict(orient="records")[1] == {
          "d": pd.NaT,
          "dt": pd.NaT,
          "t": pd.NaT,
          "dur": None,
      }
      pa.Table.from_pandas(df2)
  
file_path: pygraphistry/graphistry/tests/test_bolt_util.py
imports: import datetime, graphistry, neo4j, os, numpy, pandas, pyarrow, pytest
  from graphistry.bolt_util import neo_df_to_pd_df, node_id_key, node_type_key, start_node_id_key, end_node_id_key, relationship_id_key, relationship_type_key
label_desc: Use image node_id 4 for calling a global function with example usage: test_dates_homogeneous_na() without return types