input: Write a function to randomly sample a specified number of records from a dataset using pandas.
  assert len(sample_records("input_data.csv", 100)) == 100
  assert len(sample_records("input_data.csv", 50)) == 50
  assert len(sample_records("input_data.csv", 200)) == 200
output: import pandas as pd
  
  def sample_records(file_path, num_records):
      df = pd.read_csv(file_path)
      return df.sample(n=num_records)