- How have you used Python and Spark in previous projects?
- Used for data processing, ETL, machine learning, and real-time analytics. Example: optimizing large-scale data pipelines.
- How does RDD differ from DataFrame in Apache Spark?
- RDDs are low-level, immutable, and distributed objects, unstructured;
- DataFrames provide higher-level abstraction, table-like structure, and optimizations via Catalyst.
- Explain lazy evaluation in Spark and how it impacts performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put the \ffmpeg\bin\.*.exe files in the same directory | |
import os | |
from pydub import AudioSegment | |
DIR = os.path.dirname(__file__) | |
print(DIR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class MeshDestroy : MonoBehaviour | |
{ | |
private bool edgeSet = false; | |
private Vector3 edgeVertex = Vector3.zero; | |
private Vector2 edgeUV = Vector2.zero; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to Completely Remove Android Studio | |
Execute these commands from the terminal | |
rm -Rf /Applications/Android\ Studio.app | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm ~/Library/Preferences/com.google.android.studio.plist | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Logs/AndroidStudio* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class BezierCurveScript : MonoBehaviour { | |
public class BezierPath | |
{ | |
public List<Vector3> pathPoints; | |
private int segments; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using System.Collections.Generic; | |
using UnityEditor.AnimatedValues; | |
[CustomEditor(typeof(UnityEngine.Object), true, isFallback = true)] | |
[CanEditMultipleObjects] | |
public class CustomEditorBase : Editor | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// --------------------------------------------------------------- | |
// Developer: Justin Garza | |
// Date Written: 5/6/2012 | |
// Purpose: ZPL to M3U | |
// --------------------------------------------------------------- | |
//Specification: Append and display records in a address database | |
#include <iostream> | |
#include <fstream> | |
#include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub Scan_Click() | |
Call clean | |
''check for errors | |
If Dir(Me.Folder2Scan.Value & "\" & client, vbDirectory) = "" Or Len(Me.Folder2Scan.Value) = 0 Then | |
MsgBox "There seems to be something wrong with the path you've entered." & vbNewLine & "Please make sure the folder exist.", vbOKOnly, "Path Not Found" | |
Exit Sub | |
Else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Requires | |
'Microsoft ActiveX Data Objects 2.8 Library | |
Private Sub CloseConnection() | |
cn.Close | |
Set cn = Nothing | |
Set rs = Nothing | |
End Sub |
NewerOlder