Skip to content

Replace deprecated DataFrame.append() with pd.concat() in Auto_MPG#198

Open
mirmohsin0 wants to merge 1 commit into
guipsamora:masterfrom
mirmohsin0:fix-auto-mpg-deprecations
Open

Replace deprecated DataFrame.append() with pd.concat() in Auto_MPG#198
mirmohsin0 wants to merge 1 commit into
guipsamora:masterfrom
mirmohsin0:fix-auto-mpg-deprecations

Conversation

@mirmohsin0

Copy link
Copy Markdown

Summary

This pull request updates the Auto_MPG exercise to improve compatibility with newer versions of pandas and NumPy.

Changes

  • Replaced the deprecated DataFrame.append() with pd.concat().
  • Replaced dtype='l' with dtype=int in np.random.randint().

Fixes #193

@mirmohsin0

Copy link
Copy Markdown
Author

Hi! I've opened a pull request to address this issue.

PR: #198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto_MPG Practice Feedback

1 participant