Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "code",
  5. "execution_count": 1,
  6. "metadata": {},
  7. "outputs": [],
  8. "source": [
  9. "import pandas as pd\n",
  10. "df_train = pd.read_csv('training.csv')\n",
  11. "df_train.rename(columns = {'favourites_count': 'favorites_count'}, inplace = True)"
  12. ]
  13. },
  14. {
  15. "cell_type": "code",
  16. "execution_count": null,
  17. "metadata": {},
  18. "outputs": [],
  19. "source": []
  20. }
  21. ],
  22. "metadata": {
  23. "kernelspec": {
  24. "display_name": "Python 3",
  25. "language": "python",
  26. "name": "python3"
  27. },
  28. "language_info": {
  29. "codemirror_mode": {
  30. "name": "ipython",
  31. "version": 3
  32. },
  33. "file_extension": ".py",
  34. "mimetype": "text/x-python",
  35. "name": "python",
  36. "nbconvert_exporter": "python",
  37. "pygments_lexer": "ipython3",
  38. "version": "3.6.5"
  39. }
  40. },
  41. "nbformat": 4,
  42. "nbformat_minor": 2
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement