TGViewer
AI, Python, Cognitive Neuroscience AI, Python, Cognitive Neuroscience @ai_python_en · 3.44K subscribers
Post #1650 628
🐼🤹‍♂️ pandas trick:
Two easy ways to reduce DataFrame memory usage:
1. Only read in columns you need
2. Use 'category' data type with categorical data

Example:
df = pd.read_csv('file.csv', usecols=['A', 'C', 'D'], dtype={'D':'category'})

#Python #DataScience

✴️ @AI_Python_EN
More from @ai_python_en
  1. Feb 10, 2026لیست کانال و گروه های ما : ▪️ گروه هوش مصنوعی: یادگیری عمیق و... https://t.me/DeepLearning…
  2. Oct 20, 2025تعریف Knowledge distillation چیه ؟ #یادگیری_عمیق #مقاله #منابع #کلاس_آموزشی #فیلم #الگوریت…
  3. Nov 3, 2024استخدام برنامه نویس جاوا (در شرکت دانش بنیان ساعیان ارتباط آینده پیشرو) * تسلط به زبان برن…
  4. Nov 3, 2024استخدام کارشناس هوش مصنوعی در حوزه پردازش تصویر (در شرکت دانش بنیان ساعیان ارتباط آینده پی…
  5. Sep 7, 2024آیا #هوش_مصنوعی با توضیح خودش بهتر یاد می گیرد؟ این #مقاله به چگونگی بهبود تعمیم مدل های ه…
  6. Sep 1, 2024گفتگو با دکتر جلیل نورمحمدی سه شنبه ۱۳ شهریور ۱۴۰۳ ساعت ۲۱:۳۰ راجب: ▪️ Machine Translation…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →