Files
ModelTrainingPython/FC_ML_Tool/Check.py

9 lines
158 B
Python
Raw Normal View History

2025-10-17 14:59:16 +08:00
import pandas as pd
def is_number(value):
try:
pd.to_numeric(value)
return True
except (ValueError, TypeError):
return False