human
Python code to check int or float.
assistant
Here is a Python code to check int or float

import pandas as pd

def is_int(x):
  """Check if x is an integer."""
  return isinstance(x, int)

# Enter the int
x = 1

# Calling the function
print((is_int(x)))

#Example Output
# True

#Remember to inspect code for bugs.