The Coder's Catnip

Follow an aspiring developer's adventures in programming, data science, and machine learning. From early gaming communities to exploring new career paths, my fascination with coding eventually drew me back to computer science. Although programming seemed challenging at first, its creative possibilities continued to motivate me. Now, after returning to school, I'm fully embracing this journey. Join me as I chronicle my path as a lifelong learner – sharing, projects, mindset shifts, and resources that help me progress from student to coder. You'll find motivational highs, frustrating lows, and everything in between. My goal is to pass on tools, inspiration, and community to empower aspiring developers. Let's explore this endless world of coding together!


Data Science

Want this book for free? Click the picture of the book cover above to obtain a free PDF!

Important Pandas Operations

Basics & I/O:

  • pd.read_csv(filename): Read a comma-separated values file.
  • pd.read_excel(filename): Read an Excel file.
  • pd.read_sql(query, connection): Read from an SQL table/database
  • df.to_csv(filename): Write to a CSV file.
  • df.to_excel(filename): Write to an Excel file.
  • df.head(n): Displays the first n rows.
  • df.tail(n): Displays the last n rows.
  • df.describe(): Summary statistics.

Data Creation:

  • pd.DataFrame(data): Create a DataFrame.
  • pd.Series(data): Create a Series.

Selection:

  • df[col]: Select column by column name.
  • df[[col1, col2]]: Select multiple columns.

About Me

I’m always on the lookout for fresh learning materials. Whether it’s blogging, data science, productivity, personal growth, AI, or coding. If that piques your interest, sign up for my Newsletter and connect with me on social media to stay updated!
(ノ◕ヮ◕)ノ*:・゚✧


Newsletter

Blog at WordPress.com.