title: How to add random points in between the given points?
body: <p>I have data points as dataframe just like represented in figure1</p>
  
  <p>sample data</p>
  
  <pre><code>df= 
  74  34  
  74.5    34.5    
  75  34.5    
  75  34  
  74.5    34  
  74  34.5    
  76  34  
  76  34.5    
  74.5    34  
  74  34.5    
  75.5    34.5    
  75.5    34  
  75  34  
  75  34.5    
  </code></pre>
  
  <p>I want to add random points in between those points but keep the shape of the initial points.
  Desired output will be somehow like in figure 2 (black dots represent the random points.And the red line represent the boundary) </p>
  
  <p>~Any suggestions? I am looking for a general solution since the geometry of the outer boundary will change in problem</p>
  
  <p><a href="https://i.stack.imgur.com/U9r8c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U9r8c.png" alt="Figure1_input"></a></p>
  
  <p><a href="https://i.stack.imgur.com/B2ml1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B2ml1.png" alt="Figure2_Desired_output"></a></p>