Files
ModelTrainingPython/FC_ML_Tool/Check.py
2025-10-17 14:59:16 +08:00

9 lines
158 B
Python

import pandas as pd
def is_number(value):
try:
pd.to_numeric(value)
return True
except (ValueError, TypeError):
return False