/usr/local/lib64/python3.6/site-packages/pandas/tests/frame
NameSizeModeActions
apply/-0755rm
methods/-0755rm
__pycache__/-0755rm
common.py11190644editdlrm
conftest.py88550644editdlrm
test_alter_axes.py88010644editdlrm
test_analytics.py465570644editdlrm
test_api.py195890644editdlrm
test_arithmetic.py549990644editdlrm
test_axis_select_reindex.py183200644editdlrm
test_block_internals.py231940644editdlrm
test_combine_concat.py86070644editdlrm
test_constructors.py1006070644editdlrm
test_cumulative.py42280644editdlrm
test_dtypes.py118120644editdlrm
test_join.py87790644editdlrm
test_missing.py256160644editdlrm
test_nonunique_indexes.py175010644editdlrm
test_operators.py90680644editdlrm
test_period.py11840644editdlrm
test_query_eval.py475680644editdlrm
test_repr_info.py67290644editdlrm
test_reshape.py474820644editdlrm
test_sort_values_level_as_str.py25500644editdlrm
test_subclass.py235730644editdlrm
test_timeseries.py22180644editdlrm
test_timezones.py61580644editdlrm
test_to_csv.py481820644editdlrm
test_validate.py10950644editdlrm
__init__.py00644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/pandas/tests/frame/common.py (1119B)
def _check_mixed_float(df, dtype=None): # float16 are most likely to be upcasted to float32 dtypes = dict(A="float32", B="float32", C="float16", D="float64") if isinstance(dtype, str): dtypes = {k: dtype for k, v in dtypes.items()} elif isinstance(dtype, dict): dtypes.update(dtype) if dtypes.get("A"): assert df.dtypes["A"] == dtypes["A"] if dtypes.get("B"): assert df.dtypes["B"] == dtypes["B"] if dtypes.get("C"): assert df.dtypes["C"] == dtypes["C"] if dtypes.get("D"): assert df.dtypes["D"] == dtypes["D"] def _check_mixed_int(df, dtype=None): dtypes = dict(A="int32", B="uint64", C="uint8", D="int64") if isinstance(dtype, str): dtypes = {k: dtype for k, v in dtypes.items()} elif isinstance(dtype, dict): dtypes.update(dtype) if dtypes.get("A"): assert df.dtypes["A"] == dtypes["A"] if dtypes.get("B"): assert df.dtypes["B"] == dtypes["B"] if dtypes.get("C"): assert df.dtypes["C"] == dtypes["C"] if dtypes.get("D"): assert df.dtypes["D"] == dtypes["D"]