title: Pandas error "has no attribute sort_values" sorting a dataframe in Python
body: <p>I am using Panda version is 1.3.5 and I am running into an error when I am trying to use the <code>sort_values</code> function.</p>
  <p><strong>code</strong></p>
  <pre><code>founded_edvideos_list = find_matching_posts_forupdate(video_id_list, stop_at_page=stop_at_page)
  founded_edvideos_df = pd.DataFrame(founded_edvideos_list)
  founded_edvideos_df = pd.sort_values(by=['post_id'], ascending=True)
  </code></pre>
  <p>The last line gives an error</p>
  <p><code>getattr__ raise AttributeError(f&quot;module 'pandas' has no attribute '{name}'&quot;) AttributeError: module 'pandas' has no attribute 'sort_values'</code></p>
  <p>When I print the dataframe, it looks like the following, so I should be able to use the <code>post_id</code>.  I have checked the documentation and can't seem to find my issue.</p>
  <p><strong>dataframe</strong></p>
  <pre><code>post_id                                         title  ...      vid_type vid_record
  0    12994              Trailblazer Melba Pattillo Beals  ...  [6923, 6926]     [6929]
  1    12992                         Trailblazer Asha Prem  ...        [6923]     [6929]
  2    12894  Trailblazers Melisa Mujanovic and Nina Nukic  ...  [6923, 6926]     [6929]
  </code></pre>