Vivarium · Layer 1 · Pyodide

Reproducing pandas-dev/pandas#56679

pd.Series([]) returns dtype object, but pd.DataFrame({'a': []})['a'] returns dtype float64. The two constructors should produce a consistent dtype for an empty input.

Verdict

Loading Pyodide runtime…

Reproduction script

Output

(running)